Modifier and Type | Method and Description |
---|---|
HeadersConfigurer<H> |
HeadersConfigurer.addHeaderWriter(HeaderWriter headerWriter)
Adds a
HeaderWriter instance |
Constructor and Description |
---|
HeaderWriterFilter(List<HeaderWriter> headerWriters)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheControlHeadersWriter
A
StaticHeadersWriter that inserts headers to prevent caching. |
class |
DelegatingRequestMatcherHeaderWriter
Delegates to the provided
HeaderWriter when
RequestMatcher.matches(HttpServletRequest) returns true. |
class |
HstsHeaderWriter
Provides support for HTTP Strict
Transport Security (HSTS).
|
class |
StaticHeadersWriter
HeaderWriter implementation which writes the same Header instance. |
class |
XContentTypeOptionsHeaderWriter
A
StaticHeadersWriter that inserts headers to prevent content
sniffing. |
class |
XXssProtectionHeaderWriter
Renders the X-XSS-Protection header.
|
Constructor and Description |
---|
DelegatingRequestMatcherHeaderWriter(RequestMatcher requestMatcher,
HeaderWriter delegateHeaderWriter)
Creates a new instance
|
Modifier and Type | Class and Description |
---|---|
class |
XFrameOptionsHeaderWriter
HeaderWriter implementation for the X-Frame-Options headers. |
Copyright © 2019. All rights reserved.