public class CompositeServerHttpHeadersWriter extends java.lang.Object implements ServerHttpHeadersWriter
ServerHttpHeadersWriter
instances into a single instance.Constructor and Description |
---|
CompositeServerHttpHeadersWriter(java.util.List<ServerHttpHeadersWriter> writers) |
CompositeServerHttpHeadersWriter(ServerHttpHeadersWriter... writers) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
Write the headers to the response.
|
public CompositeServerHttpHeadersWriter(ServerHttpHeadersWriter... writers)
public CompositeServerHttpHeadersWriter(java.util.List<ServerHttpHeadersWriter> writers)
public reactor.core.publisher.Mono<java.lang.Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
ServerHttpHeadersWriter
writeHttpHeaders
in interface ServerHttpHeadersWriter
Supplier
of the
ReactiveHttpOutputMessage.beforeCommit(Supplier)
.