These deal with the fundamental things required for using the
HTTP protocol, such as representing a
message including it's
headers and optional
entity, and
connections
over which messages are sent. In order to prepare messages
before sending or after receiving, there are interceptors for
requests and
responses.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | ConnectionReuseStrategy
Interface for deciding whether a connection can be re-used for subsequent requests and should be kept alive. |
| public interface | |
| public interface | FormattedHeader
An HTTP header which is already formatted. |
| public interface | Header
Represents an HTTP header field. |
| public interface | HeaderElement
One element of an HTTP |
| public interface | HeaderElementIterator
A type-safe iterator for |
| public interface | HeaderIterator
A type-safe iterator for |
| public interface | HttpClientConnection
A client-side HTTP connection, which can be used for sending requests and receiving responses. |
| public interface | HttpConnection
A generic HTTP connection, useful on client and server side. |
| public interface | |
| public interface | HttpConnectionMetrics
The point of access to the statistics of an |
| public interface | HttpEntity
An entity that can be sent or received with an HTTP message. |
| public interface | HttpEntityEnclosingRequest
A request with an entity. |
| public interface | HttpInetConnection
An HTTP connection over the Internet Protocol (IP). |
| public interface | HttpMessage
HTTP messages consist of requests from client to server and responses from server to client. |
| public 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. |
| public interface | HttpRequestFactory
A factory for |
| public interface | HttpRequestInterceptor
HTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol. |
| public interface | HttpResponse
After receiving and interpreting a request message, a server responds with an HTTP response message. |
| public interface | HttpResponseFactory
A factory for |
| public interface | HttpResponseInterceptor
HTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol. |
| public interface | HttpServerConnection
A server-side HTTP connection, which can be used for receiving requests and sending responses. |
| public interface | HttpStatus
Constants enumerating the HTTP status codes. |
| public interface | NameValuePair
A name-value pair parameter used as an element of HTTP messages. |
| public interface | ReasonPhraseCatalog
Interface for obtaining reason phrases for HTTP status codes. |
| public interface | RequestLine
The Request-Line begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF. |
| public interface | StatusLine
The first line of a Response message is the Status-Line, consisting of the protocol version followed by a numeric status code and its associated textual phrase, with each element separated by SP characters. |
| public interface | TokenIterator
An iterator for |
| Modifier and Type | Class and Description |
|---|---|
| public class | ConnectionClosedException
Signals that the connection has been closed unexpectedly. |
| public class | Consts
Commons constants. |
| public class | ContentTooLongException
Signals that HTTP entity content is too long. |
| public class | HttpException
Signals that an HTTP exception has occurred. |
| public class | HttpHeaders
Constants enumerating the HTTP headers. |
| public class | HttpHost
Holds all of the variables needed to describe an HTTP connection to a host. |
| public class | HttpVersion
Represents an HTTP version. |
| public class | MalformedChunkCodingException
Signals a malformed chunked stream. |
| public class | MessageConstraintException
Signals a message constraint violation. |
| public class | MethodNotSupportedException
Signals that an HTTP method is not supported. |
| public class | NoHttpResponseException
Signals that the target server failed to respond with a valid HTTP response. |
| public class | ParseException
Signals a parse error. |
| public class | ProtocolException
Signals that an HTTP protocol violation has occurred. |
| public class | ProtocolVersion
Represents a protocol version. |
| public class | TruncatedChunkException
Signals a truncated chunk in a chunked stream. |
| public class | UnsupportedHttpVersionException
Signals an unsupported version of the HTTP protocol. |