Package | Description |
---|---|
org.apache.http.impl |
Default implementations of HTTP connections for synchronous,
blocking communication.
|
org.apache.http.impl.bootstrap |
Embedded server and server bootstrap.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultBHttpClientConnectionFactory
Default factory for
HttpClientConnection s. |
class |
DefaultBHttpServerConnectionFactory
Default factory for
HttpServerConnection s. |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setConnectionFactory(HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory)
Assigns
HttpConnectionFactory instance. |
Constructor and Description |
---|
HttpServer(int port,
java.net.InetAddress ifAddress,
SocketConfig socketConfig,
javax.net.ServerSocketFactory serverSocketFactory,
HttpService httpService,
HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory,
SSLServerSetupHandler sslSetupHandler,
ExceptionLogger exceptionLogger) |
RequestListener(SocketConfig socketConfig,
java.net.ServerSocket serversocket,
HttpService httpService,
HttpConnectionFactory<? extends HttpServerConnection> connectionFactory,
ExceptionLogger exceptionLogger,
java.util.concurrent.ExecutorService executorService) |