Class CompositeServerHttpHeadersWriter

    • Constructor Detail

      • CompositeServerHttpHeadersWriter

        public CompositeServerHttpHeadersWriter​(ServerHttpHeadersWriter... writers)
      • CompositeServerHttpHeadersWriter

        public CompositeServerHttpHeadersWriter​(java.util.List<ServerHttpHeadersWriter> writers)
    • Method Detail

      • writeHttpHeaders

        public reactor.core.publisher.Mono<java.lang.Void> writeHttpHeaders​(org.springframework.web.server.ServerWebExchange exchange)
        Description copied from interface: ServerHttpHeadersWriter
        Write the headers to the response.
        Specified by:
        writeHttpHeaders in interface ServerHttpHeadersWriter
        Returns:
        A Mono which is returned to the Supplier of the ReactiveHttpOutputMessage.beforeCommit(Supplier).