- frameOptions
- and
- cacheControl
Allows customizing the CacheControlHeadersWriter. Specifically it adds the
following headers: * Cach
- disable
- addHeaderWriter
Adds a HeaderWriter instance
- httpStrictTransportSecurity
Allows customizing the HstsHeaderWriter which provides support for HTTP Strict
Transport Security (H
- contentSecurityPolicy
Allows configuration for Content Security Policy (CSP) Level 2
[https://www.w3.org/TR/CSP2/].
Cal
- <init>
Creates a new instance
- addIfNotNull
- getHeaderWriters
Gets the HeaderWriter instances and possibly initializes with the defaults.
- postProcess
- xssProtection
Note this is not comprehensive XSS protection! Allows customizing the
XXssProtectionHeaderWriter whi