Class ModifyResponseBodyGatewayFilterFactory.ModifiedServerHttpResponse

  • All Implemented Interfaces:
    org.springframework.http.HttpMessage, org.springframework.http.ReactiveHttpOutputMessage, org.springframework.http.server.reactive.ServerHttpResponse
    Enclosing class:
    ModifyResponseBodyGatewayFilterFactory

    protected class ModifyResponseBodyGatewayFilterFactory.ModifiedServerHttpResponse
    extends org.springframework.http.server.reactive.ServerHttpResponseDecorator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<Void> writeAndFlushWith​(org.reactivestreams.Publisher<? extends org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>> body)  
      reactor.core.publisher.Mono<Void> writeWith​(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer> body)  
      • Methods inherited from class org.springframework.http.server.reactive.ServerHttpResponseDecorator

        addCookie, beforeCommit, bufferFactory, getCookies, getDelegate, getHeaders, getNativeResponse, getRawStatusCode, getStatusCode, isCommitted, setComplete, setRawStatusCode, setStatusCode, toString
    • Method Detail

      • writeWith

        public reactor.core.publisher.Mono<Void> writeWith​(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer> body)
        Specified by:
        writeWith in interface org.springframework.http.ReactiveHttpOutputMessage
        Overrides:
        writeWith in class org.springframework.http.server.reactive.ServerHttpResponseDecorator
      • writeAndFlushWith

        public reactor.core.publisher.Mono<Void> writeAndFlushWith​(org.reactivestreams.Publisher<? extends org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>> body)
        Specified by:
        writeAndFlushWith in interface org.springframework.http.ReactiveHttpOutputMessage
        Overrides:
        writeAndFlushWith in class org.springframework.http.server.reactive.ServerHttpResponseDecorator