Interface ServerHttpHeadersWriter
-
- All Known Implementing Classes:
CacheControlServerHttpHeadersWriter
,ClearSiteDataServerHttpHeadersWriter
,CompositeServerHttpHeadersWriter
,ContentSecurityPolicyServerHttpHeadersWriter
,ContentTypeOptionsServerHttpHeadersWriter
,CrossOriginEmbedderPolicyServerHttpHeadersWriter
,CrossOriginOpenerPolicyServerHttpHeadersWriter
,CrossOriginResourcePolicyServerHttpHeadersWriter
,FeaturePolicyServerHttpHeadersWriter
,PermissionsPolicyServerHttpHeadersWriter
,ReferrerPolicyServerHttpHeadersWriter
,ServerWebExchangeDelegatingServerHttpHeadersWriter
,StaticServerHttpHeadersWriter
,StrictTransportSecurityServerHttpHeadersWriter
,XContentTypeOptionsServerHttpHeadersWriter
,XFrameOptionsServerHttpHeadersWriter
,XXssProtectionServerHttpHeadersWriter
public interface ServerHttpHeadersWriter
Interface for writing headers just before the response is committed.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<java.lang.Void>
writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
Write the headers to the response.
-
-
-
Method Detail
-
writeHttpHeaders
reactor.core.publisher.Mono<java.lang.Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
Write the headers to the response.- Parameters:
exchange
-- Returns:
- A Mono which is returned to the
Supplier
of theReactiveHttpOutputMessage.beforeCommit(Supplier)
.
-
-