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.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
org.apache.hc.core5.http.support | |
org.apache.hc.core5.http2 |
Core HTTP/2 transport component APIs.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ClassicHttpRequest
'Classic'
HttpRequest message that can enclose HttpEntity . |
interface |
ClassicHttpResponse
'Classic'
HttpResponse message that can enclose HttpEntity . |
interface |
HttpRequest
A request message from a client to a server includes, within the
first line of that message, the method to be applied to the resource,
the identifier of the resource, and the protocol version in use.
|
interface |
HttpResponse
After receiving and interpreting a request message, a server responds
with an HTTP response message.
|
Modifier and Type | Method and Description |
---|---|
long |
ContentLengthStrategy.determineLength(HttpMessage message)
Returns length of the given message in bytes.
|
Modifier and Type | Method and Description |
---|---|
long |
DefaultContentLengthStrategy.determineLength(HttpMessage message) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageParser<T extends HttpMessage>
Abstract base class for HTTP message parsers that obtain input from
an instance of
SessionInputBuffer . |
class |
AbstractMessageWriter<T extends HttpMessage>
Abstract base class for HTTP message writers that serialize output to
an instance of
SessionOutputBuffer . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageParser<T extends HttpMessage>
Abstract
NHttpMessageParser that serves as a base for all message
parser implementations. |
class |
AbstractMessageWriter<T extends HttpMessage>
Abstract
NHttpMessageWriter that serves as a base for all message
writer implementations. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageWrapper
Abstract
HttpMessage wrapper. |
class |
BasicClassicHttpRequest
Basic implementation of
ClassicHttpRequest . |
class |
BasicClassicHttpResponse
Basic implementation of
ClassicHttpResponse . |
class |
BasicHttpRequest
Basic implementation of
HttpRequest . |
class |
BasicHttpResponse
Basic implementation of
HttpResponse . |
class |
HttpRequestWrapper
HttpRequest wrapper. |
class |
HttpResponseWrapper
HttpResponse wrapper. |
Modifier and Type | Method and Description |
---|---|
static void |
MessageSupport.addContentEncodingHeader(HttpMessage message,
EntityDetails entity) |
static void |
MessageSupport.addContentTypeHeader(HttpMessage message,
EntityDetails entity) |
static void |
MessageSupport.addTrailerHeader(HttpMessage message,
EntityDetails entity) |
Constructor and Description |
---|
AbstractMessageWrapper(HttpMessage message) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMessageBuilder.digest(HttpMessage message) |
Modifier and Type | Interface and Description |
---|---|
interface |
H2MessageConverter<T extends HttpMessage>
Abstract message converter intended to convert from a list of HTTP/2 headers to object
representing an HTTP message and from an object representing an HTTP message to a list
of HTTP/2 headers.
|
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.