Class ModifyResponseBodyGatewayFilterFactory.ModifiedServerHttpResponse
- java.lang.Object
-
- org.springframework.http.server.reactive.ServerHttpResponseDecorator
-
- org.springframework.cloud.gateway.filter.factory.rewrite.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
-
-
Constructor Summary
Constructors Constructor Description ModifiedServerHttpResponse(org.springframework.web.server.ServerWebExchange exchange, ModifyResponseBodyGatewayFilterFactory.Config config)
-
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)
-
-
-
Constructor Detail
-
ModifiedServerHttpResponse
public ModifiedServerHttpResponse(org.springframework.web.server.ServerWebExchange exchange, ModifyResponseBodyGatewayFilterFactory.Config config)
-
-
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 interfaceorg.springframework.http.ReactiveHttpOutputMessage
- Overrides:
writeWith
in classorg.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 interfaceorg.springframework.http.ReactiveHttpOutputMessage
- Overrides:
writeAndFlushWith
in classorg.springframework.http.server.reactive.ServerHttpResponseDecorator
-
-