Top Description Fields Constructors Methods
reactor.netty.http.server

pack-priv final Class HttpServerBind

extends HttpServer
Class Inheritance
Imports
io.netty.channel.ChannelOption, io.netty.util.AttributeKey, reactor.core.publisher.Mono, reactor.netty.DisposableServer, reactor.netty.internal.util.MapUtils, reactor.netty.tcp.SslProvider, .TcpServerConfig, java.net.InetSocketAddress, java.util.Arrays, .Collections, .HashMap, .Map

Provides the actual HttpServer instance.
Authors
Stephane Maldini, Violeta Georgieva

Field Summary

Modifier and TypeField and Description
pack-priv final HttpServerConfig
pack-priv static final int
pack-priv static final HttpServerBind
Inherited from reactor.netty.http.server.HttpServer:
log

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static HttpServer
public Mono<? extends DisposableServer>
public HttpServerConfig
protected HttpServer
duplicate()

Implements abstract reactor.netty.transport.Transport.duplicate.

Return a new Transport inheriting the current configuration.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from reactor.netty.http.server.HttpServer:
accessLogaccessLogaccessLogbindAddresschannelGroupcompresscompresscompresscookieCodeccookieCodeccreateforwardedforwardedfromhandlehosthttp2SettingshttpFormDecoderhttpMessageLogFactoryhttpRequestDecoderidleTimeoutmapHandlemaxKeepAliveRequestsmetricsmetricsmetricsmetricsmetricsnoSSLportprotocolproxyProtocolreadTimeoutrequestTimeoutroutesecuresecuresecuresecuretcpConfigurationwarmupwiretap

Field Detail

configback to summary
pack-priv final HttpServerConfig config
DEFAULT_PORTback to summary
pack-priv static final int DEFAULT_PORT
INSTANCEback to summary
pack-priv static final HttpServerBind INSTANCE

Constructor Detail

HttpServerBindback to summary
pack-priv HttpServerBind()
HttpServerBindback to summary
pack-priv HttpServerBind(HttpServerConfig config)

Method Detail

applyTcpServerConfigback to summary
pack-priv static HttpServer applyTcpServerConfig(TcpServerConfig config)
Annotations
@SuppressWarnings:unchecked
bindback to summary
public Mono<? extends DisposableServer> bind()

Overrides reactor.netty.transport.ServerTransport.bind.

Doc from reactor.netty.transport.ServerTransport.bind.

Binds the ServerTransport and returns a Mono of DisposableServer. If Mono is cancelled, the underlying binding will be aborted. Once the DisposableServer has been emitted and is not necessary anymore, disposing the main server loop must be done by the user via DisposableServer#dispose().

Returns:Mono<? extends DisposableServer>

a Mono of DisposableServer

Annotations
@Override
@SuppressWarnings:deprecation
configurationback to summary
public HttpServerConfig configuration()

Implements abstract reactor.netty.transport.Transport.configuration.

Doc from reactor.netty.transport.Transport.configuration.

Return a TransportConfig.

Returns:HttpServerConfig

a TransportConfig

Annotations
@Override
duplicateback to summary
protected HttpServer duplicate()

Implements abstract reactor.netty.transport.Transport.duplicate.

Doc from reactor.netty.transport.Transport.duplicate.

Return a new Transport inheriting the current configuration. This is a shallow copy.

Returns:HttpServer

a new Transport inheriting the current configuration

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override