Class ReactorNetty2HttpHandlerAdapter
java.lang.Object
org.springframework.http.server.reactive.ReactorNetty2HttpHandlerAdapter
- All Implemented Interfaces:
BiFunction<reactor.netty5.http.server.HttpServerRequest,
reactor.netty5.http.server.HttpServerResponse, reactor.core.publisher.Mono<Void>>
public class ReactorNetty2HttpHandlerAdapter
extends Object
implements BiFunction<reactor.netty5.http.server.HttpServerRequest,reactor.netty5.http.server.HttpServerResponse,reactor.core.publisher.Mono<Void>>
Adapt
HttpHandler
to the Reactor Netty 5 channel handling function.
This class is based on ReactorHttpHandlerAdapter
.
- Since:
- 6.0
- Author:
- Violeta Georgieva
-
Constructor Details
-
ReactorNetty2HttpHandlerAdapter
-
-
Method Details
-
apply
public reactor.core.publisher.Mono<Void> apply(reactor.netty5.http.server.HttpServerRequest reactorRequest, reactor.netty5.http.server.HttpServerResponse reactorResponse) - Specified by:
apply
in interfaceBiFunction<reactor.netty5.http.server.HttpServerRequest,
reactor.netty5.http.server.HttpServerResponse, reactor.core.publisher.Mono<Void>>
-