org.springframework.security.web.header
Interface HeaderWriter
- All Known Implementing Classes:
- CacheControlHeadersWriter, DelegatingRequestMatcherHeaderWriter, HstsHeaderWriter, StaticHeadersWriter, XContentTypeOptionsHeaderWriter, XFrameOptionsHeaderWriter, XXssProtectionHeaderWriter
public interface HeaderWriter
Contract for writing headers to a HttpServletResponse
- Since:
- 3.2
- See Also:
HeaderWriterFilter
|
Method Summary |
void |
writeHeaders(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create a Header instance. |
writeHeaders
void writeHeaders(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Create a
Header instance.
- Parameters:
request - the requestresponse - the response