Package | Description |
---|---|
org.apache.http.impl.nio.bootstrap |
Embedded non-blocking server and server bootstrap.
|
org.apache.http.impl.nio.reactor |
Default implementation of event driven network communication APIs
based on Java NIO.
|
Modifier and Type | Field and Description |
---|---|
private IOReactorConfig |
ServerBootstrap.ioReactorConfig |
private IOReactorConfig |
HttpServer.ioReactorConfig |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig)
Sets I/O reactor configuration.
|
Constructor and Description |
---|
HttpServer(int port,
java.net.InetAddress ifAddress,
IOReactorConfig ioReactorConfig,
NHttpServerEventHandler serverEventHandler,
NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory,
ExceptionLogger exceptionLogger) |
Modifier and Type | Field and Description |
---|---|
protected IOReactorConfig |
AbstractMultiworkerIOReactor.config |
static IOReactorConfig |
IOReactorConfig.DEFAULT |
Modifier and Type | Method and Description |
---|---|
IOReactorConfig |
IOReactorConfig.Builder.build() |
protected IOReactorConfig |
IOReactorConfig.clone() |
(package private) static IOReactorConfig |
AbstractMultiworkerIOReactor.convert(int workerCount,
HttpParams params)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IOReactorConfig.Builder |
IOReactorConfig.copy(IOReactorConfig config) |
Constructor and Description |
---|
AbstractMultiworkerIOReactor(IOReactorConfig config,
java.util.concurrent.ThreadFactory threadFactory)
Creates an instance of AbstractMultiworkerIOReactor with the given configuration.
|
DefaultConnectingIOReactor(IOReactorConfig config)
Creates an instance of DefaultConnectingIOReactor with the given configuration.
|
DefaultConnectingIOReactor(IOReactorConfig config,
java.util.concurrent.ThreadFactory threadFactory)
Creates an instance of DefaultConnectingIOReactor with the given configuration.
|
DefaultListeningIOReactor(IOReactorConfig config)
Creates an instance of DefaultListeningIOReactor with the given configuration.
|
DefaultListeningIOReactor(IOReactorConfig config,
java.util.concurrent.ThreadFactory threadFactory)
Creates an instance of DefaultListeningIOReactor with the given configuration.
|