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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange) Write the headers to the response.
- 
Field Details- 
EXPIRES_VALUEThe value for expires value- See Also:
 
- 
PRAGMA_VALUEThe value for pragma value- See Also:
 
- 
CACHE_CONTRTOL_VALUEThe value for cache control value- See Also:
 
 
- 
- 
Constructor Details- 
CacheControlServerHttpHeadersWriterpublic CacheControlServerHttpHeadersWriter()
 
- 
- 
Method Details- 
writeHttpHeaderspublic 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 interface- ServerHttpHeadersWriter
- Returns:
- A Mono which is returned to the Supplierof theReactiveHttpOutputMessage.beforeCommit(Supplier).
 
 
-