Class HeadersConfigurer.CacheControlConfig
java.lang.Object
org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.CacheControlConfig
- Enclosing class:
- HeadersConfigurer<H extends HttpSecurityBuilder<H>>
-
Method Details
-
disable
Disables Cache Control- Returns:
- the
HeadersConfigurer
for additional configuration
-
and
Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0. UseHeadersConfigurer.cacheControl(Customizer)
orcacheControl(Customizer.withDefaults())
to stick with defaults. See the documentation for more details.Allows completing configuration of Cache Control and continuing configuration of headers.- Returns:
- the
HeadersConfigurer
for additional configuration
-