Package org.apache.http
package org.apache.http
Core HTTP component APIs and primitives.
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
.
-
ClassDescriptionSignals that the connection has been closed unexpectedly.Interface for deciding whether a connection can be re-used for subsequent requests and should be kept alive.Commons constants.Signals that HTTP entity content is too long.An HTTP header which is already formatted.Represents an HTTP header field.One element of an HTTP
header
value consisting of a name / value pair and a number of optional name / value parameters.A type-safe iterator forHeaderElement
objects.A type-safe iterator forHeader
objects.A client-side HTTP connection, which can be used for sending requests and receiving responses.A generic HTTP connection, useful on client and server side.HttpConnectionFactory<T extends HttpConnection>Factory forHttpConnection
instances.The point of access to the statistics of anHttpConnection
.An entity that can be sent or received with an HTTP message.A request with an entity.Signals that an HTTP exception has occurred.Constants enumerating the HTTP headers.Holds all of the variables needed to describe an HTTP connection to a host.An HTTP connection over the Internet Protocol (IP).HTTP messages consist of requests from client to server and responses from server to client.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.A factory forHttpRequest
objects.HTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol.After receiving and interpreting a request message, a server responds with an HTTP response message.A factory forHttpResponse
objects.HTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol.A server-side HTTP connection, which can be used for receiving requests and sending responses.Constants enumerating the HTTP status codes.Represents an HTTP version.Signals a malformed chunked stream.Signals a message constraint violation.Signals that an HTTP method is not supported.A name / value pair parameter used as an element of HTTP messages.Signals that the target server failed to respond with a valid HTTP response.Signals a parse error.Signals that an HTTP protocol violation has occurred.Represents a protocol version.Interface for obtaining reason phrases for HTTP status codes.The Request-Line begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF.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.An iterator forString
tokens.Signals a truncated chunk in a chunked stream.Signals an unsupported version of the HTTP protocol.