public class ReactorHttpHandlerAdapter
extends java.lang.Object
implements java.util.function.BiFunction<reactor.ipc.netty.http.server.HttpServerRequest,reactor.ipc.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.ipc.netty.http.server.HttpServerRequest request,
reactor.ipc.netty.http.server.HttpServerResponse response) |
public ReactorHttpHandlerAdapter(HttpHandler httpHandler)
public reactor.core.publisher.Mono<java.lang.Void> apply(reactor.ipc.netty.http.server.HttpServerRequest request, reactor.ipc.netty.http.server.HttpServerResponse response)
apply
in interface java.util.function.BiFunction<reactor.ipc.netty.http.server.HttpServerRequest,reactor.ipc.netty.http.server.HttpServerResponse,reactor.core.publisher.Mono<java.lang.Void>>