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
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Create aHeader
instance.
-
Method Details
-
writeHeaders
void writeHeaders(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Create aHeader
instance.- Parameters:
request
- the requestresponse
- the response
-