Class CompositeServerHttpHeadersWriter
java.lang.Object
org.springframework.security.web.server.header.CompositeServerHttpHeadersWriter
- All Implemented Interfaces:
ServerHttpHeadersWriter
Combines multiple
ServerHttpHeadersWriter
instances into a single instance.- Since:
- 5.0
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
writeHttpHeaders
(org.springframework.web.server.ServerWebExchange exchange) Write the headers to the response.
-
Constructor Details
-
CompositeServerHttpHeadersWriter
-
CompositeServerHttpHeadersWriter
-
-
Method Details
-
writeHttpHeaders
public reactor.core.publisher.Mono<Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange) Description copied from interface:ServerHttpHeadersWriter
Write the headers to the response.- Specified by:
writeHttpHeaders
in interfaceServerHttpHeadersWriter
- Returns:
- A Mono which is returned to the
Supplier
of theReactiveHttpOutputMessage.beforeCommit(Supplier)
.
-