spring-framework / org.springframework.http.server.reactive / ReactorHttpHandlerAdapter

ReactorHttpHandlerAdapter

open class ReactorHttpHandlerAdapter : BiFunction<HttpServerRequest, HttpServerResponse, Mono<Void>>

Adapt HttpHandler to the Reactor Netty channel handling function.

Author
Stephane Maldini

Since
5.0

Constructors

<init>

ReactorHttpHandlerAdapter(httpHandler: HttpHandler)

Functions

apply

open fun apply(request: HttpServerRequest, response: HttpServerResponse): Mono<Void>