## Uses of Interface
org.apache.hc.core5.http.HttpConnection

- Packages that use HttpConnection
  Package | Description
  --- | ---
  org.apache.hc.core5.http | Core HTTP transport component APIs.
  org.apache.hc.core5.http.impl | Default implementations of core HTTP APIs.
  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.impl.nio | Default implementation of HTTP/1.1 transport based on the asynchronous (non-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.http2.impl.nio | Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.testing.classic |
  org.apache.hc.core5.testing.nio |

- - ### Uses of HttpConnection in org.apache.hc.core5.http

    Methods in org.apache.hc.core5.http with parameters of type HttpConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExceptionListener.`onError(HttpConnection connection, Exception ex)`

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

    Methods in org.apache.hc.core5.http.impl with parameters of type HttpConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | Http1StreamListener.`onExchangeComplete(HttpConnection connection, boolean keepAlive)`
    `void` | Http1StreamListener.`onRequestHead(HttpConnection connection, HttpRequest request)`
    `void` | Http1StreamListener.`onResponseHead(HttpConnection connection, HttpResponse response)`

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

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

  - ### Uses of HttpConnection in org.apache.hc.core5.http.impl.nio

    Subinterfaces of HttpConnection in org.apache.hc.core5.http.impl.nio
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `HttpConnectionEventHandler` `IOEventHandler` that also exposes `HttpConnection` properties.

    Classes in org.apache.hc.core5.http.impl.nio that implement HttpConnection
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ClientHttp1IOEventHandler` `IOEventHandler` that implements client side HTTP/1.1 messaging protocol with full support for duplexed message transmission and message pipelining.
    `class` | `ClientHttp1StreamDuplexer` I/O event handler for events fired by `ProtocolIOSession` that implements client side HTTP/1.1 messaging protocol with full support for duplexed message transmission and message pipelining.
    `class` | `ServerHttp1IOEventHandler` `IOEventHandler` that implements server side HTTP/1.1 messaging protocol with full support for duplexed message transmission and message pipelining.
    `class` | `ServerHttp1StreamDuplexer` I/O event handler for events fired by `ProtocolIOSession` that implements server side HTTP/1.1 messaging protocol with full support for duplexed message transmission and message pipelining.

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

    Classes in org.apache.hc.core5.http.io with type parameters of type HttpConnection
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `HttpConnectionFactory<T extends HttpConnection>` Factory for `HttpConnection` instances.

    Subinterfaces of HttpConnection in org.apache.hc.core5.http.io
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `BHttpConnection` Abstract blocking HTTP connection interface.
    `interface` | `HttpClientConnection` A client-side HTTP connection, which can be used for sending requests and receiving responses.
    `interface` | `HttpServerConnection` A server-side HTTP connection, which can be used for receiving requests and sending responses.

    Methods in org.apache.hc.core5.http.io with parameters of type HttpConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpResponseInformationCallback.`execute(HttpResponse response, HttpConnection connection, HttpContext context)`

  - ### Uses of HttpConnection in org.apache.hc.core5.http2.impl.nio

    Classes in org.apache.hc.core5.http2.impl.nio that implement HttpConnection
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ClientH2IOEventHandler` `IOEventHandler` that implements client side HTTP/2 messaging protocol with full support for multiplexed message transmission.
    `class` | `ClientH2StreamMultiplexer` I/O event handler for events fired by `ProtocolIOSession` that implements client side HTTP/2 messaging protocol with full support for multiplexed message transmission.
    `class` | `ClientHttpProtocolNegotiator` I/O event handler for events fired by `ProtocolIOSession` that implements client side of the HTTP/2 protocol negotiation handshake based on `HttpVersionPolicy` configuration.
    `class` | `H2OnlyClientProtocolNegotiator` I/O event handler for events fired by `ProtocolIOSession` that implements client side of the HTTP/2 protocol negotiation handshake always forcing the choice of HTTP/2.
    `class` | `H2OnlyServerHttpProtocolNegotiator` I/O event handler for events fired by `ProtocolIOSession` that implements server side of the HTTP/2 protocol negotiation handshake.
    `class` | `ServerH2IOEventHandler` `IOEventHandler` that implements server side HTTP/2 messaging protocol with full support for multiplexed message transmission.
    `class` | `ServerH2StreamMultiplexer` I/O event handler for events fired by `ProtocolIOSession` that implements server side HTTP/2 messaging protocol with full support for multiplexed message transmission.
    `class` | `ServerHttpProtocolNegotiator` I/O event handler for events fired by `ProtocolIOSession` that implements server side of the HTTP/2 protocol negotiation handshake based on `HttpVersionPolicy` configuration.

    Methods in org.apache.hc.core5.http2.impl.nio with parameters of type HttpConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | H2StreamListener.`onFrameInput(HttpConnection connection, int streamId, RawFrame frame)`
    `void` | H2StreamListener.`onFrameOutput(HttpConnection connection, int streamId, RawFrame frame)`
    `void` | H2StreamListener.`onHeaderInput(HttpConnection connection, int streamId, List<? extends Header> headers)`
    `void` | H2StreamListener.`onHeaderOutput(HttpConnection connection, int streamId, List<? extends Header> headers)`
    `void` | H2StreamListener.`onInputFlowControl(HttpConnection connection, int streamId, int delta, int actualSize)`
    `void` | H2StreamListener.`onOutputFlowControl(HttpConnection connection, int streamId, int delta, int actualSize)`

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

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

    Methods in org.apache.hc.core5.testing.classic with parameters of type HttpConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | LoggingExceptionListener.`onError(HttpConnection conn, Exception ex)`
    `void` | LoggingHttp1StreamListener.`onExchangeComplete(HttpConnection connection, boolean keepAlive)`
    `void` | LoggingHttp1StreamListener.`onRequestHead(HttpConnection connection, HttpRequest request)`
    `void` | LoggingHttp1StreamListener.`onResponseHead(HttpConnection connection, HttpResponse response)`

  - ### Uses of HttpConnection in org.apache.hc.core5.testing.nio

    Methods in org.apache.hc.core5.testing.nio with parameters of type HttpConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | LoggingHttp1StreamListener.`onExchangeComplete(HttpConnection connection, boolean keepAlive)`
    `void` | LoggingH2StreamListener.`onFrameInput(HttpConnection connection, int streamId, RawFrame frame)`
    `void` | LoggingH2StreamListener.`onFrameOutput(HttpConnection connection, int streamId, RawFrame frame)`
    `void` | LoggingH2StreamListener.`onHeaderInput(HttpConnection connection, int streamId, List<? extends Header> headers)`
    `void` | LoggingH2StreamListener.`onHeaderOutput(HttpConnection connection, int streamId, List<? extends Header> headers)`
    `void` | LoggingH2StreamListener.`onInputFlowControl(HttpConnection connection, int streamId, int delta, int actualSize)`
    `void` | LoggingH2StreamListener.`onOutputFlowControl(HttpConnection connection, int streamId, int delta, int actualSize)`
    `void` | LoggingHttp1StreamListener.`onRequestHead(HttpConnection connection, HttpRequest request)`
    `void` | LoggingHttp1StreamListener.`onResponseHead(HttpConnection connection, HttpResponse response)`

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