Interface HeaderWriter
- All Known Implementing Classes:
CacheControlHeadersWriter
,ClearSiteDataHeaderWriter
,CompositeHeaderWriter
,ContentSecurityPolicyHeaderWriter
,CrossOriginEmbedderPolicyHeaderWriter
,CrossOriginOpenerPolicyHeaderWriter
,CrossOriginResourcePolicyHeaderWriter
,DelegatingRequestMatcherHeaderWriter
,FeaturePolicyHeaderWriter
,HpkpHeaderWriter
,HstsHeaderWriter
,PermissionsPolicyHeaderWriter
,ReferrerPolicyHeaderWriter
,StaticHeadersWriter
,XContentTypeOptionsHeaderWriter
,XFrameOptionsHeaderWriter
,XXssProtectionHeaderWriter
public interface HeaderWriter
Contract for writing headers to a
HttpServletResponse
- Since:
- 3.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeHeaders
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Create aHeader
instance.
-
Method Details
-
writeHeaders
void writeHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Create aHeader
instance.- Parameters:
request
- the requestresponse
- the response
-