org.springframework.http.server.reactive

## 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 Summary

    Constructors
    Constructor and Description
    `ReactorHttpHandlerAdapter(HttpHandler httpHandler)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `reactor.core.publisher.Mono<Void>` | `apply(reactor.netty.http.server.HttpServerRequest reactorRequest, reactor.netty.http.server.HttpServerResponse reactorResponse)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.function.BiFunction

      `andThen`

- - ### Constructor Detail

    - #### ReactorHttpHandlerAdapter

          public ReactorHttpHandlerAdapter(HttpHandler httpHandler)

  - ### Method Detail

    - #### apply

          public reactor.core.publisher.Mono<Void> apply(reactor.netty.http.server.HttpServerRequest reactorRequest,
                                                         reactor.netty.http.server.HttpServerResponse reactorResponse)

      Specified by:
        `apply` in interface `BiFunction<reactor.netty.http.server.HttpServerRequest,reactor.netty.http.server.HttpServerResponse,reactor.core.publisher.Mono<Void>>`