Class ReactorHttpHandlerAdapter
java.lang.Object
org.springframework.http.server.reactive.ReactorHttpHandlerAdapter
- All Implemented Interfaces:
BiFunction<reactor.netty.http.server.HttpServerRequest,
reactor.netty.http.server.HttpServerResponse, reactor.core.publisher.Mono<Void>>
public class ReactorHttpHandlerAdapter
extends Object
implements BiFunction<reactor.netty.http.server.HttpServerRequest,reactor.netty.http.server.HttpServerResponse,reactor.core.publisher.Mono<Void>>
Adapt
HttpHandler
to the Reactor Netty channel handling function.- Since:
- 5.0
- Author:
- Stephane Maldini, Rossen Stoyanchev
-
Constructor Details
-
ReactorHttpHandlerAdapter
-
-
Method Details
-
apply
public reactor.core.publisher.Mono<Void> apply(reactor.netty.http.server.HttpServerRequest reactorRequest, reactor.netty.http.server.HttpServerResponse reactorResponse) - Specified by:
apply
in interfaceBiFunction<reactor.netty.http.server.HttpServerRequest,
reactor.netty.http.server.HttpServerResponse, reactor.core.publisher.Mono<Void>>
-