## Uses of Interface
org.apache.hc.core5.http.io.HttpClientConnection

- Packages that use HttpClientConnection
  Package | Description
  --- | ---
  org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap.
  org.apache.hc.core5.http.impl.io | Default implementation of HTTP/1.1 transport based on the classic (blocking) I/O model.
  org.apache.hc.core5.http.io | Core HTTP transport APIs based on the classic (blocking) I/O model.
  org.apache.hc.core5.testing.classic |

- - ### Uses of HttpClientConnection in org.apache.hc.core5.http.impl.bootstrap

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HttpClientConnection
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpResponse` | HttpRequester.`execute(HttpClientConnection connection, ClassicHttpRequest request, HttpContext context)`
    `<T> T` | HttpRequester.`execute(HttpClientConnection connection, ClassicHttpRequest request, HttpContext context, HttpClientResponseHandler<T> responseHandler)`
    `ClassicHttpResponse` | HttpRequester.`execute(HttpClientConnection connection, ClassicHttpRequest request, HttpResponseInformationCallback informationCallback, HttpContext context)`
    `boolean` | HttpRequester.`keepAlive(HttpClientConnection connection, ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context)`

    Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type HttpClientConnection
    Modifier and Type | Method and Description
    --- | ---
    `RequesterBootstrap` | RequesterBootstrap.`setConnectionFactory(HttpConnectionFactory<? extends HttpClientConnection> connectFactory)`

    Constructor parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type HttpClientConnection
    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 `RequesterBootstrap` to create instances of this class.
    `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 `RequesterBootstrap` to create instances of this class.

  - ### Uses of HttpClientConnection in org.apache.hc.core5.http.impl.io

    Classes in org.apache.hc.core5.http.impl.io that implement HttpClientConnection
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultBHttpClientConnection` Default implementation of `HttpClientConnection`.

    Methods in org.apache.hc.core5.http.impl.io with parameters of type HttpClientConnection
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpResponse` | HttpRequestExecutor.`execute(ClassicHttpRequest request, HttpClientConnection conn, HttpContext context)` Sends the request and obtain a response.
    `ClassicHttpResponse` | HttpRequestExecutor.`execute(ClassicHttpRequest request, HttpClientConnection conn, HttpResponseInformationCallback informationCallback, HttpContext context)` Sends the request and obtain a response.
    `boolean` | NoResponseOutOfOrderStrategy.`isEarlyResponseDetected(ClassicHttpRequest request, HttpClientConnection connection, InputStream inputStream, long totalBytesSent, long nextWriteSize)`
    `boolean` | MonitoringResponseOutOfOrderStrategy.`isEarlyResponseDetected(ClassicHttpRequest request, HttpClientConnection connection, InputStream inputStream, long totalBytesSent, long nextWriteSize)`
    `boolean` | HttpRequestExecutor.`keepAlive(ClassicHttpRequest request, ClassicHttpResponse response, HttpClientConnection connection, HttpContext context)` Determines whether the connection can be kept alive and is safe to be re-used for subsequent message exchanges.

  - ### Uses of HttpClientConnection in org.apache.hc.core5.http.io

    Methods in org.apache.hc.core5.http.io with parameters of type HttpClientConnection
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ResponseOutOfOrderStrategy.`isEarlyResponseDetected(ClassicHttpRequest request, HttpClientConnection connection, InputStream inputStream, long totalBytesSent, long nextWriteSize)` Called before each write to the to a socket `OutputStream` with the number of bytes that have already been sent, and the size of the write that will occur if this check does not encounter an out of order response.

  - ### Uses of HttpClientConnection in org.apache.hc.core5.testing.classic

    Classes in org.apache.hc.core5.testing.classic that implement HttpClientConnection
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LoggingBHttpClientConnection`

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.