These deal with the fundamental things required for using the
HTTP protocol, such as representing a
message including it's
headers and optional
over which messages are sent. In order to prepare messages
before sending or after receiving, there are interceptors for
Interface Summary Interface Description ConnectionReuseStrategyInterface for deciding whether a connection can be re-used for subsequent requests and should be kept alive. ExceptionLogger FormattedHeaderAn HTTP header which is already formatted. HeaderRepresents an HTTP header field. HeaderElementOne element of an HTTP
headervalue consisting of a name / value pair and a number of optional name / value parameters.
HeaderElementIteratorA type-safe iterator for
HeaderIteratorA type-safe iterator for
HttpClientConnectionA client-side HTTP connection, which can be used for sending requests and receiving responses. HttpConnectionA generic HTTP connection, useful on client and server side. HttpConnectionFactory<T extends HttpConnection>Factory for
HttpConnectionMetricsThe point of access to the statistics of an
HttpEntityAn entity that can be sent or received with an HTTP message. HttpEntityEnclosingRequestA request with an entity. HttpInetConnectionAn HTTP connection over the Internet Protocol (IP). HttpMessageHTTP messages consist of requests from client to server and responses from server to client. HttpRequestA 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. HttpRequestFactoryA factory for
HttpRequestInterceptorHTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol. HttpResponseAfter receiving and interpreting a request message, a server responds with an HTTP response message. HttpResponseFactoryA factory for
HttpResponseInterceptorHTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol. HttpServerConnectionA server-side HTTP connection, which can be used for receiving requests and sending responses. HttpStatusConstants enumerating the HTTP status codes. NameValuePairA name / value pair parameter used as an element of HTTP messages. ReasonPhraseCatalogInterface for obtaining reason phrases for HTTP status codes. RequestLineThe Request-Line begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF. StatusLineThe 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. TokenIteratorAn iterator for
Class Summary Class Description ConstsCommons constants. HttpHeadersConstants enumerating the HTTP headers. HttpHostHolds all of the variables needed to describe an HTTP connection to a host. HttpVersionRepresents an HTTP version. ProtocolVersionRepresents a protocol version.
Exception Summary Exception Description ConnectionClosedExceptionSignals that the connection has been closed unexpectedly. ContentTooLongExceptionSignals that HTTP entity content is too long. HttpExceptionSignals that an HTTP exception has occurred. MalformedChunkCodingExceptionSignals a malformed chunked stream. MessageConstraintExceptionSignals a message constraint violation. MethodNotSupportedExceptionSignals that an HTTP method is not supported. NoHttpResponseExceptionSignals that the target server failed to respond with a valid HTTP response. ParseExceptionSignals a parse error. ProtocolExceptionSignals that an HTTP protocol violation has occurred. TruncatedChunkExceptionSignals a truncated chunk in a chunked stream. UnsupportedHttpVersionExceptionSignals an unsupported version of the HTTP protocol.