| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ExceptionListener. onError(HttpConnection connection,
       Exception ex) | 
| 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) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultBHttpClientConnectionDefault implementation of  HttpClientConnection. | 
| class  | DefaultBHttpServerConnectionDefault implementation of  HttpServerConnection. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | HttpConnectionEventHandlerIOEventHandlerthat also exposesHttpConnectionproperties. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientHttp1IOEventHandlerIOEventHandlerthat implements
  client side HTTP/1.1 messaging protocol with full support for
  duplexed message transmission and message pipelining. | 
| class  | ClientHttp1StreamDuplexerI/O event handler for events fired by  ProtocolIOSessionthat implements
 client side HTTP/1.1 messaging protocol with full support for
 duplexed message transmission and message pipelining. | 
| class  | ServerHttp1IOEventHandlerIOEventHandlerthat implements
 server side HTTP/1.1 messaging protocol with full support for
 duplexed message transmission and message pipelining. | 
| class  | ServerHttp1StreamDuplexerI/O event handler for events fired by  ProtocolIOSessionthat implements
 server side HTTP/1.1 messaging protocol with full support for
 duplexed message transmission and message pipelining. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | HttpConnectionFactory<T extends HttpConnection>Factory for  HttpConnectioninstances. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | BHttpConnectionAbstract blocking HTTP connection interface. | 
| interface  | HttpClientConnectionA client-side HTTP connection, which can be used for sending
 requests and receiving responses. | 
| interface  | HttpServerConnectionA server-side HTTP connection, which can be used for receiving
 requests and sending responses. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HttpResponseInformationCallback. execute(HttpResponse response,
       HttpConnection connection,
       HttpContext context) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientH2IOEventHandlerIOEventHandlerthat implements
 client side HTTP/2 messaging protocol with full support for
 multiplexed message transmission. | 
| class  | ClientH2StreamMultiplexerI/O event handler for events fired by  ProtocolIOSessionthat implements
 client side HTTP/2 messaging protocol with full support for
 multiplexed message transmission. | 
| class  | ClientHttpProtocolNegotiatorI/O event handler for events fired by  ProtocolIOSessionthat implements
 client side of the HTTP/2 protocol negotiation handshake
 based onHttpVersionPolicyconfiguration. | 
| class  | H2OnlyClientProtocolNegotiatorI/O event handler for events fired by  ProtocolIOSessionthat implements
 client side of the HTTP/2 protocol negotiation handshake always forcing the choice
 of HTTP/2. | 
| class  | H2OnlyServerHttpProtocolNegotiatorI/O event handler for events fired by  ProtocolIOSessionthat implements
 server side of the HTTP/2 protocol negotiation handshake. | 
| class  | ServerH2IOEventHandlerIOEventHandlerthat implements
 server side HTTP/2 messaging protocol with full support for
 multiplexed message transmission. | 
| class  | ServerH2StreamMultiplexerI/O event handler for events fired by  ProtocolIOSessionthat implements
 server side HTTP/2 messaging protocol with full support for
 multiplexed message transmission. | 
| class  | ServerHttpProtocolNegotiatorI/O event handler for events fired by  ProtocolIOSessionthat implements
 server side of the HTTP/2 protocol negotiation handshake
 based onHttpVersionPolicyconfiguration. | 
| 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) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LoggingBHttpClientConnection | 
| class  | LoggingBHttpServerConnection | 
| 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) | 
| 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.