Top Description Interfaces Classes
[default module]

Package org.springframework.http.server.reactive

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Abstractions for reactive HTTP server support including a org.springframework.http.server.reactive.ServerHttpRequest and org.springframework.http.server.reactive.ServerHttpResponse along with an org.springframework.http.server.reactive.HttpHandler for processing.

Also provides implementations adapting to different runtimes including Servlet containers, Netty + Reactor IO, and Undertow.

Interface Summary

Modifier and TypeInterface and Description
public interface
HttpHandler

Lowest level contract for reactive HTTP request handling that serves as a common denominator across different runtimes.

public interface
HttpHandlerDecoratorFactory

Contract for applying a decorator to an HttpHandler.

public interface
ServerHttpRequest

Represents a reactive server-side HTTP request.

public interface
ServerHttpResponse

Represents a reactive server-side HTTP response.

public interface
SslInfo

A holder for SSL session information.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractListenerReadPublisher<
the type of element signaled
T
>

Abstract base class for Publisher implementations that bridge between event-listener read APIs and Reactive Streams.

public abstract class
AbstractListenerServerHttpResponse

Abstract base class for listener-based server responses.

public abstract class
AbstractListenerWriteFlushProcessor<
the type of element signaled to the Subscriber
T
>

An alternative to AbstractListenerWriteProcessor but instead writing a Publisher<Publisher<T>> with flush boundaries enforces after the completion of each nested Publisher.

public abstract class
AbstractListenerWriteProcessor<
the type of element signaled to the Subscriber
T
>

Abstract base class for Processor implementations that bridge between event-listener write APIs and Reactive Streams.

public abstract class
AbstractServerHttpRequest

Common base class for ServerHttpRequest implementations.

public abstract class
AbstractServerHttpResponse

Base class for ServerHttpResponse implementations.

public class
ChannelSendOperator<
the type of element signaled
T
>

Given a write function that accepts a source Publisher<T> to write with and returns Publisher<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.

public class
ContextPathCompositeHandler

HttpHandler delegating requests to one of several HttpHandler's based on simple, prefix-based mappings.

pack-priv class
DefaultServerHttpRequestBuilder

Package-private default implementation of ServerHttpRequest.Builder.

pack-priv class
DefaultSslInfo

Default implementation of SslInfo.

public class
HttpHeadResponseDecorator

ServerHttpResponse decorator for HTTP HEAD requests.

public class
JettyHttpHandlerAdapter

ServletHttpHandlerAdapter extension that uses Jetty APIs for writing to the response with ByteBuffer.

public class
ReactorHttpHandlerAdapter

Adapt HttpHandler to the Reactor Netty channel handling function.

public class
ReactorNetty2HttpHandlerAdapter

Adapt HttpHandler to the Reactor Netty 5 channel handling function.

pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv abstract class
ReactorUriHelper

Helper class for creating a URI from a reactor HttpServerRequest.

public class
ServerHttpRequestDecorator

Wraps another ServerHttpRequest and delegates all methods to it.

public class
ServerHttpResponseDecorator

Wraps another ServerHttpResponse and delegates all methods to it.

public class
ServletHttpHandlerAdapter

Adapt HttpHandler to an HttpServlet using Servlet Async support and Servlet non-blocking I/O.

pack-priv class
pack-priv class
pack-priv class
TomcatHeadersAdapter

MultiValueMap implementation for wrapping Tomcat HTTP headers.

public class
TomcatHttpHandlerAdapter

ServletHttpHandlerAdapter extension that uses Tomcat APIs for reading from the request and writing to the response with ByteBuffer.

pack-priv class
UndertowHeadersAdapter

MultiValueMap implementation for wrapping Undertow HTTP headers.

public class
pack-priv class
pack-priv class
pack-priv class