public class ReactorHttpHandlerAdapter
extends java.lang.Object
implements java.util.function.BiFunction<reactor.netty.http.server.HttpServerRequest,reactor.netty.http.server.HttpServerResponse,reactor.core.publisher.Mono<java.lang.Void>>
HttpHandler
to the Reactor Netty channel handling function.Constructor and Description |
---|
ReactorHttpHandlerAdapter(HttpHandler httpHandler) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
apply(reactor.netty.http.server.HttpServerRequest reactorRequest,
reactor.netty.http.server.HttpServerResponse reactorResponse) |
public ReactorHttpHandlerAdapter(HttpHandler httpHandler)
public reactor.core.publisher.Mono<java.lang.Void> apply(reactor.netty.http.server.HttpServerRequest reactorRequest, reactor.netty.http.server.HttpServerResponse reactorResponse)
apply
in interface java.util.function.BiFunction<reactor.netty.http.server.HttpServerRequest,reactor.netty.http.server.HttpServerResponse,reactor.core.publisher.Mono<java.lang.Void>>