- handle(HttpRequest, HttpResponse, HttpContext) - Method in interface org.apache.http.protocol.HttpRequestHandler
-
Handles the request and produces a response to be sent back to
the client.
- HANDLE_AUTHENTICATION - Static variable in interface org.apache.http.client.params.ClientPNames
-
Defines whether authentication should be handled automatically.
- HANDLE_REDIRECTS - Static variable in interface org.apache.http.client.params.ClientPNames
-
Defines whether redirects should be handled automatically
- handleException(HttpException, HttpResponse) - Method in class org.apache.http.protocol.HttpService
-
Handles the given exception and generates an HTTP response to be sent
back to the client to inform about the exceptional condition encountered
in the course of the request processing.
- handleLostEntry(HttpRoute) - Method in class org.apache.http.impl.conn.tsccm.AbstractConnPool
-
- handleLostEntry(HttpRoute) - Method in class org.apache.http.impl.conn.tsccm.ConnPoolByRoute
-
- handleReference(Reference) - Method in class org.apache.http.impl.conn.tsccm.AbstractConnPool
-
- handleReference(Reference) - Method in interface org.apache.http.impl.conn.tsccm.RefQueueHandler
-
Deprecated.
Invoked when a reference is found on the queue.
- handleRequest(HttpServerConnection, HttpContext) - Method in class org.apache.http.protocol.HttpService
-
Handles receives one HTTP request over the given connection within the
given execution context and sends a response back to the client.
- handleResponse(HttpResponse) - Method in interface org.apache.http.client.ResponseHandler
-
Processes an
HttpResponse
and returns some value
corresponding to that response.
- handleResponse(HttpResponse) - Method in class org.apache.http.impl.client.BasicResponseHandler
-
Returns the response body as a String if the response was successful (a
2xx status code).
- handleResponse(RoutedRequest, HttpResponse, HttpContext) - Method in class org.apache.http.impl.client.DefaultRequestDirector
-
Analyzes a response to check need for a followup.
- hasBufferedData() - Method in class org.apache.http.impl.io.AbstractSessionInputBuffer
-
- HASH_OFFSET - Static variable in class org.apache.http.util.LangUtils
-
- HASH_SEED - Static variable in class org.apache.http.util.LangUtils
-
- hashCode() - Method in class org.apache.http.auth.AuthScope
-
- hashCode() - Method in class org.apache.http.auth.BasicUserPrincipal
-
- hashCode() - Method in class org.apache.http.auth.NTCredentials
-
- hashCode() - Method in class org.apache.http.auth.NTUserPrincipal
-
- hashCode() - Method in class org.apache.http.auth.UsernamePasswordCredentials
-
- hashCode() - Method in class org.apache.http.conn.routing.HttpRoute
-
Generates a hash code for this route.
- hashCode() - Method in class org.apache.http.conn.routing.RouteTracker
-
Generates a hash code for this tracked route.
- hashCode() - Method in class org.apache.http.conn.scheme.Scheme
-
Obtains a hash code for this scheme.
- hashCode() - Method in class org.apache.http.HttpHost
-
- hashCode() - Method in class org.apache.http.message.BasicHeaderElement
-
- hashCode() - Method in class org.apache.http.message.BasicNameValuePair
-
- hashCode() - Method in class org.apache.http.ProtocolVersion
-
- hashCode(int, int) - Static method in class org.apache.http.util.LangUtils
-
- hashCode(int, boolean) - Static method in class org.apache.http.util.LangUtils
-
- hashCode(int, Object) - Static method in class org.apache.http.util.LangUtils
-
- HASHTABLE_IMPLEMENTATION_PROPERTY - Static variable in class org.apache.commons.logging.LogFactory
-
Setting this system property
(org.apache.commons.logging.LogFactory.HashtableImpl
)
value allows the Hashtable
used to store
classloaders to be substituted by an alternative implementation.
- hasNext() - Method in interface org.apache.http.HeaderElementIterator
-
Indicates whether there is another header element in this
iteration.
- hasNext() - Method in interface org.apache.http.HeaderIterator
-
Indicates whether there is another header in this iteration.
- hasNext() - Method in class org.apache.http.message.BasicHeaderElementIterator
-
- hasNext() - Method in class org.apache.http.message.BasicHeaderIterator
-
- hasNext() - Method in class org.apache.http.message.BasicListHeaderIterator
-
- hasNext() - Method in class org.apache.http.message.BasicTokenIterator
-
- hasNext() - Method in interface org.apache.http.TokenIterator
-
Indicates whether there is another token in this iteration.
- hasProtocolVersion(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicLineParser
-
- hasProtocolVersion(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.LineParser
-
Checks whether there likely is a protocol version in a line.
- hasThread() - Method in class org.apache.http.impl.conn.tsccm.RouteSpecificPool
-
Checks whether there is a waiting thread in this pool.
- Header - Interface in org.apache.http
-
Represents an HTTP header field.
- HeaderElement - Interface in org.apache.http
-
One element of an HTTP
header
value consisting of
a name / value pair and a number of optional name / value parameters.
- HeaderElementIterator - Interface in org.apache.http
-
- headergroup - Variable in class org.apache.http.message.AbstractHttpMessage
-
- HeaderGroup - Class in org.apache.http.message
-
A class for combining a set of headers.
- HeaderGroup() - Constructor for class org.apache.http.message.HeaderGroup
-
Constructor for HeaderGroup.
- headerIt - Variable in class org.apache.http.message.BasicTokenIterator
-
The iterator from which to obtain the next header.
- HeaderIterator - Interface in org.apache.http
-
A type-safe iterator for
Header
objects.
- headerIterator() - Method in interface org.apache.http.HttpMessage
-
Returns an iterator of all the headers.
- headerIterator(String) - Method in interface org.apache.http.HttpMessage
-
Returns an iterator of the headers with a given name.
- headerIterator() - Method in class org.apache.http.message.AbstractHttpMessage
-
- headerIterator(String) - Method in class org.apache.http.message.AbstractHttpMessage
-
- headerName - Variable in class org.apache.http.message.BasicHeaderIterator
-
The header name to filter by.
- headerName - Variable in class org.apache.http.message.BasicListHeaderIterator
-
The header name to filter by.
- HeaderValueFormatter - Interface in org.apache.http.message
-
Interface for formatting elements of a header value.
- HeaderValueParser - Interface in org.apache.http.message
-
Interface for parsing header values into elements.
- hostname - Variable in class org.apache.http.HttpHost
-
The host to use.
- HostNameResolver - Interface in org.apache.http.conn.scheme
-
Hostname to IP address resolver.
- HT - Static variable in class org.apache.http.protocol.HTTP
-
- HTTP - Static variable in class org.apache.http.HttpVersion
-
The protocol name.
- HTTP - Class in org.apache.http.protocol
-
Constants and static helpers related to the HTTP protocol.
- HTTP_0_9 - Static variable in class org.apache.http.HttpVersion
-
HTTP protocol version 0.9
- HTTP_1_0 - Static variable in class org.apache.http.HttpVersion
-
HTTP protocol version 1.0
- HTTP_1_1 - Static variable in class org.apache.http.HttpVersion
-
HTTP protocol version 1.1
- HTTP_CONNECTION - Static variable in interface org.apache.http.protocol.ExecutionContext
-
Attribute name of a
HttpConnection
object that
represents the actual HTTP connection.
- HTTP_CONTENT_CHARSET - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Defines the charset to be used per default for encoding content body.
- HTTP_ELEMENT_CHARSET - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Defines the charset to be used for encoding HTTP protocol elements.
- HTTP_PROXY_HOST - Static variable in interface org.apache.http.protocol.ExecutionContext
-
Attribute name of a
HttpHost
object that
represents the connection proxy.
- HTTP_REQ_SENT - Static variable in interface org.apache.http.protocol.ExecutionContext
-
Attribute name of a Boolean
object that represents the
the flag indicating whether the actual request has been fully transmitted
to the target host.
- HTTP_REQUEST - Static variable in interface org.apache.http.protocol.ExecutionContext
-
Attribute name of a
HttpRequest
object that
represents the actual HTTP request.
- HTTP_RESPONSE - Static variable in interface org.apache.http.protocol.ExecutionContext
-
Attribute name of a
HttpResponse
object that
represents the actual HTTP response.
- HTTP_SEPARATORS - Static variable in class org.apache.http.message.BasicTokenIterator
-
The HTTP separator characters.
- HTTP_TARGET_HOST - Static variable in interface org.apache.http.protocol.ExecutionContext
-
Attribute name of a
HttpHost
object that
represents the connection target.
- HttpAbstractParamBean - Class in org.apache.http.params
-
- HttpAbstractParamBean(HttpParams) - Constructor for class org.apache.http.params.HttpAbstractParamBean
-
- HttpClient - Interface in org.apache.http.client
-
This interface represents only the most basic contract for HTTP request
execution.
- HttpClientConnection - Interface in org.apache.http
-
A client-side HTTP connection, which can be used for sending
requests and receiving responses.
- HttpClientParams - Class in org.apache.http.client.params
-
An adaptor for manipulating HTTP client parameters in
HttpParams
.
- HttpConnection - Interface in org.apache.http
-
A generic HTTP connection, useful on client and server side.
- HttpConnectionMetrics - Interface in org.apache.http
-
- HttpConnectionMetricsImpl - Class in org.apache.http.impl
-
- HttpConnectionMetricsImpl(HttpTransportMetrics, HttpTransportMetrics) - Constructor for class org.apache.http.impl.HttpConnectionMetricsImpl
-
- HttpConnectionParamBean - Class in org.apache.http.params
-
This is a Java Bean class that can be used to wrap an instance of
HttpParams
and manipulate HTTP connection parameters using Java Beans
conventions.
- HttpConnectionParamBean(HttpParams) - Constructor for class org.apache.http.params.HttpConnectionParamBean
-
- HttpConnectionParams - Class in org.apache.http.params
-
Utility class for accessing connection parameters in
HttpParams
.
- HttpContext - Interface in org.apache.http.protocol
-
HttpCotext represents execution state of an HTTP process.
- HttpDateGenerator - Class in org.apache.http.protocol
-
Generates a date in the format required by the HTTP protocol.
- HttpDateGenerator() - Constructor for class org.apache.http.protocol.HttpDateGenerator
-
- HttpDelete - Class in org.apache.http.client.methods
-
HTTP DELETE method
- HttpDelete() - Constructor for class org.apache.http.client.methods.HttpDelete
-
- HttpDelete(URI) - Constructor for class org.apache.http.client.methods.HttpDelete
-
- HttpDelete(String) - Constructor for class org.apache.http.client.methods.HttpDelete
-
- HttpEntity - Interface in org.apache.http
-
An entity that can be sent or received with an HTTP message.
- HttpEntityEnclosingRequest - Interface in org.apache.http
-
A request with an entity.
- HttpEntityEnclosingRequestBase - Class in org.apache.http.client.methods
-
Basic implementation of an entity enclosing HTTP request
that can be modified
- HttpEntityEnclosingRequestBase() - Constructor for class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
-
- HttpEntityWrapper - Class in org.apache.http.entity
-
Base class for wrapping entities.
- HttpEntityWrapper(HttpEntity) - Constructor for class org.apache.http.entity.HttpEntityWrapper
-
Creates a new entity wrapper.
- HttpException - Exception in org.apache.http
-
Signals that an HTTP exception has occurred.
- HttpException() - Constructor for exception org.apache.http.HttpException
-
Creates a new HttpException with a null detail message.
- HttpException(String) - Constructor for exception org.apache.http.HttpException
-
Creates a new HttpException with the specified detail message.
- HttpException(String, Throwable) - Constructor for exception org.apache.http.HttpException
-
Creates a new HttpException with the specified detail message and cause.
- HttpExpectationVerifier - Interface in org.apache.http.protocol
-
Defines an interface to verify whether an incoming HTTP request meets
the target server's expectations.
- HttpGet - Class in org.apache.http.client.methods
-
HTTP GET method.
- HttpGet() - Constructor for class org.apache.http.client.methods.HttpGet
-
- HttpGet(URI) - Constructor for class org.apache.http.client.methods.HttpGet
-
- HttpGet(String) - Constructor for class org.apache.http.client.methods.HttpGet
-
- HttpHead - Class in org.apache.http.client.methods
-
HTTP HEAD method.
- HttpHead() - Constructor for class org.apache.http.client.methods.HttpHead
-
- HttpHead(URI) - Constructor for class org.apache.http.client.methods.HttpHead
-
- HttpHead(String) - Constructor for class org.apache.http.client.methods.HttpHead
-
- HttpHost - Class in org.apache.http
-
Holds all of the variables needed to describe an HTTP connection to a host.
- HttpHost(String, int, String) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost
, specifying all values.
- HttpHost(String, int) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost
, with default scheme.
- HttpHost(String) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost
, with default scheme and port.
- HttpHost(HttpHost) - Constructor for class org.apache.http.HttpHost
-
- HttpHostConnectException - Exception in org.apache.http.conn
-
A
ConnectException
that specifies the
HttpHost
that was
being connected to.
- HttpHostConnectException(HttpHost, ConnectException) - Constructor for exception org.apache.http.conn.HttpHostConnectException
-
- HttpInetConnection - Interface in org.apache.http
-
An HTTP connection over the Internet Protocol (IP).
- HttpMessage - Interface in org.apache.http
-
HTTP messages consist of requests from client to server and responses
from server to client.
- HttpMessageParser - Interface in org.apache.http.io
-
Abstract message parser intended to build HTTP messages from an arbitrary
data source.
- HttpMessageWriter - Interface in org.apache.http.io
-
Abstract message writer intended to serialize HTTP messages to an arbitrary
data sink.
- HttpOptions - Class in org.apache.http.client.methods
-
HTTP OPTIONS method.
- HttpOptions() - Constructor for class org.apache.http.client.methods.HttpOptions
-
- HttpOptions(URI) - Constructor for class org.apache.http.client.methods.HttpOptions
-
- HttpOptions(String) - Constructor for class org.apache.http.client.methods.HttpOptions
-
- HttpParams - Interface in org.apache.http.params
-
HttpParams interface represents a collection of immutable values that define
a runtime behavior of a component.
- HttpPost - Class in org.apache.http.client.methods
-
HTTP POST method.
- HttpPost() - Constructor for class org.apache.http.client.methods.HttpPost
-
- HttpPost(URI) - Constructor for class org.apache.http.client.methods.HttpPost
-
- HttpPost(String) - Constructor for class org.apache.http.client.methods.HttpPost
-
- httpProcessor - Variable in class org.apache.http.impl.client.DefaultRequestDirector
-
The HTTP protocol processor.
- HttpProcessor - Interface in org.apache.http.protocol
-
HTTP protocol processor is a collection of protocol interceptors that
implements the 'Chain of Responsibility' pattern, where each individual
protocol interceptor is expected to work on a particular aspect of the HTTP
protocol the interceptor is responsible for.
- HttpProtocolParamBean - Class in org.apache.http.params
-
This is a Java Bean class that can be used to wrap an instance of
HttpParams
and manipulate HTTP protocol parameters using Java Beans
conventions.
- HttpProtocolParamBean(HttpParams) - Constructor for class org.apache.http.params.HttpProtocolParamBean
-
- HttpProtocolParams - Class in org.apache.http.params
-
Utility class for accessing protocol parameters in
HttpParams
.
- HttpPut - Class in org.apache.http.client.methods
-
HTTP PUT method.
- HttpPut() - Constructor for class org.apache.http.client.methods.HttpPut
-
- HttpPut(URI) - Constructor for class org.apache.http.client.methods.HttpPut
-
- HttpPut(String) - Constructor for class org.apache.http.client.methods.HttpPut
-
- HttpRequest - Interface in org.apache.http
-
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.
- HttpRequestBase - Class in org.apache.http.client.methods
-
Basic implementation of an HTTP request that can be modified.
- HttpRequestBase() - Constructor for class org.apache.http.client.methods.HttpRequestBase
-
- HttpRequestExecutor - Class in org.apache.http.protocol
-
HttpRequestExecutor is a client side HTTP protocol handler based on the
blocking I/O model that implements the essential requirements of the HTTP
protocol for the client side message processing, as described by RFC 2616.
- HttpRequestExecutor() - Constructor for class org.apache.http.protocol.HttpRequestExecutor
-
Create a new request executor.
- HttpRequestFactory - Interface in org.apache.http
-
- HttpRequestHandler - Interface in org.apache.http.protocol
-
HttpRequestHandler represents a routine for processing of a specific group
of HTTP requests.
- HttpRequestHandlerRegistry - Class in org.apache.http.protocol
-
Maintains a map of HTTP request handlers keyed by a request URI pattern.
- HttpRequestHandlerRegistry() - Constructor for class org.apache.http.protocol.HttpRequestHandlerRegistry
-
- HttpRequestHandlerResolver - Interface in org.apache.http.protocol
-
HttpRequestHandlerResolver can be used to resolve an instance of
HttpRequestHandler
matching a particular request URI.
- HttpRequestInterceptor - Interface in org.apache.http
-
HTTP protocol interceptor is a routine that implements a specific aspect of
the HTTP protocol.
- HttpRequestInterceptorList - Interface in org.apache.http.protocol
-
Provides access to an ordered list of request interceptors.
- HttpRequestParser - Class in org.apache.http.impl.io
-
- HttpRequestParser(SessionInputBuffer, LineParser, HttpRequestFactory, HttpParams) - Constructor for class org.apache.http.impl.io.HttpRequestParser
-
Creates an instance of this class.
- HttpRequestRetryHandler - Interface in org.apache.http.client
-
A handler for determining if an HttpRequest should be retried after a
recoverable exception during execution.
- HttpRequestWriter - Class in org.apache.http.impl.io
-
- HttpRequestWriter(SessionOutputBuffer, LineFormatter, HttpParams) - Constructor for class org.apache.http.impl.io.HttpRequestWriter
-
- HttpResponse - Interface in org.apache.http
-
After receiving and interpreting a request message, a server responds
with an HTTP response message.
- HttpResponseException - Exception in org.apache.http.client
-
Signals a non 2xx HTTP response.
- HttpResponseException(int, String) - Constructor for exception org.apache.http.client.HttpResponseException
-
- HttpResponseFactory - Interface in org.apache.http
-
- HttpResponseInterceptor - Interface in org.apache.http
-
HTTP protocol interceptor is a routine that implements a specific aspect of
the HTTP protocol.
- HttpResponseInterceptorList - Interface in org.apache.http.protocol
-
Provides access to an ordered list of response interceptors.
- HttpResponseParser - Class in org.apache.http.impl.io
-
- HttpResponseParser(SessionInputBuffer, LineParser, HttpResponseFactory, HttpParams) - Constructor for class org.apache.http.impl.io.HttpResponseParser
-
Creates an instance of this class.
- HttpResponseWriter - Class in org.apache.http.impl.io
-
- HttpResponseWriter(SessionOutputBuffer, LineFormatter, HttpParams) - Constructor for class org.apache.http.impl.io.HttpResponseWriter
-
- HttpRoute - Class in org.apache.http.conn.routing
-
The route for a request.
- HttpRoute(HttpHost, InetAddress, HttpHost[], boolean, int, int) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new route with all attributes specified explicitly.
- HttpRoute(HttpHost, InetAddress, HttpHost, boolean, int, int) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new route with at most one proxy.
- HttpRoute(HttpHost, InetAddress, boolean) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new direct route.
- HttpRoute(HttpHost) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new direct insecure route.
- HttpRoute(HttpHost, InetAddress, HttpHost, boolean) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new route through a proxy.
- HttpRouteDirector - Interface in org.apache.http.conn.routing
-
Provides directions on establishing a route.
- HttpRoutePlanner - Interface in org.apache.http.conn.routing
-
Encapsulates logic to compute a
HttpRoute
to a target host.
- HttpServerConnection - Interface in org.apache.http
-
A server-side HTTP connection, which can be used for receiving
requests and sending responses.
- HttpService - Class in org.apache.http.protocol
-
HttpService is a server side HTTP protocol handler based in the blocking
I/O model that implements the essential requirements of the HTTP protocol
for the server side message processing as described by RFC 2616.
- HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory) - Constructor for class org.apache.http.protocol.HttpService
-
Create a new HTTP service.
- HttpStatus - Interface in org.apache.http
-
Constants enumerating the HTTP status codes.
- HttpTrace - Class in org.apache.http.client.methods
-
HTTP TRACE method.
- HttpTrace() - Constructor for class org.apache.http.client.methods.HttpTrace
-
- HttpTrace(URI) - Constructor for class org.apache.http.client.methods.HttpTrace
-
- HttpTrace(String) - Constructor for class org.apache.http.client.methods.HttpTrace
-
- HttpTransportMetrics - Interface in org.apache.http.io
-
- HttpTransportMetricsImpl - Class in org.apache.http.impl.io
-
- HttpTransportMetricsImpl() - Constructor for class org.apache.http.impl.io.HttpTransportMetricsImpl
-
- HttpUriRequest - Interface in org.apache.http.client.methods
-
Extended version of the
HttpRequest
interface that provides
convenience methods to access request properties such as request URI
and method type.
- HttpVersion - Class in org.apache.http
-
Represents an HTTP version.
- HttpVersion(int, int) - Constructor for class org.apache.http.HttpVersion
-
Create an HTTP protocol version designator.