public final class XContentTypeOptionsHeaderWriter extends StaticHeadersWriter
StaticHeadersWriter that inserts headers to prevent content
sniffing. Specifically the following headers are set:
| Constructor and Description |
|---|
XContentTypeOptionsHeaderWriter()
Creates a new instance
|