| Package | Description | 
|---|---|
| org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap. | 
| org.apache.hc.core5.http.io | Core HTTP transport APIs based on the classic (blocking) I/O model. | 
| org.apache.hc.core5.testing.classic | 
| Modifier and Type | Method and Description | 
|---|---|
| ServerBootstrap | ServerBootstrap. setSocketConfig(SocketConfig socketConfig)Sets socket configuration. | 
| RequesterBootstrap | RequesterBootstrap. setSocketConfig(SocketConfig socketConfig)Sets socket configuration. | 
| Constructor and Description | 
|---|
| HttpRequester(HttpRequestExecutor requestExecutor,
             HttpProcessor httpProcessor,
             ManagedConnPool<HttpHost,HttpClientConnection> connPool,
             SocketConfig socketConfig,
             HttpConnectionFactory<? extends HttpClientConnection> connectFactory,
             SSLSocketFactory sslSocketFactory,
             Callback<SSLParameters> sslSetupHandler,
             SSLSessionVerifier sslSessionVerifier,
             Resolver<HttpHost,InetSocketAddress> addressResolver)Use  RequesterBootstrapto create instances of this class. | 
| HttpServer(int port,
          HttpService httpService,
          InetAddress ifAddress,
          SocketConfig socketConfig,
          ServerSocketFactory serverSocketFactory,
          HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory,
          SSLContext sslContext,
          Callback<SSLParameters> sslSetupHandler,
          ExceptionListener exceptionListener) | 
| Modifier and Type | Field and Description | 
|---|---|
| static SocketConfig | SocketConfig. DEFAULT | 
| Modifier and Type | Method and Description | 
|---|---|
| SocketConfig | SocketConfig.Builder. build() | 
| Modifier and Type | Method and Description | 
|---|---|
| static SocketConfig.Builder | SocketConfig. copy(SocketConfig config) | 
| Constructor and Description | 
|---|
| ClassicTestClient(SocketConfig socketConfig) | 
| ClassicTestClient(SSLContext sslContext,
                 SocketConfig socketConfig) | 
| ClassicTestServer(SocketConfig socketConfig) | 
| ClassicTestServer(SSLContext sslContext,
                 SocketConfig socketConfig) | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.