public class CacheControlHttpHeadersWriter extends java.lang.Object implements HttpHeadersWriter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CACHE_CONTRTOL_VALUE
The value for cache control value
|
static java.lang.String |
EXPIRES_VALUE
The value for expires value
|
static java.lang.String |
PRAGMA_VALUE
The value for pragma value
|
Constructor and Description |
---|
CacheControlHttpHeadersWriter() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
Write the headers to the response.
|
public static final java.lang.String EXPIRES_VALUE
public static final java.lang.String PRAGMA_VALUE
public static final java.lang.String CACHE_CONTRTOL_VALUE
public reactor.core.publisher.Mono<java.lang.Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
HttpHeadersWriter
writeHttpHeaders
in interface HttpHeadersWriter
Supplier
of the
ReactiveHttpOutputMessage.beforeCommit(Supplier)
.