Class CacheControlServerHttpHeadersWriter
java.lang.Object
org.springframework.security.web.server.header.CacheControlServerHttpHeadersWriter
- All Implemented Interfaces:
 ServerHttpHeadersWriter
Writes cache control related headers.
 
Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0
- Since:
 - 5.0
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange) Write the headers to the response. 
- 
Field Details
- 
EXPIRES_VALUE
The value for expires value- See Also:
 
 - 
PRAGMA_VALUE
The value for pragma value- See Also:
 
 - 
CACHE_CONTRTOL_VALUE
The value for cache control value- See Also:
 
 
 - 
 - 
Constructor Details
- 
CacheControlServerHttpHeadersWriter
public CacheControlServerHttpHeadersWriter() 
 - 
 - 
Method Details
- 
writeHttpHeaders
public reactor.core.publisher.Mono<Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange) Description copied from interface:ServerHttpHeadersWriterWrite the headers to the response.- Specified by:
 writeHttpHeadersin interfaceServerHttpHeadersWriter- Returns:
 - A Mono which is returned to the 
Supplierof theReactiveHttpOutputMessage.beforeCommit(Supplier). 
 
 -