Package org.springframework.security.web.server.header
@NullMarked
package org.springframework.security.web.server.header
Reactive APIs for adding HTTP Header based security.
-
ClassDescriptionWrites cache control related headers.Writes the
Clear-Site-Dataresponse header when the request is secure.Represents the directive values expected by theClearSiteDataServerHttpHeadersWriterCombines multipleServerHttpHeadersWriterinstances into a single instance.Writes theContent-Security-Policyresponse header with configured policy directives.Adds X-Content-Type-Options: nosniffInserts Cross-Origin-Embedder-Policy headers.Inserts Cross-Origin-Opener-Policy header.Inserts Cross-Origin-Resource-Policy headers.Writes theFeature-Policyresponse header with configured policy directives.Invokes aServerHttpHeadersWriteronReactiveHttpOutputMessage.beforeCommit(java.util.function.Supplier).Writes thePermissions-Policyresponse header with configured policy directives.Writes theReferrer-Policyresponse header.Interface for writing headers just before the response is committed.Delegates to a providedServerHttpHeadersWriterifServerWebExchangeMatcher.matches(ServerWebExchange)returns a match.Allows specifyingHttpHeadersthat should be written to the response.Writes the Strict-Transport-Security if the request is secure.Adds X-Content-Type-Options: nosniffServerHttpHeadersWriterimplementation for the X-Frame-Options headers.The X-Frame-Options values.Add the x-xss-protection header.The value of the x-xss-protection header.