public class XContentTypeOptionsServerHttpHeadersWriter extends java.lang.Object implements ServerHttpHeadersWriter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NOSNIFF |
static java.lang.String |
X_CONTENT_OPTIONS |
| Constructor and Description |
|---|
XContentTypeOptionsServerHttpHeadersWriter() |
| 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 X_CONTENT_OPTIONS
public static final java.lang.String NOSNIFF
public XContentTypeOptionsServerHttpHeadersWriter()
public reactor.core.publisher.Mono<java.lang.Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
ServerHttpHeadersWriterwriteHttpHeaders in interface ServerHttpHeadersWriterSupplier of the
ReactiveHttpOutputMessage.beforeCommit(Supplier).