Package org.springframework.http.server.reactive
@NonNullApi
@NonNullFields
package org.springframework.http.server.reactive
Abstractions for reactive HTTP server support including a
ServerHttpRequest
and
ServerHttpResponse
along with an
HttpHandler
for processing.
Also provides implementations adapting to different runtimes including Servlet containers, Netty + Reactor IO, and Undertow.
-
ClassDescriptionAbstract base class for
Publisher
implementations that bridge between event-listener read APIs and Reactive Streams.Abstract base class for listener-based server responses.An alternative toAbstractListenerWriteProcessor
but instead writing aPublisher<Publisher<T>>
with flush boundaries enforces after the completion of each nested Publisher.Abstract base class forProcessor
implementations that bridge between event-listener write APIs and Reactive Streams.Common base class forServerHttpRequest
implementations.Base class forServerHttpResponse
implementations.Given a write function that accepts a sourcePublisher<T>
to write with and returnsPublisher<Void>
for the result, this operator helps to defer the invocation of the write function, until we know if the source publisher will begin publishing without an error.HttpHandler
delegating requests to one of severalHttpHandler
's based on simple, prefix-based mappings.Lowest level contract for reactive HTTP request handling that serves as a common denominator across different runtimes.Contract for applying a decorator to anHttpHandler
.ServerHttpResponse
decorator for HTTP HEAD requests.ServletHttpHandlerAdapter
extension that uses Jetty APIs for writing to the response withByteBuffer
.AdaptHttpHandler
to the Reactor Netty channel handling function.AdaptHttpHandler
to the Reactor Netty 5 channel handling function.Represents a reactive server-side HTTP request.Builder for mutating an existingServerHttpRequest
.Wraps anotherServerHttpRequest
and delegates all methods to it.Represents a reactive server-side HTTP response.Wraps anotherServerHttpResponse
and delegates all methods to it.AdaptHttpHandler
to anHttpServlet
using Servlet Async support and Servlet non-blocking I/O.A holder for SSL session information.ServletHttpHandlerAdapter
extension that uses Tomcat APIs for reading from the request and writing to the response withByteBuffer
.AdaptHttpHandler
to the UndertowHttpHandler
.