public class XContentTypeOptionsHttpHeadersWriter extends java.lang.Object implements HttpHeadersWriter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NOSNIFF |
static java.lang.String |
X_CONTENT_OPTIONS |
Constructor and Description |
---|
XContentTypeOptionsHttpHeadersWriter() |
Modifier and Type | Method and Description |
---|---|
<any> |
writeHttpHeaders(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 XContentTypeOptionsHttpHeadersWriter()
public <any> writeHttpHeaders(ServerWebExchange exchange)
HttpHeadersWriter
writeHttpHeaders
in interface HttpHeadersWriter
Supplier
of the
ServerHttpResponse#beforeCommit(Supplier)
.