クラスの使用
org.springframework.http.CacheControl
パッケージ
説明
クライアント / サーバー側 HTTP の基本的な抽象化が含まれています。
WebTestClient
を介した Spring WebFlux サーバーエンドポイントのテストのサポート。Spring WebFlux 構成インフラストラクチャ。
Spring のリアクティブ環境用の関数 Web フレームワークを構成する型を提供します。
静的リソースを提供するためのサポートクラス。
Spring MVC のアノテーションベースのセットアップ。
Spring のサーブレット環境用の関数 Web フレームワークを構成する型を提供します。
Spring に付属するサーブレット MVC フレームワークの標準コントローラー実装。
Spring の Web MVC フレームワークのサポートクラス。
org.springframework.http 内の CacheControl 使用
修飾子と型メソッド説明CacheControl.cachePrivate()
"private" ディレクティブを追加します。CacheControl.cachePublic()
"public" ディレクティブを追加します。static CacheControl
CacheControl.empty()
空のディレクティブを返します。CacheControl.immutable()
「不変」ディレクティブを追加します。static CacheControl
CacheControl.maxAge
(long maxAge, TimeUnitSE unit) "max-age =" ディレクティブを追加します。static CacheControl
CacheControl.maxAge
(DurationSE maxAge) "max-age =" ディレクティブを追加します。CacheControl.mustRevalidate()
"must-revalidate" ディレクティブを追加します。static CacheControl
CacheControl.noCache()
"no-cache" ディレクティブを追加します。static CacheControl
CacheControl.noStore()
"no-store" ディレクティブを追加します。CacheControl.noTransform()
"no-transform" ディレクティブを追加します。CacheControl.proxyRevalidate()
"proxy-revalidate" ディレクティブを追加します。CacheControl.sMaxAge
(long sMaxAge, TimeUnitSE unit) "s-maxage" ディレクティブを追加します。CacheControl.sMaxAge
(DurationSE sMaxAge) "s-maxage" ディレクティブを追加します。CacheControl.staleIfError
(long staleIfError, TimeUnitSE unit) "stale-if-error" ディレクティブを追加します。CacheControl.staleIfError
(DurationSE staleIfError) "stale-if-error" ディレクティブを追加します。CacheControl.staleWhileRevalidate
(long staleWhileRevalidate, TimeUnitSE unit) "stale-while-revalidate" ディレクティブを追加します。CacheControl.staleWhileRevalidate
(DurationSE staleWhileRevalidate) "stale-while-revalidate" ディレクティブを追加します。修飾子と型メソッド説明ResponseEntity.HeadersBuilder.cacheControl
(CacheControl cacheControl) HTTP 1.1Cache-Control
ヘッダーで指定されているように、リソースのキャッシュディレクティブを設定します。void
HttpHeaders.setCacheControl
(CacheControl cacheControl) 設定されたCacheControl
インスタンスをCache-Control
ヘッダーの新しい値として設定します。org.springframework.test.web.reactive.server 内の CacheControl 使用
修飾子と型メソッド説明HeaderAssertions.cacheControl
(CacheControl cacheControl) 指定された値を持つ "Cache-Control" ヘッダーが必要です。org.springframework.web.reactive.config 内の CacheControl 使用
修飾子と型メソッド説明ResourceHandlerRegistration.setCacheControl
(CacheControl cacheControl) リソースハンドラーが使用するCacheControl
を指定します。org.springframework.web.reactive.function.server 内の CacheControl 使用
修飾子と型メソッド説明EntityResponse.Builder.cacheControl
(CacheControl cacheControl) HTTP 1.1Cache-Control
ヘッダーで指定されているように、リソースのキャッシュディレクティブを設定します。ServerResponse.HeadersBuilder.cacheControl
(CacheControl cacheControl) HTTP 1.1Cache-Control
ヘッダーで指定されているように、リソースのキャッシュディレクティブを設定します。org.springframework.web.reactive.resource 内の CacheControl 使用
修飾子と型メソッド説明ResourceWebHandler.getCacheControl()
CacheControl
インスタンスを返して、Cache-Control HTTP レスポンスヘッダーを作成します。修飾子と型メソッド説明void
ResourceWebHandler.setCacheControl
(CacheControl cacheControl) CacheControl
インスタンスを設定して、Cache-Control HTTP レスポンスヘッダーを構築します。org.springframework.web.servlet.config.annotation 内の CacheControl 使用
修飾子と型メソッド説明ResourceHandlerRegistration.setCacheControl
(CacheControl cacheControl) リソースハンドラーが使用するCacheControl
を指定します。org.springframework.web.servlet.function 内の CacheControl 使用
修飾子と型メソッド説明EntityResponse.Builder.cacheControl
(CacheControl cacheControl) HTTP 1.1Cache-Control
ヘッダーで指定されているように、リソースのキャッシュディレクティブを設定します。ServerResponse.HeadersBuilder.cacheControl
(CacheControl cacheControl) HTTP 1.1Cache-Control
ヘッダーで指定されているように、リソースのキャッシュディレクティブを設定します。org.springframework.web.servlet.mvc 内の CacheControl 使用
修飾子と型メソッド説明protected CacheControl
WebContentInterceptor.lookupCacheControl
(StringSE lookupPath) 指定された文字列 lookupPath のCacheControl
インスタンスを検索します。protected CacheControl
WebContentInterceptor.lookupCacheControl
(PathContainer path) 指定された解析済みpath
のCacheControl
インスタンスを検索します。修飾子と型メソッド説明void
WebContentInterceptor.addCacheMapping
(CacheControl cacheControl, StringSE... paths) 特定の URL パスを特定のCacheControl
にマップします。org.springframework.web.servlet.support 内の CacheControl 使用
修飾子と型メソッド説明final CacheControl
WebContentGenerator.getCacheControl()
Cache-Control HTTP レスポンスヘッダーを作成するCacheControl
インスタンスを取得します。修飾子と型メソッド説明protected final void
WebContentGenerator.applyCacheControl
(HttpServletResponseEE response, CacheControl cacheControl) 指定された設定に従って HTTP Cache-Control ヘッダーを設定します。final void
WebContentGenerator.setCacheControl
(CacheControl cacheControl) CacheControl
インスタンスを設定して、Cache-Control HTTP レスポンスヘッダーを構築します。