public class CacheControlServerHttpHeadersWriter extends java.lang.Object implements ServerHttpHeadersWriter
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 |
---|
CacheControlServerHttpHeadersWriter() |
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)
ServerHttpHeadersWriter
writeHttpHeaders
in interface ServerHttpHeadersWriter
Supplier
of the
ReactiveHttpOutputMessage.beforeCommit(Supplier)
.