Top Description Interfaces Classes Enums
[default module]

Package reactor.netty5.http.server

Annotations
@NonNullApi
Imports
reactor.util.annotation.NonNullApi

Http Server abstractions and factory

Interface Summary

Modifier and TypeInterface and Description
public interface
HttpRouteHandlerMetadata

Provides the metadata that a given handler can handle.

public interface
HttpServerInfos

An Http Reactive Channel with several accessors related to HTTP flow: headers, params, URI, method, websocket...

public interface
HttpServerMetricsRecorder

Interface for collecting metrics on HTTP server level

public interface
HttpServerRequest

An Http Reactive Channel with several accessors related to HTTP flow: headers, params, URI, method, websocket...

public interface
HttpServerResponse

An Http Reactive Channel with several accessors related to HTTP flow: headers, params, URI, method, websocket...

public interface
HttpServerRoutes

Server routes are unique and only the first matching in order of declaration will be invoked.

public interface
WebsocketServerSpec

Websocket server configuration

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
public class
ConnectionInfo

Resolve information about the current connection, including the host (server) address, the remote (client) address and the scheme.

pack-priv class
public abstract class
ContextAwareHttpServerMetricsRecorder

ContextView aware class for collecting metrics on HTTP server level

pack-priv class
pack-priv class
pack-priv class
HAProxyMessageDetector

Auto detect whether the first packet of a channel is proxy protocol, if so, replace current handler with a HAProxyMessageDecoder, so each channel in the same HttpServer instance can choose to support proxy protocol or not at runtime.

pack-priv class
HAProxyMessageReader

Consumes io.netty.contrib.handler.codec.haproxy.HAProxyMessage and set it into channel attribute for later use.

pack-priv class
Http2StreamBridgeServerHandler

This handler is intended to work together with Http2StreamFrameToHttpObjectCodec it converts the outgoing messages into objects expected by Http2StreamFrameToHttpObjectCodec.

pack-priv class
HttpPredicate

A Predicate to match against ServerRequest

public class
public abstract class
HttpServer

An HttpServer allows building in a safe immutable way an HTTP server that is materialized and connecting when bind() is ultimately called.

pack-priv class
HttpServerBind

Provides the actual HttpServer instance.

public class
HttpServerConfig

Encapsulate all necessary configuration for HTTP server transport.

public class
HttpServerFormDecoderProvider

A configuration builder to fine tune the HTTP form decoder.

pack-priv class
pack-priv class
HttpServerOperations

Conversion between Netty types and Reactor types (HttpOperations.

pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
NonSslRedirectDetector

The handler detects if it's an SSL record header or an HTTP request from the first 5 bytes of the incoming message, and hands the message over to an SSL handler if it's an SSL record header or NonSslRedirectHandler if it's a potential HTTP request.

pack-priv class
NonSslRedirectHandler

The handler sends an HTTP response with a status code of 308 and a location header consisting of the host header of the request and HTTPS protocol to the incoming HTTP requests.

public class
ServerCookies

Holder for Cookie headers found in request headers

pack-priv class
pack-priv class
WebsocketServerOperations

Conversion between Netty types and Reactor types (HttpOperations

pack-priv class

Enum Summary

Modifier and TypeEnum and Description
pack-priv enum
pack-priv enum
pack-priv enum
public enum
HttpServerState

Specific Http Server state observable by HttpServer#observe(ConnectionObserver)

public enum
ProxyProtocolSupportType

Proxy protocol support type, this enum class defines how the HttpServer handles proxy protocol.