HttpClientConnectionOperator used as default in Http client,
when no instance provided by user to BasicHttpClientConnectionManager or PoolingHttpClientConnectionManager constructor.
| Modifier and Type | Field and Description |
|---|---|
| private final DnsResolver | |
| private static final Logger | |
| private final SchemePortResolver | |
| pack-priv static final String | |
| private final Lookup |
| Access | Constructor and Description |
|---|---|
| public | DefaultHttpClientConnectionOperator(final Lookup<ConnectionSocketFactory> socketFactoryRegistry, final SchemePortResolver schemePortResolver, final DnsResolver dnsResolver)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | connect(final ManagedHttpClientConnection
the managed connection. conn, final HttpHost the address of the opposite endpoint. host, final InetSocketAddress the address of the local endpoint. localAddress, final TimeValue the timeout of the connect operation. connectTimeout, final SocketConfig the socket configuration. socketConfig, final HttpContext the execution context. context)Implements org. |
| public void | connect(final ManagedHttpClientConnection
the managed connection. conn, final HttpHost the address of the opposite endpoint. host, final InetSocketAddress the address of the local endpoint. localAddress, final Timeout the timeout of the connect operation. connectTimeout, final SocketConfig the socket configuration. socketConfig, final Object connect request attachment. attachment, final HttpContext the execution context. context)Overrides default org. |
| private Lookup | |
| public void | upgrade(final ManagedHttpClientConnection
the managed connection. conn, final HttpHost the address of the opposite endpoint with TLS security. host, final HttpContext the execution context. context)Implements org. |
| public void | upgrade(final ManagedHttpClientConnection
the managed connection. conn, final HttpHost the address of the opposite endpoint with TLS security. host, final Object connect request attachment. attachment, final HttpContext the execution context. context)Overrides default org. |
| dnsResolver | back to summary |
|---|---|
| private final DnsResolver dnsResolver | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| schemePortResolver | back to summary |
|---|---|
| private final SchemePortResolver schemePortResolver | |
| SOCKET_FACTORY_REGISTRY | back to summary |
|---|---|
| pack-priv static final String SOCKET_FACTORY_REGISTRY | |
| socketFactoryRegistry | back to summary |
|---|---|
| private final Lookup<ConnectionSocketFactory> socketFactoryRegistry | |
| DefaultHttpClientConnectionOperator | back to summary |
|---|---|
| public DefaultHttpClientConnectionOperator(final Lookup<ConnectionSocketFactory> socketFactoryRegistry, final SchemePortResolver schemePortResolver, final DnsResolver dnsResolver) | |
| connect | back to summary |
|---|---|
| public void connect(final ManagedHttpClientConnection conn, final HttpHost host, final InetSocketAddress localAddress, final TimeValue connectTimeout, final SocketConfig socketConfig, final HttpContext context) throws IOException Implements org. Doc from org. Connect the given managed connection to the remote endpoint.
| |
| connect | back to summary |
|---|---|
| public void connect(final ManagedHttpClientConnection conn, final HttpHost host, final InetSocketAddress localAddress, final Timeout connectTimeout, final SocketConfig socketConfig, final Object attachment, final HttpContext context) throws IOException Overrides default org. Doc from org. Connect the given managed connection to the remote endpoint.
| |
| getSocketFactoryRegistry | back to summary |
|---|---|
private Lookup
| |
| upgrade | back to summary |
|---|---|
| public void upgrade(final ManagedHttpClientConnection conn, final HttpHost host, final HttpContext context) throws IOException Implements org. Doc from org. Upgrades transport security of the given managed connection by using the TLS security protocol.
| |
| upgrade | back to summary |
|---|---|
| public void upgrade(final ManagedHttpClientConnection conn, final HttpHost host, final Object attachment, final HttpContext context) throws IOException Overrides default org. Doc from org. Upgrades transport security of the given managed connection by using the TLS security protocol.
| |