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