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.
 

Method Detail

writeHeaders

void writeHeaders(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
Create a Header instance.

Parameters:
request - the request
response - the response