| Package | Description |
|---|---|
| org.apache.http.impl.nio.bootstrap |
Embedded non-blocking server and server bootstrap.
|
| Modifier and Type | Method | Description |
|---|---|---|
ServerBootstrap |
ServerBootstrap.addInterceptorFirst(org.apache.http.HttpRequestInterceptor itcp) |
Adds this protocol interceptor to the head of the protocol processing list.
|
ServerBootstrap |
ServerBootstrap.addInterceptorFirst(org.apache.http.HttpResponseInterceptor itcp) |
Adds this protocol interceptor to the head of the protocol processing list.
|
ServerBootstrap |
ServerBootstrap.addInterceptorLast(org.apache.http.HttpRequestInterceptor itcp) |
Adds this protocol interceptor to the tail of the protocol processing list.
|
ServerBootstrap |
ServerBootstrap.addInterceptorLast(org.apache.http.HttpResponseInterceptor itcp) |
Adds this protocol interceptor to the tail of the protocol processing list.
|
static ServerBootstrap |
ServerBootstrap.bootstrap() |
|
ServerBootstrap |
ServerBootstrap.registerHandler(java.lang.String pattern,
HttpAsyncRequestHandler<?> handler) |
Registers the given
HttpAsyncRequestHandler
as a handler for URIs matching the given pattern. |
ServerBootstrap |
ServerBootstrap.setConnectionConfig(org.apache.http.config.ConnectionConfig connectionConfig) |
Sets connection configuration.
|
ServerBootstrap |
ServerBootstrap.setConnectionFactory(NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory) |
Assigns
NHttpConnectionFactory instance. |
ServerBootstrap |
ServerBootstrap.setConnectionReuseStrategy(org.apache.http.ConnectionReuseStrategy connStrategy) |
Assigns
ConnectionReuseStrategy instance. |
ServerBootstrap |
ServerBootstrap.setExceptionLogger(org.apache.http.ExceptionLogger exceptionLogger) |
Assigns
ExceptionLogger instance. |
ServerBootstrap |
ServerBootstrap.setExpectationVerifier(HttpAsyncExpectationVerifier expectationVerifier) |
Assigns
HttpAsyncExpectationVerifier instance. |
ServerBootstrap |
ServerBootstrap.setHandlerMapper(HttpAsyncRequestHandlerMapper handlerMapper) |
Assigns
HttpAsyncRequestHandlerMapper instance. |
ServerBootstrap |
ServerBootstrap.setHttpProcessor(org.apache.http.protocol.HttpProcessor httpProcessor) |
Assigns
HttpProcessor instance. |
ServerBootstrap |
ServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig) |
Sets I/O reactor configuration.
|
ServerBootstrap |
ServerBootstrap.setListenerPort(int listenerPort) |
Sets listener port number.
|
ServerBootstrap |
ServerBootstrap.setLocalAddress(java.net.InetAddress localAddress) |
Assigns local interface for the listener.
|
ServerBootstrap |
ServerBootstrap.setResponseFactory(org.apache.http.HttpResponseFactory responseFactory) |
Assigns
HttpResponseFactory instance. |
ServerBootstrap |
ServerBootstrap.setServerInfo(java.lang.String serverInfo) |
Assigns
Server response header value. |
ServerBootstrap |
ServerBootstrap.setSslContext(javax.net.ssl.SSLContext sslContext) |
Assigns
SSLContext instance. |
ServerBootstrap |
ServerBootstrap.setSslSetupHandler(SSLSetupHandler sslSetupHandler) |
Assigns
SSLSetupHandler instance. |