Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Aborts the execution of the HTTP method.
- abort() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Aborts the execution of this method.
- abs_path - Static variable in class org.apache.commons.httpclient.URI
-
URI absolute path.
- absoluteURI - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for absoluteURI.
- add(HttpConnection) - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
-
Registers the given connection with this handler.
- addConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Adds a connection manager to be handled by this class.
- addContentLengthRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Generates Content-Length or Transfer-Encoding: Chunked request header, as long as no Content-Length request header already exists.
- addContentLengthRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Adds a Content-Length request header, as long as no Content-Length request header already exists.
- addContentTypeRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Adds a Content-Type request header.
- addCookie(Cookie) - Method in class org.apache.commons.httpclient.HttpState
-
Adds an
HTTP cookie
, replacing any existing equivalent cookies. - addCookieRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
-
This method does nothing.
- addCookieRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates Cookie request headers for those
cookie
s that match the given host, port and path. - addCookies(Cookie[]) - Method in class org.apache.commons.httpclient.HttpState
-
Adds an array of
HTTP cookies
. - addHeader(Header) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Adds the given header to the group.
- addHostRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates Host request header, as long as no Host request header already exists.
- addParameter(String, File) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Adds a binary file part
- addParameter(String, String) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Adds a text field part
- addParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Adds a new parameter to be used in the POST request body.
- addParameter(String, String, File) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Adds a binary file part with the given file name
- addParameter(NameValuePair) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Adds a new parameter to be used in the POST request body.
- addParameters(NameValuePair[]) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Adds an array of parameters to be used in the POST request body.
- addPart(Part) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Adds a part.
- addProxyConnectionHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates Proxy-Connection: Keep-Alive request header when communicating via a proxy server.
- addRequestHeader(String, String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Adds the specified request header, not overwriting any previous value.
- addRequestHeader(String, String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Adds the specified request header, NOT overwriting any previous value.
- addRequestHeader(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Adds the specified request header, not overwriting any previous value.
- addRequestHeader(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Adds the specified request header, NOT overwriting any previous value.
- addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
-
Populates the request headers map to with additional
headers
to be submitted to the givenHttpConnection
. - addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates all the required request
header
s to be submitted via the givenconnection
. - addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Populates the request headers map to with additional
headers
to be submitted to the givenHttpConnection
. - addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
Sets the Expect header if it has not already been set, in addition to the "standard" set of headers.
- addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Populates the request headers map to with additional
headers
to be submitted to the givenHttpConnection
. - addResponseFooter(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Add a footer to this method's response.
- addResponseFooter(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Use this method internally to add footers.
- addUserAgentRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates default User-Agent request header, as long as no User-Agent request header already exists.
- ALLOW_CIRCULAR_REDIRECTS - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
-
Defines whether circular redirects (redirects to the same location) should be allowed.
- allowed_abs_path - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the abs_path.
- allowed_authority - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the authority component.
- allowed_fragment - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the fragment component.
- allowed_host - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the host component.
- allowed_IPv6reference - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the IPv6reference component.
- allowed_opaque_part - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the opaque_part.
- allowed_query - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the query component.
- allowed_reg_name - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the reg_name.
- allowed_rel_path - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the rel_path.
- allowed_userinfo - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the userinfo component.
- allowed_within_authority - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for the authority component.
- allowed_within_path - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed within the path.
- allowed_within_query - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed within the query component.
- allowed_within_userinfo - Static variable in class org.apache.commons.httpclient.URI
-
Those characters that are allowed for within the userinfo component.
- alpha - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for alpha.
- alphanum - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for alphanum (join of alpha & digit).
- ANY - Static variable in class org.apache.commons.httpclient.auth.AuthScope
-
Default scope matching any host, port, realm and authentication scheme.
- ANY_HOST - Static variable in class org.apache.commons.httpclient.auth.AuthScope
-
The null value represents any host.
- ANY_HOST_CONFIGURATION - Static variable in class org.apache.commons.httpclient.HostConfiguration
-
A value to represent any host configuration, instead of using something like
null
. - ANY_PORT - Static variable in class org.apache.commons.httpclient.auth.AuthScope
-
The -1 value represents any port.
- ANY_REALM - Static variable in class org.apache.commons.httpclient.auth.AuthScope
-
The null value represents any realm.
- ANY_SCHEME - Static variable in class org.apache.commons.httpclient.auth.AuthScope
-
The null value represents any authentication scheme.
- assertNotOpen() - Method in class org.apache.commons.httpclient.HttpConnection
-
Throws an
IllegalStateException
if the connection is already open. - assertOpen() - Method in class org.apache.commons.httpclient.HttpConnection
-
Throws an
IllegalStateException
if the connection is not open. - AUTH_SCHEME_PRIORITY - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
-
The key used to look up the list of IDs of supported
authentication schemes
in their order of preference. - AuthChallengeException - Exception Class in org.apache.commons.httpclient.auth
-
Signals a failure processing authentication challenge
- AuthChallengeException() - Constructor for exception class org.apache.commons.httpclient.auth.AuthChallengeException
-
Creates a new AuthChallengeException with a null detail message.
- AuthChallengeException(String) - Constructor for exception class org.apache.commons.httpclient.auth.AuthChallengeException
-
Creates a new AuthChallengeException with the specified message.
- AuthChallengeException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.auth.AuthChallengeException
-
Creates a new AuthChallengeException with the specified detail message and cause.
- AuthChallengeParser - Class in org.apache.commons.httpclient.auth
-
This class provides utility methods for parsing HTTP www and proxy authentication challenges.
- AuthChallengeParser() - Constructor for class org.apache.commons.httpclient.auth.AuthChallengeParser
- AuthChallengeProcessor - Class in org.apache.commons.httpclient.auth
-
This class provides utility methods for processing HTTP www and proxy authentication challenges.
- AuthChallengeProcessor(HttpParams) - Constructor for class org.apache.commons.httpclient.auth.AuthChallengeProcessor
-
Creates an authentication challenge processor with the given
HTTP parameters
- authenticate(AuthScheme, HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.use AuthScheme
- authenticate(Credentials, String, String) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Deprecated.Use
AuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set ofCredentials
, method name and URI using the given authentication scheme in response to the actual authorization challenge. - authenticate(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Deprecated.
- authenticate(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Deprecated.
- authenticate(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Deprecated.
- authenticate(Credentials, HttpMethod) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Produces an authorization string for the given set of
Credentials
. - authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Produces basic authorization string for the given set of
Credentials
. - authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Produces a digest authorization string for the given set of
Credentials
, method name and URI. - authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Produces NTLM authorization string for the given set of
Credentials
. - authenticate(NTCredentials, String) - Static method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Deprecated.Use non-static
NTLMScheme.authenticate(Credentials, HttpMethod)
- authenticate(NTCredentials, String, String) - Static method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Deprecated.Use non-static
NTLMScheme.authenticate(Credentials, HttpMethod)
- authenticate(UsernamePasswordCredentials) - Static method in class org.apache.commons.httpclient.auth.BasicScheme
-
Deprecated.Use
BasicScheme.authenticate(UsernamePasswordCredentials, String)
Returns a basic Authorization header value for the givenUsernamePasswordCredentials
. - authenticate(UsernamePasswordCredentials, String) - Static method in class org.apache.commons.httpclient.auth.BasicScheme
-
Returns a basic Authorization header value for the given
UsernamePasswordCredentials
and charset. - authenticateDefault(HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.use AuthScheme
- authenticateProxy(AuthScheme, HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.use AuthScheme
- authenticateProxyDefault(HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.use AuthScheme
- AuthenticationException - Exception Class in org.apache.commons.httpclient.auth
-
Signals a failure in authentication process
- AuthenticationException() - Constructor for exception class org.apache.commons.httpclient.auth.AuthenticationException
-
Creates a new AuthenticationException with a null detail message.
- AuthenticationException(String) - Constructor for exception class org.apache.commons.httpclient.auth.AuthenticationException
-
Creates a new AuthenticationException with the specified message.
- AuthenticationException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.auth.AuthenticationException
-
Creates a new AuthenticationException with the specified detail message and cause.
- authority - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for authority.
- AuthPolicy - Class in org.apache.commons.httpclient.auth
-
Authentication policy class.
- AuthPolicy() - Constructor for class org.apache.commons.httpclient.auth.AuthPolicy
- AuthScheme - Interface in org.apache.commons.httpclient.auth
-
This interface represents an abstract challenge-response oriented authentication scheme.
- AuthSchemeBase - Class in org.apache.commons.httpclient.auth
-
Deprecated.No longer used
- AuthSchemeBase(String) - Constructor for class org.apache.commons.httpclient.auth.AuthSchemeBase
-
Deprecated.Use parameterless constructor and
AuthScheme.processChallenge(String)
method - AuthScope - Class in org.apache.commons.httpclient.auth
-
The class represents an authentication scope consisting of a host name, a port number, a realm name and an authentication scheme name which
Credentials
apply to. - AuthScope(String, int) - Constructor for class org.apache.commons.httpclient.auth.AuthScope
-
Creates a new credentials scope for the given host, port, any realm name, and any authentication scheme.
- AuthScope(String, int, String) - Constructor for class org.apache.commons.httpclient.auth.AuthScope
-
Creates a new credentials scope for the given host, port, realm, and any authentication scheme.
- AuthScope(String, int, String, String) - Constructor for class org.apache.commons.httpclient.auth.AuthScope
-
Creates a new credentials scope for the given host, port, realm, and authentication scheme.
- AuthScope(AuthScope) - Constructor for class org.apache.commons.httpclient.auth.AuthScope
-
Creates a copy of the given credentials scope.
- AuthState - Class in org.apache.commons.httpclient.auth
-
This class provides detailed information about the state of the authentication process.
- AuthState() - Constructor for class org.apache.commons.httpclient.auth.AuthState
-
Default constructor.
- available() - Method in class org.apache.commons.httpclient.ContentLengthInputStream
B
- BASIC - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
-
Basic authentication scheme as defined in RFC2617 (considered inherently insecure, but most widely supported)
- BasicScheme - Class in org.apache.commons.httpclient.auth
-
Basic authentication scheme as defined in RFC 2617.
- BasicScheme() - Constructor for class org.apache.commons.httpclient.auth.BasicScheme
-
Default constructor for the basic authetication scheme.
- BasicScheme(String) - Constructor for class org.apache.commons.httpclient.auth.BasicScheme
-
Deprecated.Use parameterless constructor and
AuthScheme.processChallenge(String)
method - BOUNDARY - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Deprecated.
- BOUNDARY_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Deprecated.
- BROWSER_COMPATIBILITY - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
The policy that provides high degree of compatibilty with common cookie management of popular HTTP agents.
- BUFFER_WARN_TRIGGER_LIMIT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the maximum buffered response size (in bytes) that triggers no warning.
- ByteArrayPartSource - Class in org.apache.commons.httpclient.methods.multipart
-
A PartSource that reads from a byte array.
- ByteArrayPartSource(String, byte[]) - Constructor for class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
-
Constructor for ByteArrayPartSource.
- ByteArrayRequestEntity - Class in org.apache.commons.httpclient.methods
-
A RequestEntity that contains an array of bytes.
- ByteArrayRequestEntity(byte[]) - Constructor for class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
-
Creates a new entity with the given content.
- ByteArrayRequestEntity(byte[], String) - Constructor for class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
-
Creates a new entity with the given content and content type.
C
- CHARSET - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content charset
- CHARSET_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content charset as a byte array
- checkNotUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
- checkUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
- checkValid() - Method in class org.apache.commons.httpclient.HttpsURL
-
Verify the valid class use for construction.
- checkValid() - Method in class org.apache.commons.httpclient.HttpURL
-
Verify the valid class use for construction.
- ChunkedInputStream - Class in org.apache.commons.httpclient
-
Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.
- ChunkedInputStream(InputStream) - Constructor for class org.apache.commons.httpclient.ChunkedInputStream
-
ChunkedInputStream constructor
- ChunkedInputStream(InputStream, HttpMethod) - Constructor for class org.apache.commons.httpclient.ChunkedInputStream
-
ChunkedInputStream constructor that associates the chunked input stream with a
HTTP method
. - ChunkedOutputStream - Class in org.apache.commons.httpclient
-
Implements HTTP chunking support.
- ChunkedOutputStream(OutputStream) - Constructor for class org.apache.commons.httpclient.ChunkedOutputStream
-
Wraps a stream and chunks the output.
- ChunkedOutputStream(OutputStream, int) - Constructor for class org.apache.commons.httpclient.ChunkedOutputStream
-
Wraps a stream and chunks the output.
- CircularRedirectException - Exception Class in org.apache.commons.httpclient
-
Signals a circular redirect
- CircularRedirectException() - Constructor for exception class org.apache.commons.httpclient.CircularRedirectException
-
Creates a new CircularRedirectException with a null detail message.
- CircularRedirectException(String) - Constructor for exception class org.apache.commons.httpclient.CircularRedirectException
-
Creates a new CircularRedirectException with the specified detail message.
- CircularRedirectException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.CircularRedirectException
-
Creates a new CircularRedirectException with the specified detail message and cause.
- Classes and interfaces supporting the client side of the HTTP protocol. - Search tag in package org.apache.commons.httpclient
- Section
- clear() - Method in class org.apache.commons.httpclient.HeaderGroup
-
Removes any contained headers.
- clear() - Method in class org.apache.commons.httpclient.HttpState
-
Clears the state information (all cookies, credentials and proxy credentials).
- clear() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
Removes all parameters from this collection.
- clearCookies() - Method in class org.apache.commons.httpclient.HttpState
-
Clears all cookies.
- clearCredentials() - Method in class org.apache.commons.httpclient.HttpState
-
Clears all credentials.
- clearProxyCredentials() - Method in class org.apache.commons.httpclient.HttpState
-
Clears all proxy credentials.
- clearRequestBody() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Clears the request body.
- clearRequestBody() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Clears request body.
- clone() - Method in class org.apache.commons.httpclient.HostConfiguration
- clone() - Method in class org.apache.commons.httpclient.HttpHost
- clone() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
Clones this collection of parameters.
- clone() - Method in class org.apache.commons.httpclient.ProxyHost
- clone() - Method in class org.apache.commons.httpclient.URI
-
Create and return a copy of this object, the URI-reference containing the userinfo component.
- close() - Method in class org.apache.commons.httpclient.ChunkedInputStream
-
Upon close, this reads the remainder of the chunked message, leaving the underlying socket at a position to start reading the next response without scanning.
- close() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
-
Finishes writing to the underlying stream, but does NOT close the underlying stream.
- close() - Method in class org.apache.commons.httpclient.ContentLengthInputStream
-
Reads until the end of the known length of content.
- close() - Method in class org.apache.commons.httpclient.HttpConnection
-
Closes the socket and streams.
- closeIdleConnections(long) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
Closes connections that have been idle for at least the given amount of time.
- closeIdleConnections(long) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- closeIdleConnections(long) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
- closeIdleConnections(long) - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
-
Closes connections that have been idle for at least the given amount of time.
- closeIfStale() - Method in class org.apache.commons.httpclient.HttpConnection
-
Closes the connection if stale.
- closeSocketAndStreams() - Method in class org.apache.commons.httpclient.HttpConnection
-
Closes everything out.
- Coder() - Constructor for class org.apache.commons.httpclient.util.URIUtil.Coder
-
Deprecated.
- COMMENT - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- COMMENTURL - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- compare(Object, Object) - Method in class org.apache.commons.httpclient.Cookie
-
Compares two cookies to determine order for cookie header.
- compare(Object, Object) - Method in class org.apache.commons.httpclient.cookie.CookiePathComparator
- compareTo(Object) - Method in class org.apache.commons.httpclient.HttpVersion
- compareTo(Object) - Method in class org.apache.commons.httpclient.URI
-
Compare this URI to another object.
- compareTo(HttpVersion) - Method in class org.apache.commons.httpclient.HttpVersion
-
Compares this HTTP protocol version with another one.
- COMPATIBILITY - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- connect() - Method in class org.apache.commons.httpclient.ProxyClient
-
Creates a socket that is connected, via the HTTP CONNECT method, to a proxy.
- connect() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- CONNECTION_MANAGER_CLASS - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
-
Defines the default
HTTP connection manager
class. - CONNECTION_MANAGER_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
-
Sets the timeout in milliseconds used when retrieving an
HTTP connection
from theHTTP connection manager
. - CONNECTION_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines the timeout until a connection is etablished.
- ConnectionPoolTimeoutException - Exception Class in org.apache.commons.httpclient
-
A timeout while connecting waiting for an available connection from an HttpConnectionManager.
- ConnectionPoolTimeoutException() - Constructor for exception class org.apache.commons.httpclient.ConnectionPoolTimeoutException
-
Creates a ConnectTimeoutException with a null detail message.
- ConnectionPoolTimeoutException(String) - Constructor for exception class org.apache.commons.httpclient.ConnectionPoolTimeoutException
-
Creates a ConnectTimeoutException with the specified detail message.
- ConnectionPoolTimeoutException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.ConnectionPoolTimeoutException
-
Creates a new ConnectTimeoutException with the specified detail message and cause.
- ConnectMethod - Class in org.apache.commons.httpclient
-
Establishes a tunneled HTTP connection via the CONNECT method.
- ConnectMethod() - Constructor for class org.apache.commons.httpclient.ConnectMethod
-
Deprecated.use #ConnectMethod(HttpHost); Create a connect method.
- ConnectMethod(HostConfiguration) - Constructor for class org.apache.commons.httpclient.ConnectMethod
-
Create a connect method.
- ConnectMethod(HttpMethod) - Constructor for class org.apache.commons.httpclient.ConnectMethod
-
Deprecated.the wrapped method is no longer used Create a connect method wrapping the existing method
- ConnectTimeoutException - Exception Class in org.apache.commons.httpclient
-
A timeout while connecting to an HTTP server or waiting for an available connection from an HttpConnectionManager.
- ConnectTimeoutException() - Constructor for exception class org.apache.commons.httpclient.ConnectTimeoutException
-
Creates a ConnectTimeoutException with a null detail message.
- ConnectTimeoutException(String) - Constructor for exception class org.apache.commons.httpclient.ConnectTimeoutException
-
Creates a ConnectTimeoutException with the specified detail message.
- ConnectTimeoutException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.ConnectTimeoutException
-
Creates a new ConnectTimeoutException with the specified detail message and cause.
- containsHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Tests if headers with the given name are contained within this group.
- CONTENT_DISPOSITION - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content dispostion characters
- CONTENT_DISPOSITION_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content dispostion as a byte array
- CONTENT_LENGTH_AUTO - Static variable in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Deprecated.
- CONTENT_LENGTH_AUTO - Static variable in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
The content length will be calculated automatically.
- CONTENT_LENGTH_CHUNKED - Static variable in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Deprecated.
- CONTENT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content type header
- CONTENT_TRANSFER_ENCODING_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content type header as a byte array
- CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content type header
- CONTENT_TYPE_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content type header as a byte array
- ContentLengthInputStream - Class in org.apache.commons.httpclient
-
Cuts the wrapped InputStream off after a specified number of bytes.
- ContentLengthInputStream(InputStream, int) - Constructor for class org.apache.commons.httpclient.ContentLengthInputStream
-
Deprecated.use
ContentLengthInputStream(InputStream, long)
Creates a new length limited stream - ContentLengthInputStream(InputStream, long) - Constructor for class org.apache.commons.httpclient.ContentLengthInputStream
-
Creates a new length limited stream
- control - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for control.
- ControllerThreadSocketFactory - Class in org.apache.commons.httpclient.protocol
-
This helper class is intedned to help work around the limitation of older Java versions (older than 1.4) that prevents from specifying a connection timeout when creating a socket.
- ControllerThreadSocketFactory.SocketTask - Class in org.apache.commons.httpclient.protocol
-
Helper class for wrapping socket based tasks.
- Cookie - Class in org.apache.commons.httpclient
-
HTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session.
- Cookie() - Constructor for class org.apache.commons.httpclient.Cookie
-
Default constructor.
- Cookie(String, String, String) - Constructor for class org.apache.commons.httpclient.Cookie
-
Creates a cookie with the given name, value and domain attribute.
- Cookie(String, String, String, String, int, boolean) - Constructor for class org.apache.commons.httpclient.Cookie
-
Creates a cookie with the given name, value, domain attribute, path attribute, maximum age attribute, and secure attribute
- Cookie(String, String, String, String, Date, boolean) - Constructor for class org.apache.commons.httpclient.Cookie
-
Creates a cookie with the given name, value, domain attribute, path attribute, expiration attribute, and secure attribute
- COOKIE_POLICY - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines
cookie policy
to be used for cookie management. - Cookie2 - Class in org.apache.commons.httpclient.cookie
-
Cookie class for
RFC2965Spec
cookie specification. - Cookie2() - Constructor for class org.apache.commons.httpclient.cookie.Cookie2
-
Default constructor.
- Cookie2(String, String, String) - Constructor for class org.apache.commons.httpclient.cookie.Cookie2
-
Creates a cookie with the given name, value and domain attribute.
- Cookie2(String, String, String, String, Date, boolean) - Constructor for class org.apache.commons.httpclient.cookie.Cookie2
-
Creates a cookie with the given name, value, domain attribute, path attribute, expiration attribute, and secure attribute
- Cookie2(String, String, String, String, Date, boolean, int[]) - Constructor for class org.apache.commons.httpclient.cookie.Cookie2
-
Creates a cookie with the given name, value, domain attribute, path attribute, expiration attribute, secure attribute, and ports attribute.
- CookieAttributeHandler - Interface in org.apache.commons.httpclient.cookie
-
Ths interface represents a cookie attribute handler responsible for parsing, validating, and matching a specific cookie attribute, such as path, domain, port, etc.
- CookieOrigin - Class in org.apache.commons.httpclient.cookie
-
CookieOrigin class incapsulates details of an origin server that are relevant when parsing, validating or matching HTTP cookies.
- CookieOrigin(String, int, String, boolean) - Constructor for class org.apache.commons.httpclient.cookie.CookieOrigin
- CookiePathComparator - Class in org.apache.commons.httpclient.cookie
-
This cookie comparator ensures that multiple cookies satisfying a common criteria are ordered in the Cookie header such that those with more specific Path attributes precede those with less specific.
- CookiePathComparator() - Constructor for class org.apache.commons.httpclient.cookie.CookiePathComparator
- CookiePolicy - Class in org.apache.commons.httpclient.cookie
-
Cookie management policy class.
- CookiePolicy() - Constructor for class org.apache.commons.httpclient.cookie.CookiePolicy
- cookies - Variable in class org.apache.commons.httpclient.HttpState
-
Array of
cookies
that this HTTP state contains. - CookieSpec - Interface in org.apache.commons.httpclient.cookie
-
Defines the cookie management specification.
- CookieSpecBase - Class in org.apache.commons.httpclient.cookie
-
Cookie management functions shared by all specification.
- CookieSpecBase() - Constructor for class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Default constructor
- CookieVersionSupport - Interface in org.apache.commons.httpclient.cookie
-
Defines cookie specification specific capabilities
- createCnonce() - Static method in class org.apache.commons.httpclient.auth.DigestScheme
-
Creates a random cnonce value based on the current time.
- createInputStream() - Method in class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
- createInputStream() - Method in class org.apache.commons.httpclient.methods.multipart.FilePartSource
-
Return a new
FileInputStream
for the current filename. - createInputStream() - Method in interface org.apache.commons.httpclient.methods.multipart.PartSource
-
Gets a new InputStream for reading this source.
- createParams() - Method in class org.apache.commons.httpclient.params.DefaultHttpParamsFactory
- createSocket(String, int) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
- createSocket(String, int) - Method in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
-
Gets a new socket connection to the given host.
- createSocket(String, int) - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
- createSocket(String, int, InetAddress, int) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
- createSocket(String, int, InetAddress, int) - Method in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
-
Gets a new socket connection to the given host.
- createSocket(String, int, InetAddress, int) - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
- createSocket(String, int, InetAddress, int, HttpConnectionParams) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
-
Attempts to get a new socket connection to the given host within the given time limit.
- createSocket(String, int, InetAddress, int, HttpConnectionParams) - Method in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
-
Gets a new socket connection to the given host.
- createSocket(String, int, InetAddress, int, HttpConnectionParams) - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
-
Attempts to get a new socket connection to the given host within the given time limit.
- createSocket(String, String, int, InetAddress, int, int) - Static method in class org.apache.commons.httpclient.protocol.ReflectionSocketFactory
-
This method attempts to execute Socket method available since Java 1.4 using reflection.
- createSocket(Socket, String, int, boolean) - Method in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
-
Returns a socket connected to the given host that is layered over an existing socket.
- createSocket(Socket, String, int, boolean) - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
- createSocket(ControllerThreadSocketFactory.SocketTask, int) - Static method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory
- createSocket(ProtocolSocketFactory, String, int, InetAddress, int, int) - Static method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory
-
This method spawns a controller thread overseeing the process of socket initialisation.
- CREDENTIAL_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the charset to be used when encoding
Credentials
. - Credentials - Interface in org.apache.commons.httpclient
-
Authentication credentials.
- CredentialsNotAvailableException - Exception Class in org.apache.commons.httpclient.auth
-
Authentication credentials required to respond to a authentication challenge are not available
- CredentialsNotAvailableException() - Constructor for exception class org.apache.commons.httpclient.auth.CredentialsNotAvailableException
-
Creates a new CredentialsNotAvailableException with a null detail message.
- CredentialsNotAvailableException(String) - Constructor for exception class org.apache.commons.httpclient.auth.CredentialsNotAvailableException
-
Creates a new CredentialsNotAvailableException with the specified message.
- CredentialsNotAvailableException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.auth.CredentialsNotAvailableException
-
Creates a new CredentialsNotAvailableException with the specified detail message and cause.
- CredentialsProvider - Interface in org.apache.commons.httpclient.auth
-
Credentials provider interface can be used to provide
HTTP method
with a means to request authentication credentials if no credentials have been given or given credentials are incorrect. - credMap - Variable in class org.apache.commons.httpclient.HttpState
-
Map of
credentials
by realm that this HTTP state contains. - CRLF - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Carriage return/linefeed
- CRLF_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Carriage return/linefeed as a byte array
D
- DATE_PATTERNS - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
The key used to look up the date patterns used for parsing.
- DateParseException - Exception Class in org.apache.commons.httpclient.util
-
An exception to indicate an error parsing a date string.
- DateParseException() - Constructor for exception class org.apache.commons.httpclient.util.DateParseException
- DateParseException(String) - Constructor for exception class org.apache.commons.httpclient.util.DateParseException
- DateParser - Class in org.apache.commons.httpclient.util
-
Deprecated.Use
DateUtil
- DateUtil - Class in org.apache.commons.httpclient.util
-
A utility class for parsing and formatting HTTP dates as used in cookies and other headers.
- decode(char[], String) - Static method in class org.apache.commons.httpclient.URI
-
Decodes URI encoded string.
- decode(char[], String) - Static method in class org.apache.commons.httpclient.util.URIUtil.Coder
-
Deprecated.use org.apache.commons.codec.net.URLCodec
- decode(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Unescape and decode a given string regarded as an escaped string with the default protocol charset.
- decode(String, String) - Static method in class org.apache.commons.httpclient.URI
-
Decodes URI encoded string.
- decode(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Unescape and decode a given string regarded as an escaped string.
- DEFAULT - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
The default cookie policy.
- DEFAULT_CHARSET - Static variable in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Default charset of file attachments.
- DEFAULT_CHARSET - Static variable in class org.apache.commons.httpclient.methods.multipart.StringPart
-
Default charset of string parameters
- DEFAULT_CONTENT_CHARSET - Static variable in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Default content encoding chatset
- DEFAULT_CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Default content encoding of file attachments.
- DEFAULT_CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.multipart.StringPart
-
Default content encoding of string parameters.
- DEFAULT_HEADERS - Static variable in class org.apache.commons.httpclient.params.HostParams
-
Defines the request headers to be sent per default with each request.
- DEFAULT_MAX_HOST_CONNECTIONS - Static variable in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
The default maximum number of connections allowed per host
- DEFAULT_MAX_TOTAL_CONNECTIONS - Static variable in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
The default maximum number of connections allowed overall
- DEFAULT_PORT - Static variable in class org.apache.commons.httpclient.HttpsURL
-
Default port for HTTPS URL.
- DEFAULT_PORT - Static variable in class org.apache.commons.httpclient.HttpURL
-
Default port for HTTP URL.
- DEFAULT_SCHEME - Static variable in class org.apache.commons.httpclient.HttpsURL
-
Default scheme for HTTPS URL.
- DEFAULT_SCHEME - Static variable in class org.apache.commons.httpclient.HttpURL
-
Default scheme for HTTP URL.
- DEFAULT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Default transfer encoding of file attachments.
- DEFAULT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.methods.multipart.StringPart
-
Default transfer encoding of string parameters
- DefaultCharsetChanged(int, String) - Constructor for exception class org.apache.commons.httpclient.URI.DefaultCharsetChanged
-
The constructor with a reason string and its code arguments.
- defaultDocumentCharset - Static variable in class org.apache.commons.httpclient.URI
-
The default charset of the document.
- defaultDocumentCharsetByLocale - Static variable in class org.apache.commons.httpclient.URI
- defaultDocumentCharsetByPlatform - Static variable in class org.apache.commons.httpclient.URI
- DefaultHttpMethodRetryHandler - Class in org.apache.commons.httpclient
-
The default
HttpMethodRetryHandler
used byHttpMethod
s. - DefaultHttpMethodRetryHandler() - Constructor for class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
-
Creates a new DefaultHttpMethodRetryHandler that retries up to 3 times but does not retry methods that have successfully sent their requests.
- DefaultHttpMethodRetryHandler(int, boolean) - Constructor for class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
-
Creates a new DefaultHttpMethodRetryHandler.
- DefaultHttpParams - Class in org.apache.commons.httpclient.params
-
This class represents a collection of HTTP protocol parameters.
- DefaultHttpParams() - Constructor for class org.apache.commons.httpclient.params.DefaultHttpParams
-
Creates a new collection of parameters with the collection returned by
DefaultHttpParams.getDefaultParams()
as a parent. - DefaultHttpParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.DefaultHttpParams
-
Creates a new collection of parameters with the given parent.
- DefaultHttpParamsFactory - Class in org.apache.commons.httpclient.params
- DefaultHttpParamsFactory() - Constructor for class org.apache.commons.httpclient.params.DefaultHttpParamsFactory
- DefaultMethodRetryHandler - Class in org.apache.commons.httpclient
-
Deprecated.
- DefaultMethodRetryHandler() - Constructor for class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- defaultProtocolCharset - Static variable in class org.apache.commons.httpclient.URI
-
The default charset of the protocol.
- DefaultProtocolSocketFactory - Class in org.apache.commons.httpclient.protocol
-
The default class for creating protocol sockets.
- DefaultProtocolSocketFactory() - Constructor for class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
-
Constructor for DefaultProtocolSocketFactory.
- deleteClosedConnections() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Deletes all closed connections.
- DeleteMethod - Class in org.apache.commons.httpclient.methods
-
Implements the HTTP DELETE method.
- DeleteMethod() - Constructor for class org.apache.commons.httpclient.methods.DeleteMethod
-
No-arg constructor.
- DeleteMethod(String) - Constructor for class org.apache.commons.httpclient.methods.DeleteMethod
-
Constructor specifying a URI.
- delims - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for delims.
- DIGEST - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
-
Digest authentication scheme as defined in RFC2617.
- DigestScheme - Class in org.apache.commons.httpclient.auth
-
Digest authentication scheme as defined in RFC 2617.
- DigestScheme() - Constructor for class org.apache.commons.httpclient.auth.DigestScheme
-
Default constructor for the digest authetication scheme.
- DigestScheme(String) - Constructor for class org.apache.commons.httpclient.auth.DigestScheme
-
Deprecated.Use parameterless constructor and
AuthScheme.processChallenge(String)
method - digit - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for digit.
- disallowed_opaque_part - Static variable in class org.apache.commons.httpclient.URI
-
Disallowed opaque_part before escaping.
- disallowed_rel_path - Static variable in class org.apache.commons.httpclient.URI
-
Disallowed rel_path before escaping.
- DISCARD - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- disconnect() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- DOCUMENT_CHARSET - Static variable in exception class org.apache.commons.httpclient.URI.DefaultCharsetChanged
-
Document charset changed.
- doit() - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
-
Perform the logic.
- DOMAIN - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- domainlabel - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for domainlabel.
- domainMatch(String, String) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Performs domain-match as defined by the cookie specification.
- domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Performs domain-match as implemented in common browsers.
- domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
-
Performs domain-match as described in the Netscape draft.
- domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Performs domain-match as defined by the RFC2109.
- domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Performs domain-match as defined by the RFC2965.
E
- effectiveVersion - Variable in class org.apache.commons.httpclient.HttpMethodBase
-
HTTP protocol version used for execution of this method.
- empty - Static variable in class org.apache.commons.httpclient.util.URIUtil
- encode(String, BitSet) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a given string with allowed characters not to be escaped and the default protocol charset.
- encode(String, BitSet, String) - Static method in class org.apache.commons.httpclient.URI
-
Encodes URI string.
- encode(String, BitSet, String) - Static method in class org.apache.commons.httpclient.util.URIUtil.Coder
-
Deprecated.use org.apache.commons.codec.net.URLCodec
- encode(String, BitSet, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a given string with allowed characters not to be escaped and a given charset.
- encodeAll(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the all escaped and encoded string with the default protocl charset.
- encodeAll(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the all escaped and encoded string with a given charset.
- encodePath(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as the path component of an URI with the default protocol charset.
- encodePath(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as the path component of an URI with a given charset.
- encodePathQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as the path and query components of an URI with the default protocol charset.
- encodePathQuery(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as the path and query components of an URI with a given charset.
- encodeQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as the query component of an URI with the default protocol charset.
- encodeQuery(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as the query component of an URI with a given charset.
- encodeWithinAuthority(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as within the authority component of an URI with the default protocol charset.
- encodeWithinAuthority(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as within the authority component of an URI with a given charset.
- encodeWithinPath(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as within the path component of an URI with the default protocol charset.
- encodeWithinPath(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as within the path component of an URI with a given charset.
- encodeWithinQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as within the query component of an URI with the default protocol charset.
- encodeWithinQuery(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Escape and encode a string regarded as within the query component of an URI with a given charset.
- EncodingUtil - Class in org.apache.commons.httpclient.util
-
The home for utility methods that handle various encoding tasks.
- EntityEnclosingMethod - Class in org.apache.commons.httpclient.methods
-
This abstract class serves as a foundation for all HTTP methods that can enclose an entity within requests
- EntityEnclosingMethod() - Constructor for class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
No-arg constructor.
- EntityEnclosingMethod(String) - Constructor for class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Constructor specifying a URI.
- equals(char[], char[]) - Method in class org.apache.commons.httpclient.URI
-
Test if the first array is equal to the second array.
- equals(Object) - Method in class org.apache.commons.httpclient.auth.AuthSchemeBase
-
Deprecated.
- equals(Object) - Method in class org.apache.commons.httpclient.auth.AuthScope
- equals(Object) - Method in class org.apache.commons.httpclient.Cookie
-
Two cookies are equal if the name, path and domain match.
- equals(Object) - Method in class org.apache.commons.httpclient.HostConfiguration
- equals(Object) - Method in class org.apache.commons.httpclient.HttpHost
- equals(Object) - Method in class org.apache.commons.httpclient.HttpVersion
- equals(Object) - Method in class org.apache.commons.httpclient.NameValuePair
- equals(Object) - Method in class org.apache.commons.httpclient.NTCredentials
-
Performs a case-sensitive check to see if the components of the credentials are the same.
- equals(Object) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
-
All instances of DefaultProtocolSocketFactory are the same.
- equals(Object) - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Return true if the specified object equals this object.
- equals(Object) - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
-
All instances of SSLProtocolSocketFactory are the same.
- equals(Object) - Method in class org.apache.commons.httpclient.URI
-
Test an object if this URI is equal to another.
- equals(Object) - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
These credentials are assumed equal if the username and password are the same.
- equals(Object, Object) - Static method in class org.apache.commons.httpclient.util.LangUtils
- equals(HttpVersion) - Method in class org.apache.commons.httpclient.HttpVersion
-
Test if the HTTP protocol version is equal to the given number.
- escaped - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for escaped.
- ESCAPING - Static variable in exception class org.apache.commons.httpclient.URIException
-
The URI escape encoding and decoding error.
- ExceptionUtil - Class in org.apache.commons.httpclient.util
-
The home for utility methods that handle various exception-related tasks.
- ExceptionUtil() - Constructor for class org.apache.commons.httpclient.util.ExceptionUtil
- execute(Runnable, long) - Static method in class org.apache.commons.httpclient.util.TimeoutController
-
Executes
task
in a new deamon Thread and waits for the timeout. - execute(Thread, long) - Static method in class org.apache.commons.httpclient.util.TimeoutController
-
Executes
task
. - execute(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
-
Execute this method and create a tunneled HttpConnection.
- execute(HttpState, HttpConnection) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Executes this method using the specified
HttpConnection
andHttpState
. - execute(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Executes this method using the specified
HttpConnection
andHttpState
. - executeMethod(HostConfiguration, HttpMethod) - Method in class org.apache.commons.httpclient.HttpClient
-
Executes the given
HTTP method
using customhost configuration
. - executeMethod(HostConfiguration, HttpMethod, HttpState) - Method in class org.apache.commons.httpclient.HttpClient
-
Executes the given
HTTP method
using the given customhost configuration
with the given customHTTP state
. - executeMethod(HttpMethod) - Method in class org.apache.commons.httpclient.HttpClient
-
Executes the given
HTTP method
. - ExpectContinueMethod - Class in org.apache.commons.httpclient.methods
-
This abstract class serves as a foundation for all HTTP methods that support 'Expect: 100-continue' handshake.
- ExpectContinueMethod() - Constructor for class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
No-arg constructor.
- ExpectContinueMethod(String) - Constructor for class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
Constructor specifying a URI.
- EXTRA - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Extra characters
- EXTRA_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Extra characters as a byte array
- extractParams(String) - Static method in class org.apache.commons.httpclient.auth.AuthChallengeParser
-
Extracts a map of challenge parameters from an authentication challenge.
- extractScheme(String) - Static method in class org.apache.commons.httpclient.auth.AuthChallengeParser
-
Extracts authentication scheme from the given authentication challenge.
F
- FILE_NAME - Static variable in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Attachment's file name
- FilePart - Class in org.apache.commons.httpclient.methods.multipart
-
This class implements a part of a Multipart post object that consists of a file.
- FilePart(String, File) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePart
-
FilePart Constructor.
- FilePart(String, File, String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePart
-
FilePart Constructor.
- FilePart(String, String, File) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePart
-
FilePart Constructor.
- FilePart(String, String, File, String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePart
-
FilePart Constructor.
- FilePart(String, PartSource) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePart
-
FilePart Constructor.
- FilePart(String, PartSource, String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePart
-
FilePart Constructor.
- FilePartSource - Class in org.apache.commons.httpclient.methods.multipart
-
A PartSource that reads from a File.
- FilePartSource(File) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePartSource
-
Constructor for FilePartSource.
- FilePartSource(String, File) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePartSource
-
Constructor for FilePartSource.
- FileRequestEntity - Class in org.apache.commons.httpclient.methods
-
A RequestEntity that represents a File.
- FileRequestEntity(File, String) - Constructor for class org.apache.commons.httpclient.methods.FileRequestEntity
- findAttribHandler(String) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Finds an attribute handler
CookieAttributeHandler
for the given attribute. - finish() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
-
Must be called to ensure the internal cache is flushed and the closing chunk is written.
- flush() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
-
Flushes the underlying stream, but leaves the internal buffer alone.
- flushCache() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
-
Writes the cache out onto the underlying stream
- flushCacheWithAppend(byte[], int, int) - Method in class org.apache.commons.httpclient.ChunkedOutputStream
-
Writes the cache and bufferToAppend to the underlying stream as one large chunk
- flushRequestOutputStream() - Method in class org.apache.commons.httpclient.HttpConnection
-
Flushes the output request stream.
- FORM_URL_ENCODED_CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.PostMethod
-
The Content-Type for www-form-urlencoded.
- format(StringBuffer, NameValuePair) - Method in class org.apache.commons.httpclient.util.ParameterFormatter
-
Produces textual representaion of the attribute/value pair using formatting rules defined in RFC 2616
- format(NameValuePair) - Method in class org.apache.commons.httpclient.util.ParameterFormatter
-
Produces textual representaion of the attribute/value pair using formatting rules defined in RFC 2616
- formatCookie(Cookie) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Create a "Cookie" header value for an array of cookies.
- formatCookie(Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Return a string suitable for sending in a "Cookie" header
- formatCookie(Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- formatCookie(Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Return a string suitable for sending in a "Cookie" header as defined in RFC 2109
- formatCookie(Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Return a string suitable for sending in a "Cookie" header as defined in RFC 2965
- formatCookieHeader(Cookie) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Create a "Cookie" Header for single Cookie.
- formatCookieHeader(Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
- formatCookieHeader(Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- formatCookieHeader(Cookie[]) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Create a "Cookie" Header for an array of Cookies.
- formatCookieHeader(Cookie[]) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
- formatCookieHeader(Cookie[]) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- formatCookies(Cookie[]) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Create a "Cookie" header value for an array of cookies.
- formatCookies(Cookie[]) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Create a "Cookie" header value containing all
Cookie
s in cookies suitable for sending in a "Cookie" header - formatCookies(Cookie[]) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- formatCookies(Cookie[]) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Create a RFC 2109 compliant "Cookie" header value containing all
Cookie
s in cookies suitable for sending in a "Cookie" header - formatCookies(Cookie[]) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Create a RFC 2965 compliant "Cookie" header value containing all
Cookie
s suitable for sending in a "Cookie" header - formatDate(Date) - Static method in class org.apache.commons.httpclient.util.DateUtil
-
Formats the given date according to the RFC 1123 pattern.
- formatDate(Date, String) - Static method in class org.apache.commons.httpclient.util.DateUtil
-
Formats the given date according to the specified pattern.
- formatValue(StringBuffer, String, boolean) - Static method in class org.apache.commons.httpclient.util.ParameterFormatter
-
Formats the given parameter value using formatting rules defined in RFC 2616
- formUrlEncode(NameValuePair[], String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Form-urlencoding routine.
- fragment - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for fragment (alias for uric).
G
- generateRequestBody() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Generates the request body.
- generateRequestEntity() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
- generateRequestEntity() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Generates a request entity from the post parameters, if present.
- generateRequestLine(HttpConnection, String, String, String, String) - Static method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates HTTP request line according to the specified attributes.
- getAboveHierPath() - Method in class org.apache.commons.httpclient.URI
-
Get the level above the this hierarchy level.
- getAllHeaders() - Method in class org.apache.commons.httpclient.HeaderGroup
-
Gets all of the headers contained within this group.
- getAllowedMethods() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
-
Get a list of allowed methods.
- getAllowUserInteraction() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getAsciiBytes(String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the specified string to byte array of ASCII characters.
- getAsciiBytes(String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the specified string to byte array of ASCII characters.
- getAsciiString(byte[]) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the byte array of ASCII characters to a string.
- getAsciiString(byte[]) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the byte array of ASCII characters to a string.
- getAsciiString(byte[], int, int) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the byte array of ASCII characters to a string.
- getAsciiString(byte[], int, int) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the byte array of ASCII characters to a string.
- getAttribHandler(String) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Gets attribute handler
CookieAttributeHandler
for the given attribute. - getAttribHandlerIterator() - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
- getAuthenticationRealm() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.use #getHostAuthState()
- getAuthority() - Method in class org.apache.commons.httpclient.URI
-
Get the authority.
- getAuthScheme() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Returns the
authentication scheme
. - getAuthScheme(String) - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
-
Gets the
authentication scheme
with the given ID. - getBodyCheckTimeout() - Method in class org.apache.commons.httpclient.methods.HeadMethod
-
Deprecated.Use
HttpMethodParams
- getBooleanParameter(String, boolean) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- getBooleanParameter(String, boolean) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns a
Boolean
parameter value with the given name. - getBoundary() - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Deprecated.uses a constant string. Rather use
Part.getPartBoundary()
- getBytes(String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the specified string to a byte array of HTTP element characters.
- getBytes(String, String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the specified string to a byte array.
- getCause() - Method in exception class org.apache.commons.httpclient.HttpException
-
Return the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable.
- getCharset() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
- getCharset(Locale) - Static method in class org.apache.commons.httpclient.URI.LocaleToCharsetMap
-
Get the preferred charset for the given locale.
- getCharSet() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the character encoding of this part.
- getCharSet() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Return the character encoding of this part.
- getComment() - Method in class org.apache.commons.httpclient.Cookie
-
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
- getCommentURL() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.
- getCompatibilitySpec() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- getCondensedHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Gets a header representing all of the header values with the given name.
- getConnection(HostConfiguration) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
Gets an HttpConnection for a given host configuration.
- getConnection(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- getConnection(HostConfiguration) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
- getConnection(HostConfiguration, long) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
Deprecated.Use #getConnectionWithTimeout(HostConfiguration, long)
- getConnection(HostConfiguration, long) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Deprecated.Use #getConnectionWithTimeout(HostConfiguration, long)
- getConnection(HostConfiguration, long) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
Deprecated.Use #getConnectionWithTimeout(HostConfiguration, long)
- getConnectionManagerClass() - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
Returns the default
HTTP connection manager
class. - getConnectionManagerTimeout() - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
Returns the timeout in milliseconds used when retrieving an
HTTP connection
from theHTTP connection manager
. - getConnectionsInPool() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Gets the total number of pooled connections.
- getConnectionsInPool(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Gets the total number of pooled connections for the given host configuration.
- getConnectionsInUse() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Deprecated.
- getConnectionsInUse(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- getConnectionTimeout() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns the timeout until a connection is etablished.
- getConnectionWithTimeout(HostConfiguration, long) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
Gets an HttpConnection for a given host configuration.
- getConnectionWithTimeout(HostConfiguration, long) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Gets a connection or waits if one is not available.
- getConnectionWithTimeout(HostConfiguration, long) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
This method always returns the same connection object.
- getConnectMethod() - Method in class org.apache.commons.httpclient.ProxyClient.ConnectResponse
-
Gets the method that was used to execute the connect.
- getContent() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
- getContent() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
- getContent() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
- getContent() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getContent(Class[]) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getContentBytes(String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the specified string to a byte array of HTTP content characters using default HTTP content encoding (ISO-8859-1) This method is to be used when encoding content of HTTP request/response
- getContentBytes(String, String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the specified string to a byte array of HTTP content charachetrs This method is to be used when encoding content of HTTP request/response If the specified charset is not supported, default HTTP content encoding (ISO-8859-1) is applied
- getContentCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the default charset to be used for writing content body, when no charset explicitly specified.
- getContentCharSet(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the character set from the Content-Type header.
- getContentLength() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
- getContentLength() - Method in class org.apache.commons.httpclient.methods.FileRequestEntity
- getContentLength() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
Gets the content length.
- getContentLength() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
- getContentLength() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
-
Gets the request entity's length.
- getContentLength() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
- getContentString(byte[]) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the byte array of HTTP content characters to a string using default HTTP content encoding (ISO-8859-1) This method is to be used when decoding content of HTTP request/response
- getContentString(byte[], int, int) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the byte array of HTTP content characters to a string using default HTTP content encoding (ISO-8859-1) This method is to be used when decoding content of HTTP request/response
- getContentString(byte[], int, int, String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the byte array of HTTP content characters to a string This method is to be used when decoding content of HTTP request/response If the specified charset is not supported, default HTTP content encoding (ISO-8859-1) is applied
- getContentString(byte[], String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the byte array of HTTP content characters to a string This method is to be used when decoding content of HTTP request/response If the specified charset is not supported, default HTTP content encoding (ISO-8859-1) is applied
- getContentType() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
- getContentType() - Method in class org.apache.commons.httpclient.methods.FileRequestEntity
- getContentType() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
- getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
- getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Returns the content type of this part.
- getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Returns the content type of this part.
- getContentType() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
-
Gets the entity's content type.
- getContentType() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
- getCookiePolicy() - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.
- getCookiePolicy() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns
cookie policy
to be used by theHTTP methods
this collection of parameters applies to. - getCookies() - Method in class org.apache.commons.httpclient.HttpState
-
Returns an array of
cookies
that this HTTP state currently contains. - getCookies(String, int, String, boolean) - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.use CookieSpec#match(String, int, String, boolean, Cookie)
- getCookieSpec(String) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Gets the
cookie specification
with the given ID. - getCredentialCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the charset to be used for
Credentials
. - getCredentials(String, String) - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.use #getCredentials(AuthScope)
- getCredentials(AuthScheme, String, int, boolean) - Method in interface org.apache.commons.httpclient.auth.CredentialsProvider
-
Requests additional
authentication credentials
. - getCredentials(AuthScope) - Method in class org.apache.commons.httpclient.HttpState
-
Get the
credentials
for the given authentication scope. - getCurrentHierPath() - Method in class org.apache.commons.httpclient.URI
-
Get the current hierarchy level.
- getDefaultAuthPrefs() - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
-
Returns a list containing all registered
authentication schemes
in their default order. - getDefaultDocumentCharset() - Static method in class org.apache.commons.httpclient.URI
-
Get the recommended default charset of the document.
- getDefaultDocumentCharsetByLocale() - Static method in class org.apache.commons.httpclient.URI
-
Get the default charset of the document by locale.
- getDefaultDocumentCharsetByPlatform() - Static method in class org.apache.commons.httpclient.URI
-
Get the default charset of the document by platform.
- getDefaultMaxConnectionsPerHost() - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Gets the default maximum number of connections allowed for a given host config.
- getDefaultParams() - Static method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
Gets the default HttpParams to be used.
- getDefaultParams() - Method in class org.apache.commons.httpclient.params.DefaultHttpParamsFactory
- getDefaultParams() - Method in interface org.apache.commons.httpclient.params.HttpParamsFactory
-
Gets the default parameters.
- getDefaultPolicy() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- getDefaultPort() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Returns the defaultPort.
- getDefaultProtocolCharset() - Static method in class org.apache.commons.httpclient.URI
-
Get the default charset of the protocol.
- getDefaults() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- getDefaults() - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns the parent collection that this collection will defer to for a default value if a particular parameter is not explicitly set in the collection itself
- getDefaultSpec() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Returns
cookie specification
registered asCookiePolicy.DEFAULT
. - getDefaultUseCaches() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- getDoAuthentication() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns true if the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.), false otherwise
- getDoAuthentication() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns true if the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.), false otherwise
- getDoInput() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getDomain() - Method in class org.apache.commons.httpclient.Cookie
-
Returns domain attribute of the cookie.
- getDomain() - Method in class org.apache.commons.httpclient.NTCredentials
-
Retrieves the name to authenticate with.
- getDoOutput() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getDoubleParameter(String, double) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- getDoubleParameter(String, double) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns a
Double
parameter value with the given name. - getEffectiveVersion() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the HTTP version used with this method (may be null if undefined, that is, the method has not been executed)
- getElements() - Method in class org.apache.commons.httpclient.Header
-
Returns an array of
HeaderElement
s constructed from my value. - getErrorStream() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getEscapedAboveHierPath() - Method in class org.apache.commons.httpclient.URI
-
Get the level above the this hierarchy level.
- getEscapedAuthority() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped authority.
- getEscapedCurrentHierPath() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped current hierarchy level.
- getEscapedFragment() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped fragment.
- getEscapedName() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped basename of the path.
- getEscapedPassword() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the escaped password.
- getEscapedPath() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped path.
- getEscapedPathQuery() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped query.
- getEscapedQuery() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped query.
- getEscapedURI() - Method in class org.apache.commons.httpclient.URI
-
It can be gotten the URI character sequence.
- getEscapedURIReference() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped URI reference string.
- getEscapedUser() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the escaped user
- getEscapedUserinfo() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped userinfo.
- getExpiryDate() - Method in class org.apache.commons.httpclient.Cookie
-
Returns the expiration
Date
of the cookie, or null if none exists. - getFileName() - Method in class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
- getFileName() - Method in class org.apache.commons.httpclient.methods.multipart.FilePartSource
-
Return the current filename
- getFileName() - Method in interface org.apache.commons.httpclient.methods.multipart.PartSource
-
Gets the name of the file this source represents.
- getFirstHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Gets the first header with the given name.
- getFollowRedirects() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns true if the HTTP method should automatically follow HTTP redirects (status code 302, etc.), false otherwise.
- getFollowRedirects() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns true if the HTTP method should automatically follow HTTP redirects (status code 302, etc.), false otherwise.
- getFollowRedirects() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Entity enclosing requests cannot be redirected without user intervention according to RFC 2616.
- getFragment() - Method in class org.apache.commons.httpclient.URI
-
Get the fragment.
- getFromPath(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the path of an URI and its rest part.
- getHeaderField(int) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the header field at the specified position
- getHeaderField(String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the header field
- getHeaderFieldKey(int) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the header field key
- getHeaders(String) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Gets all of the headers with the given name.
- getHost() - Method in class org.apache.commons.httpclient.auth.AuthScope
- getHost() - Method in class org.apache.commons.httpclient.cookie.CookieOrigin
- getHost() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns the host.
- getHost() - Method in class org.apache.commons.httpclient.HttpClient
-
Deprecated.use #getHostConfiguration()
- getHost() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the host.
- getHost() - Method in class org.apache.commons.httpclient.NTCredentials
-
Retrieves the host name of the computer originating the request.
- getHost() - Method in class org.apache.commons.httpclient.URI
-
Get the host.
- getHostAuthState() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the target host
authentication state
- getHostAuthState() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the target host
authentication state
- getHostConfiguration() - Method in class org.apache.commons.httpclient.HttpClient
-
Returns the
host configuration
associated with the HttpClient. - getHostConfiguration() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Deprecated.no longer applicable
- getHostConfiguration() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.no longer applicable
- getHostConfiguration() - Method in class org.apache.commons.httpclient.ProxyClient
-
Returns the
host configuration
associated with the ProxyClient. - getHostName() - Method in class org.apache.commons.httpclient.HttpHost
-
Returns the host name (IP or DNS name).
- getHostURL() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Return the host url.
- getHttpConnectionManager() - Method in class org.apache.commons.httpclient.HttpClient
-
Returns the
HTTP connection manager
associated with the HttpClient. - getHttpConnectionManager() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the httpConnectionManager.
- getHttpElementCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the charset to be used for writing HTTP headers.
- getHttpVersion() - Method in class org.apache.commons.httpclient.StatusLine
- getID() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Deprecated.no longer used
- getID() - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Deprecated.no longer used
- getID() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Deprecated.no longer used
- getID() - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Deprecated.no longer used
- getIfModifiedSince() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getInputStream() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Gets an input stream for the HttpMethod response body.
- getInstanceFollowRedirects() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getIntParameter(String, int) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- getIntParameter(String, int) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns an
Integer
parameter value with the given name. - getIterator() - Method in class org.apache.commons.httpclient.HeaderGroup
-
Returns an iterator over this group of headers.
- getLastHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Gets the last header with the given name.
- getLastResponseInputStream() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the stream used to read the last response's body.
- getLength() - Method in class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
- getLength() - Method in class org.apache.commons.httpclient.methods.multipart.FilePartSource
-
Return the length of the file
- getLength() - Method in interface org.apache.commons.httpclient.methods.multipart.PartSource
-
Gets the number of bytes contained in this source.
- getLengthOfParts(Part[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the total sum of all parts and that of the last boundary
- getLengthOfParts(Part[], byte[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Gets the length of the multipart message including the given parts.
- getLinger() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns linger-on-close timeout.
- getLocalAddress() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Return the local address to be used when creating connections.
- getLocalAddress() - Method in class org.apache.commons.httpclient.HttpConnection
-
Return the local address used when creating the connection.
- getLocation() - Method in exception class org.apache.commons.httpclient.InvalidRedirectLocationException
- getLongParameter(String, long) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- getLongParameter(String, long) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns a
Long
parameter value with the given name. - getMajor() - Method in class org.apache.commons.httpclient.HttpVersion
-
Returns the major version number of the HTTP protocol.
- getMaxConnectionsPerHost() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- getMaxConnectionsPerHost(HostConfiguration) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Gets the maximum number of connections to be used for a particular host config.
- getMaxLength() - Method in exception class org.apache.commons.httpclient.HttpContentTooLargeException
- getMaxTotalConnections() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- getMaxTotalConnections() - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Gets the maximum number of connections allowed.
- GetMethod - Class in org.apache.commons.httpclient.methods
-
Implements the HTTP GET method.
- GetMethod() - Constructor for class org.apache.commons.httpclient.methods.GetMethod
-
No-arg constructor.
- GetMethod(String) - Constructor for class org.apache.commons.httpclient.methods.GetMethod
-
Constructor specifying a URI.
- getMethodRetryHandler() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.use
HttpMethodParams
- getMinor() - Method in class org.apache.commons.httpclient.HttpVersion
-
Returns the minor version number of the HTTP protocol.
- getMultipartBoundary() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
-
Returns the MIME boundary string that is used to demarcate boundaries of this part.
- getName() - Method in class org.apache.commons.httpclient.ConnectMethod
-
Provide the
name
of this method. - getName() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Obtains the name of the HTTP method as used in the HTTP request line, for example "GET" or "POST".
- getName() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Obtains the name of the HTTP method as used in the HTTP request line, for example "GET" or "POST".
- getName() - Method in class org.apache.commons.httpclient.methods.DeleteMethod
-
Returns "DELETE".
- getName() - Method in class org.apache.commons.httpclient.methods.GetMethod
-
Returns "GET".
- getName() - Method in class org.apache.commons.httpclient.methods.HeadMethod
-
Returns "HEAD".
- getName() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the name of this part.
- getName() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Returns the name.
- getName() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Returns "POST".
- getName() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
-
Get the name.
- getName() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Returns "POST".
- getName() - Method in class org.apache.commons.httpclient.methods.PutMethod
-
Return "PUT".
- getName() - Method in class org.apache.commons.httpclient.methods.TraceMethod
-
Returns "TRACE".
- getName() - Method in class org.apache.commons.httpclient.NameValuePair
-
Return the name.
- getName() - Method in class org.apache.commons.httpclient.URI
-
Get the basename of the path.
- getName(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the basename of an URI.
- getOutputStream() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
- getParameter(String) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Returns authentication parameter with the given name, if available.
- getParameter(String) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Returns the authentication parameter with the given name, if available.
- getParameter(String) - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Returns authentication parameter with the given name, if available.
- getParameter(String) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Gets the parameter of the specified name.
- getParameter(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- getParameter(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns a parameter value with the given name.
- getParameterByName(String) - Method in class org.apache.commons.httpclient.HeaderElement
-
Returns parameter with the given name, if found.
- getParameters() - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Returns authentication parameters map.
- getParameters() - Method in class org.apache.commons.httpclient.HeaderElement
-
Get parameters, if any.
- getParameters() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Gets the parameters currently added to the PostMethod.
- getParams() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns
HTTP protocol parameters
associated with this host. - getParams() - Method in class org.apache.commons.httpclient.HttpClient
-
Returns
HTTP protocol parameters
associated with this HttpClient. - getParams() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns
HTTP protocol parameters
associated with this method. - getParams() - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
Returns
parameters
associated with this connection manager. - getParams() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns
HTTP protocol parameters
associated with this method. - getParams() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns
HTTP protocol parameters
associated with this method. - getParams() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Returns
parameters
associated with this connection manager. - getParams() - Method in class org.apache.commons.httpclient.ProxyClient
-
Returns
HTTP protocol parameters
associated with this ProxyClient. - getParams() - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
Returns
parameters
associated with this connection manager. - getPartBoundary() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Gets the part boundary to be used.
- getParts() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Returns all parts.
- getPassword() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the password.
- getPassword() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
Password property getter.
- getPath() - Method in class org.apache.commons.httpclient.ConnectMethod
- getPath() - Method in class org.apache.commons.httpclient.cookie.CookieOrigin
- getPath() - Method in class org.apache.commons.httpclient.Cookie
-
Returns the path attribute of the cookie
- getPath() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the path of the HTTP method.
- getPath() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the path of this HTTP method.
- getPath() - Method in class org.apache.commons.httpclient.URI
-
Get the path.
- getPath(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the path of an URI.
- getPathQuery() - Method in class org.apache.commons.httpclient.URI
-
Get the path and query.
- getPathQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the path and query of an URI.
- getPermission() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getPort() - Method in class org.apache.commons.httpclient.auth.AuthScope
- getPort() - Method in class org.apache.commons.httpclient.cookie.CookieOrigin
- getPort() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns the port.
- getPort() - Method in class org.apache.commons.httpclient.HttpClient
-
Deprecated.use #getHostConfiguration()
- getPort() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the port of the host.
- getPort() - Method in class org.apache.commons.httpclient.HttpHost
-
Returns the port.
- getPort() - Method in class org.apache.commons.httpclient.HttpsURL
-
Get the port number.
- getPort() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the port number.
- getPort() - Method in class org.apache.commons.httpclient.URI
-
Get the port.
- getPorts() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Get the Port attribute.
- getProtocol() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns the protocol.
- getProtocol() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the protocol used to establish the connection.
- getProtocol() - Method in class org.apache.commons.httpclient.HttpHost
-
Returns the protocol.
- getProtocol(String) - Static method in class org.apache.commons.httpclient.protocol.Protocol
-
Gets the protocol with the given ID.
- getProtocolCharset() - Method in class org.apache.commons.httpclient.URI
-
Get the protocol charset used by this current URI instance.
- getProxyAuthenticationRealm() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.use #getProxyAuthState()
- getProxyAuthState() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the proxy
authentication state
- getProxyAuthState() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the proxy
authentication state
- getProxyCredentials(String, String) - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.use #getProxyCredentials(AuthScope)
- getProxyCredentials(AuthScope) - Method in class org.apache.commons.httpclient.HttpState
-
Get the
proxy credentials
for the given authentication scope. - getProxyHost() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns the proxyHost.
- getProxyHost() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the proxy host.
- getProxyPort() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns the proxyPort.
- getProxyPort() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the port of the proxy host.
- getQuery() - Method in class org.apache.commons.httpclient.URI
-
Get the query.
- getQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the query of an URI.
- getQueryString() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the query string of this HTTP method.
- getQueryString() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the query string of this HTTP method.
- getRawAboveHierPath() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the level above the this hierarchy level.
- getRawAboveHierPath() - Method in class org.apache.commons.httpclient.URI
-
Get the level above the this hierarchy level.
- getRawAuthority() - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped authority.
- getRawCurrentHierPath() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the raw-escaped current hierarchy level.
- getRawCurrentHierPath() - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped current hierarchy level.
- getRawCurrentHierPath(char[]) - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped current hierarchy level in the given path.
- getRawFragment() - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped fragment.
- getRawHost() - Method in class org.apache.commons.httpclient.URI
-
Get the host.
- getRawName() - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped basename of the path.
- getRawPassword() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the raw-escaped password.
- getRawPath() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the raw escaped path.
- getRawPath() - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped path.
- getRawPathQuery() - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped path and query.
- getRawQuery() - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped query.
- getRawScheme() - Method in class org.apache.commons.httpclient.HttpsURL
-
Get the scheme.
- getRawScheme() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the scheme.
- getRawScheme() - Method in class org.apache.commons.httpclient.URI
-
Get the scheme.
- getRawURI() - Method in class org.apache.commons.httpclient.URI
-
It can be gotten the URI character sequence.
- getRawURIReference() - Method in class org.apache.commons.httpclient.URI
-
Get the URI reference character sequence.
- getRawUser() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the raw-escaped user.
- getRawUserinfo() - Method in class org.apache.commons.httpclient.URI
-
Get the raw-escaped userinfo.
- getRealm() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Returns authentication realm.
- getRealm() - Method in class org.apache.commons.httpclient.auth.AuthScope
- getRealm() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Returns the authentication realm.
- getRealm() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
The concept of an authentication realm is not supported by the NTLM authentication scheme.
- getRealm() - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Returns authentication realm.
- getReason() - Method in exception class org.apache.commons.httpclient.HttpException
-
Deprecated.HttpClient no longer uses this for itself. It is only provided for compatibility with existing clients, and will be removed in a future release.
- getReason() - Method in exception class org.apache.commons.httpclient.URI.DefaultCharsetChanged
-
Get the reason message.
- getReason() - Method in exception class org.apache.commons.httpclient.URIException
-
Deprecated.You should instead call
Throwable.getMessage()
. - getReasonCode() - Method in exception class org.apache.commons.httpclient.HttpException
-
Deprecated.HttpClient no longer uses this for itself. It is only provided for compatibility with existing clients, and will be removed in a future release.
- getReasonCode() - Method in exception class org.apache.commons.httpclient.URI.DefaultCharsetChanged
-
Get the reason code.
- getReasonCode() - Method in exception class org.apache.commons.httpclient.URIException
-
Get the reason code.
- getReasonPhrase() - Method in class org.apache.commons.httpclient.StatusLine
- getReceiveBufferSize() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns a hint the size of the underlying buffers used by the platform for incoming network I/O.
- getRecoverableExceptionCount() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.no longer used Returns the number of "recoverable" exceptions thrown and handled, to allow for monitoring the quality of the connection.
- getRegisteredCookieSpecs() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Obtains the currently registered cookie policy names.
- getRequestCharSet() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the character encoding of the request from the Content-Type header.
- getRequestCharSet() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Returns the request's charset.
- getRequestContentLength() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Returns the length of the request body.
- getRequestContentLength() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Return the length of the request body.
- getRequestEntity() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
- getRequestHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Gets the request header with the given name.
- getRequestHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the specified request header.
- getRequestHeaderGroup() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the
header group
storing the request headers. - getRequestHeaders() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the current request headers for this HTTP method.
- getRequestHeaders() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns an array of the requests headers that the HTTP method currently has
- getRequestHeaders(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the request headers with the given name.
- getRequestHeaders(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
- getRequestMethod() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the request method.
- getRequestOutputStream() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns an
OutputStream
suitable for writing the request. - getRequestProperty(String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getResponseBody() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response body of the HTTP method, if any, as an array of bytes.
- getResponseBody() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as an array of bytes.
- getResponseBody(int) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as an array of bytes.
- getResponseBodyAsStream() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response body of the HTTP method, if any, as an InputStream.
- getResponseBodyAsStream() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as an
InputStream
. - getResponseBodyAsString() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response body of the HTTP method, if any, as a
String
. - getResponseBodyAsString() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as a
String
. - getResponseBodyAsString(int) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as a
String
. - getResponseCharSet() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the character encoding of the response from the Content-Type header.
- getResponseCode() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the response code.
- getResponseContentLength() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Return the length (in bytes) of the response body, as specified in a Content-Length header.
- getResponseFooter(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Return the specified response footer.
- getResponseFooter(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the response footer associated with the given name.
- getResponseFooters() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response footers from the most recent execution of this request.
- getResponseFooters() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns an array of the response footers that the HTTP method currently has in the order in which they were read.
- getResponseHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the specified response header.
- getResponseHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the response header associated with the given name.
- getResponseHeaderGroup() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the
header group
storing the response headers. - getResponseHeaders() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response headers from the most recent execution of this request.
- getResponseHeaders() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns an array of the response headers that the HTTP method currently has in the order in which they were read.
- getResponseHeaders(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response headers with the given name.
- getResponseHeaders(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
- getResponseInputStream() - Method in class org.apache.commons.httpclient.HttpConnection
-
Return a
InputStream
suitable for reading the response. - getResponseMessage() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the response message
- getResponseStream() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns a stream from which the body of the current response may be read.
- getResponseTrailerHeaderGroup() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the
header group
storing the response trailer headers as per RFC 2616 section 3.6.1. - getRetryCount() - Method in class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
- getRetryCount() - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- getScheme() - Method in class org.apache.commons.httpclient.auth.AuthScope
- getScheme() - Method in class org.apache.commons.httpclient.HttpsURL
-
Get the scheme.
- getScheme() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the scheme.
- getScheme() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Returns the scheme.
- getScheme() - Method in class org.apache.commons.httpclient.URI
-
Get the scheme.
- getSchemeName() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Returns textual designation of the given authentication scheme.
- getSchemeName() - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Returns textual designation of the basic authentication scheme.
- getSchemeName() - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Returns textual designation of the digest authentication scheme.
- getSchemeName() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Returns textual designation of the NTLM authentication scheme.
- getSecure() - Method in class org.apache.commons.httpclient.Cookie
- getSendBufferSize() - Method in class org.apache.commons.httpclient.HttpConnection
-
Gets the socket's sendBufferSize.
- getSendBufferSize() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns a hint the size of the underlying buffers used by the platform for outgoing network I/O.
- getSocket() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the connection socket.
- getSocket() - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
-
Return the socket.
- getSocket() - Method in class org.apache.commons.httpclient.ProxyClient.ConnectResponse
-
Gets the socket connected and authenticated (if appropriate) to the configured HTTP proxy, or
null
if a connection could not be made. - getSocketFactory() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Returns the socketFactory.
- getSoTimeout() - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.
- getSoTimeout() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
- getSoTimeout() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
- getSource() - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Returns the source of the file part.
- getSpecByPolicy(int) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- getSpecByVersion(int) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- getState() - Method in class org.apache.commons.httpclient.HttpClient
-
Returns
HTTP state
associated with the HttpClient. - getState() - Method in class org.apache.commons.httpclient.ProxyClient
-
Returns
HTTP state
associated with the ProxyClient. - getStatusCode() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the status code associated with the latest response.
- getStatusCode() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response status code.
- getStatusCode() - Method in class org.apache.commons.httpclient.StatusLine
- getStatusLine() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the Status-Line from the most recent response for this method, or
null
if the method has not been executed. - getStatusLine() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Provides access to the response status line.
- getStatusText() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the status text (or "reason phrase") associated with the latest response.
- getStatusText() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the status text (or "reason phrase") associated with the latest response.
- getStatusText(int) - Static method in class org.apache.commons.httpclient.HttpStatus
-
Get the reason phrase for a particular status code.
- getString(byte[]) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the byte array of HTTP element characters to a string This method is to be used when decoding content of HTTP elements (such as response headers)
- getString(byte[], int, int) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Converts the byte array of HTTP element characters to a string This method is to be used when decoding content of HTTP elements (such as response headers)
- getString(byte[], int, int, String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the byte array of HTTP content characters to a string.
- getString(byte[], String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the byte array of HTTP content characters to a string.
- getTcpNoDelay() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Tests if Nagle's algorithm is to be used.
- getTransferEncoding() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the transfer encoding of this part.
- getTransferEncoding() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Returns the transfer encoding of this part.
- getURI() - Method in class org.apache.commons.httpclient.ConnectMethod
- getURI() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the URI for this method.
- getURI() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the URI of the HTTP method
- getURI() - Method in class org.apache.commons.httpclient.URI
-
It can be gotten the URI character sequence.
- getUriCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the charset to be used for parsing URIs.
- getURIReference() - Method in class org.apache.commons.httpclient.URI
-
Get the original URI reference string.
- getURL() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the URL
- getUseCaches() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getUseExpectHeader() - Method in class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
Deprecated.Use
HttpMethodParams
- getUser() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the user.
- getUserinfo() - Method in class org.apache.commons.httpclient.URI
-
Get the userinfo.
- getUserName() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
User name property getter.
- getValidDateFormats() - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Returns the
Collection
of date patterns used for parsing. - getValidDateFormats() - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
- getValidDateFormats() - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- getValue() - Method in class org.apache.commons.httpclient.NameValuePair
-
Return the current value.
- getValues() - Method in class org.apache.commons.httpclient.Header
-
Deprecated.Use #getElements
- getVersion() - Method in interface org.apache.commons.httpclient.cookie.CookieVersionSupport
- getVersion() - Method in class org.apache.commons.httpclient.Cookie
-
Returns the version of the cookie specification to which this cookie conforms.
- getVersion() - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
- getVersion() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns
HTTP protocol version
to be used by theHTTP methods
that this collection of parameters applies to. - getVersionHeader() - Method in interface org.apache.commons.httpclient.cookie.CookieVersionSupport
- getVersionHeader() - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
- getVirtualHost() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Deprecated.use HostParams
- getVirtualHost() - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.no longer applicable
- getVirtualHost() - Method in class org.apache.commons.httpclient.params.HostParams
-
Returns the virtual host name.
- getVirtualHost() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the virtual host name.
- greaterEquals(HttpVersion) - Method in class org.apache.commons.httpclient.HttpVersion
-
Test if the HTTP protocol version is greater or equal to the given number.
H
- handleCloseIdleConnections(HttpConnectionManager) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Handles calling
closeIdleConnections()
and doing any other cleanup work on the given connection mangaer. - hasAuthority() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI has authority.
- hasBeenUsed() - Method in interface org.apache.commons.httpclient.HttpMethod
- hasBeenUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
- hasFragment() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI has fragment.
- hash - Variable in class org.apache.commons.httpclient.URI
-
Cache the hash code for this URI.
- HASH_OFFSET - Static variable in class org.apache.commons.httpclient.util.LangUtils
- HASH_SEED - Static variable in class org.apache.commons.httpclient.util.LangUtils
- hashCode() - Method in class org.apache.commons.httpclient.auth.AuthSchemeBase
-
Deprecated.
- hashCode() - Method in class org.apache.commons.httpclient.auth.AuthScope
- hashCode() - Method in class org.apache.commons.httpclient.Cookie
-
Returns a hash code in keeping with the
Object.hashCode()
general hashCode contract. - hashCode() - Method in class org.apache.commons.httpclient.HostConfiguration
- hashCode() - Method in class org.apache.commons.httpclient.HttpHost
- hashCode() - Method in class org.apache.commons.httpclient.HttpVersion
- hashCode() - Method in class org.apache.commons.httpclient.NameValuePair
- hashCode() - Method in class org.apache.commons.httpclient.NTCredentials
-
Computes a hash code based on all the case-sensitive parts of the credentials object.
- hashCode() - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
-
All instances of DefaultProtocolSocketFactory have the same hash code.
- hashCode() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Return a hash code for this object
- hashCode() - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
-
All instances of SSLProtocolSocketFactory have the same hash code.
- hashCode() - Method in class org.apache.commons.httpclient.URI
-
Return a hash code for this URI.
- hashCode() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
Does a hash of both user name and password.
- hashCode(int, boolean) - Static method in class org.apache.commons.httpclient.util.LangUtils
- hashCode(int, int) - Static method in class org.apache.commons.httpclient.util.LangUtils
- hashCode(int, Object) - Static method in class org.apache.commons.httpclient.util.LangUtils
- hasQuery() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI has query.
- hasRequestContent() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Returns true if there is a request body to be sent.
- hasRequestContent() - Method in class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
Returns true if there is a request body to be sent.
- hasRequestContent() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Returns true
- hasRequestContent() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Returns true if there is a request body to be sent.
- hasUserinfo() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI has userinfo.
- HEAD_BODY_CHECK_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets period of time in milliseconds to wait for a content body sent in response to
HEAD method
from a non-compliant server. - Header - Class in org.apache.commons.httpclient
-
An HTTP header.
- Header() - Constructor for class org.apache.commons.httpclient.Header
-
Default constructor.
- Header(String, String) - Constructor for class org.apache.commons.httpclient.Header
-
Constructor with name and value
- Header(String, String, boolean) - Constructor for class org.apache.commons.httpclient.Header
-
Constructor with name and value
- HeaderElement - Class in org.apache.commons.httpclient
-
One element of an HTTP header's value.
- HeaderElement() - Constructor for class org.apache.commons.httpclient.HeaderElement
-
Default constructor.
- HeaderElement(char[]) - Constructor for class org.apache.commons.httpclient.HeaderElement
-
Constructor with array of characters.
- HeaderElement(char[], int, int) - Constructor for class org.apache.commons.httpclient.HeaderElement
-
Constructor with array of characters.
- HeaderElement(String, String) - Constructor for class org.apache.commons.httpclient.HeaderElement
-
Constructor.
- HeaderElement(String, String, NameValuePair[]) - Constructor for class org.apache.commons.httpclient.HeaderElement
-
Constructor with name, value and parameters.
- HeaderGroup - Class in org.apache.commons.httpclient
-
A class for combining a set of headers.
- HeaderGroup() - Constructor for class org.apache.commons.httpclient.HeaderGroup
-
Constructor for HeaderGroup.
- HeadMethod - Class in org.apache.commons.httpclient.methods
-
Implements the HTTP HEAD method.
- HeadMethod() - Constructor for class org.apache.commons.httpclient.methods.HeadMethod
-
No-arg constructor.
- HeadMethod(String) - Constructor for class org.apache.commons.httpclient.methods.HeadMethod
-
Constructor specifying a URI.
- hex - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for hex.
- hier_part - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for hier_part.
- host - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for host.
- HostConfiguration - Class in org.apache.commons.httpclient
-
Holds all of the variables needed to describe an HTTP connection to a host.
- HostConfiguration() - Constructor for class org.apache.commons.httpclient.HostConfiguration
-
Constructor for HostConfiguration.
- HostConfiguration(HostConfiguration) - Constructor for class org.apache.commons.httpclient.HostConfiguration
-
Copy constructor for HostConfiguration
- hostEquals(HttpConnection) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Tests if the host configuration equals the configuration set on the connection.
- hostname - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for hostname.
- HostParams - Class in org.apache.commons.httpclient.params
-
This class represents a collection of HTTP protocol parameters applicable to
instances of HostConfiguration
. - HostParams() - Constructor for class org.apache.commons.httpclient.params.HostParams
-
Creates a new collection of parameters with the collection returned by
DefaultHttpParams.getDefaultParams()
as a parent. - HostParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.HostParams
-
Creates a new collection of parameters with the given parent.
- hostport - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for hostport.
- HTTP_0_9 - Static variable in class org.apache.commons.httpclient.HttpVersion
-
HTTP protocol version 0.9
- HTTP_1_0 - Static variable in class org.apache.commons.httpclient.HttpVersion
-
HTTP protocol version 1.0
- HTTP_1_1 - Static variable in class org.apache.commons.httpclient.HttpVersion
-
HTTP protocol version 1.1
- HTTP_CONTENT_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the charset to be used for encoding content body.
- HTTP_ELEMENT_CHARSET - Static variable in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.Character set used to encode HTTP protocol elements
- HTTP_ELEMENT_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the charset to be used for encoding HTTP protocol elements.
- HTTP_URI_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the charset to be used for parsing URIs.
- HttpAuthenticator - Class in org.apache.commons.httpclient.auth
-
Deprecated.no longer used
- HttpAuthenticator() - Constructor for class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.
- HttpAuthRealm - Class in org.apache.commons.httpclient.auth
-
Deprecated.no longer used
- HttpAuthRealm(String, String) - Constructor for class org.apache.commons.httpclient.auth.HttpAuthRealm
-
Deprecated.Creates a new HttpAuthRealm for the given domain and realm.
- HttpClient - Class in org.apache.commons.httpclient
-
An HTTP "user-agent", containing an
HTTP state
and one or moreHTTP connections
, to whichHTTP methods
can be applied. - HttpClient() - Constructor for class org.apache.commons.httpclient.HttpClient
-
Creates an instance of HttpClient using default
parameter set
. - HttpClient(HttpConnectionManager) - Constructor for class org.apache.commons.httpclient.HttpClient
-
Creates an instance of HttpClient with a user specified
HTTP connection manager
. - HttpClient(HttpClientParams) - Constructor for class org.apache.commons.httpclient.HttpClient
-
Creates an instance of HttpClient using the given
parameter set
. - HttpClient(HttpClientParams, HttpConnectionManager) - Constructor for class org.apache.commons.httpclient.HttpClient
-
Creates an instance of HttpClient with a user specified
parameter set
andHTTP connection manager
. - HttpClient Configuration with Java Properties - Search tag in package org.apache.commons.httpclient
- Section
- HttpClientError - Exception Class in org.apache.commons.httpclient
-
Signals that an error has occurred.
- HttpClientError() - Constructor for exception class org.apache.commons.httpclient.HttpClientError
-
Creates a new HttpClientError with a null detail message.
- HttpClientError(String) - Constructor for exception class org.apache.commons.httpclient.HttpClientError
-
Creates a new HttpClientError with the specified detail message.
- HttpClientParams - Class in org.apache.commons.httpclient.params
-
This class represents a collection of HTTP protocol parameters applicable to
instances of HttpClient
. - HttpClientParams() - Constructor for class org.apache.commons.httpclient.params.HttpClientParams
-
Creates a new collection of parameters with the collection returned by
DefaultHttpParams.getDefaultParams()
as a parent. - HttpClientParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.HttpClientParams
-
Creates a new collection of parameters with the given parent.
- httpConnection - Variable in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
The http connection
- HttpConnection - Class in org.apache.commons.httpclient
-
An abstraction of an HTTP
InputStream
andOutputStream
pair, together with the relevant attributes. - HttpConnection(String, int) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host and port.
- HttpConnection(String, int, String, int) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host and port via the given proxy host and port using the default protocol.
- HttpConnection(String, int, String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host with the virtual alias and port via the given proxy host and port using the given protocol.
- HttpConnection(String, int, String, String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Deprecated.use #HttpConnection(String, int, String, int, Protocol)
- HttpConnection(String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host and port using the given protocol.
- HttpConnection(String, String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host with the virtual alias and port using given protocol.
- HttpConnection(HostConfiguration) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host configuration.
- HttpConnectionManager - Interface in org.apache.commons.httpclient
-
An interface for classes that manage HttpConnections.
- HttpConnectionManagerParams - Class in org.apache.commons.httpclient.params
-
This class represents a collection of HTTP protocol parameters applicable to
HTTP connection managers
. - HttpConnectionManagerParams() - Constructor for class org.apache.commons.httpclient.params.HttpConnectionManagerParams
- HttpConnectionParams - Class in org.apache.commons.httpclient.params
-
This class represents a collection of HTTP protocol parameters applicable to
HTTP connections
. - HttpConnectionParams() - Constructor for class org.apache.commons.httpclient.params.HttpConnectionParams
-
Creates a new collection of parameters with the collection returned by
DefaultHttpParams.getDefaultParams()
as a parent. - HttpConstants - Class in org.apache.commons.httpclient
-
Deprecated.use EncodingUtil class
- HttpConstants() - Constructor for class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
- HttpContentTooLargeException - Exception Class in org.apache.commons.httpclient
-
Signals that the response content was larger than anticipated.
- HttpContentTooLargeException(String, int) - Constructor for exception class org.apache.commons.httpclient.HttpContentTooLargeException
- HttpException - Exception Class in org.apache.commons.httpclient
-
Signals that an HTTP or HttpClient exception has occurred.
- HttpException() - Constructor for exception class org.apache.commons.httpclient.HttpException
-
Creates a new HttpException with a null detail message.
- HttpException(String) - Constructor for exception class org.apache.commons.httpclient.HttpException
-
Creates a new HttpException with the specified detail message.
- HttpException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.HttpException
-
Creates a new HttpException with the specified detail message and cause.
- HttpHost - Class in org.apache.commons.httpclient
-
Holds all of the variables needed to describe an HTTP connection to a host.
- HttpHost(String) - Constructor for class org.apache.commons.httpclient.HttpHost
-
Constructor for HttpHost.
- HttpHost(String, int) - Constructor for class org.apache.commons.httpclient.HttpHost
-
Constructor for HttpHost.
- HttpHost(String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpHost
-
Constructor for HttpHost.
- HttpHost(HttpHost) - Constructor for class org.apache.commons.httpclient.HttpHost
-
Copy constructor for HttpHost
- HttpHost(URI) - Constructor for class org.apache.commons.httpclient.HttpHost
-
URI constructor for HttpHost.
- HttpMethod - Interface in org.apache.commons.httpclient
-
HttpMethod interface represents a request to be sent via a
HTTP connection
and a corresponding response. - HttpMethodBase - Class in org.apache.commons.httpclient
-
An abstract base implementation of HttpMethod.
- HttpMethodBase() - Constructor for class org.apache.commons.httpclient.HttpMethodBase
-
No-arg constructor.
- HttpMethodBase(String) - Constructor for class org.apache.commons.httpclient.HttpMethodBase
-
Constructor specifying a URI.
- HttpMethodParams - Class in org.apache.commons.httpclient.params
-
This class represents a collection of HTTP protocol parameters applicable to
HTTP methods
. - HttpMethodParams() - Constructor for class org.apache.commons.httpclient.params.HttpMethodParams
-
Creates a new collection of parameters with the collection returned by
DefaultHttpParams.getDefaultParams()
as a parent. - HttpMethodParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.HttpMethodParams
-
Creates a new collection of parameters with the given parent.
- HttpMethodRetryHandler - Interface in org.apache.commons.httpclient
-
A handler for determining if an HttpMethod should be retried after a recoverable exception during execution.
- HttpParams - Interface in org.apache.commons.httpclient.params
-
This interface represents a collection of HTTP protocol parameters.
- HttpParamsFactory - Interface in org.apache.commons.httpclient.params
-
A factory for getting the default set of parameters to use when creating an instance of
HttpParams
. - HttpParser - Class in org.apache.commons.httpclient
-
A utility class for parsing http header values according to RFC-2616 Section 4 and 19.3.
- HttpRecoverableException - Exception Class in org.apache.commons.httpclient
-
Deprecated.no longer used
- HttpRecoverableException() - Constructor for exception class org.apache.commons.httpclient.HttpRecoverableException
-
Deprecated.Creates a new HttpRecoverableException with a null detail message.
- HttpRecoverableException(String) - Constructor for exception class org.apache.commons.httpclient.HttpRecoverableException
-
Deprecated.Creates a new HttpRecoverableException with the specified detail message.
- HttpState - Class in org.apache.commons.httpclient
-
A container for HTTP attributes that may persist from request to request, such as
cookies
and authenticationcredentials
. - HttpState() - Constructor for class org.apache.commons.httpclient.HttpState
-
Default constructor.
- HttpStatus - Class in org.apache.commons.httpclient
-
Constants enumerating the HTTP status codes.
- HttpStatus() - Constructor for class org.apache.commons.httpclient.HttpStatus
- HttpsURL - Class in org.apache.commons.httpclient
-
The HTTPS URL.
- HttpsURL() - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Create an instance as an internal use.
- HttpsURL(char[]) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL as an escaped form of a character array.
- HttpsURL(char[], String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL as an escaped form of a character array with the given charset to do escape encoding.
- HttpsURL(String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from a given string.
- HttpsURL(String, int, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, int, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from a given string with the given charset to do escape encoding.
- HttpsURL(String, String, int, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String, int, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String, int, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String, String, int) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String, String, int, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String, String, int, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String, String, int, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTP URL from given components.
- HttpsURL(String, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(String, String, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL from given components.
- HttpsURL(HttpsURL, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL with a given relative HTTPS URL string.
- HttpsURL(HttpsURL, HttpsURL) - Constructor for class org.apache.commons.httpclient.HttpsURL
-
Construct a HTTPS URL with a given relative URL.
- HttpURL - Class in org.apache.commons.httpclient
-
The HTTP URL.
- HttpURL() - Constructor for class org.apache.commons.httpclient.HttpURL
-
Create an instance as an internal use.
- HttpURL(char[]) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL as an escaped form of a character array.
- HttpURL(char[], String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL as an escaped form of a character array with the given charset to do escape encoding.
- HttpURL(String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from a given string.
- HttpURL(String, int, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, int, String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from a given string with the given charset to do escape encoding.
- HttpURL(String, String, int, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, int, String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, int, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, String, int) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, String, int, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, String, int, String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, String, int, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(String, String, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL from given components.
- HttpURL(HttpURL, String) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL with a given relative URL string.
- HttpURL(HttpURL, HttpURL) - Constructor for class org.apache.commons.httpclient.HttpURL
-
Construct a HTTP URL with a given relative URL.
- HttpURLConnection - Class in org.apache.commons.httpclient.util
-
Provides a
HttpURLConnection
wrapper around HttpClient'sHttpMethod
. - HttpURLConnection(URL) - Constructor for class org.apache.commons.httpclient.util.HttpURLConnection
-
Create an instance.
- HttpURLConnection(HttpMethod, URL) - Constructor for class org.apache.commons.httpclient.util.HttpURLConnection
-
Creates an
HttpURLConnection
from aHttpMethod
. - HttpVersion - Class in org.apache.commons.httpclient
-
HTTP version, as specified in RFC 2616.
- HttpVersion(int, int) - Constructor for class org.apache.commons.httpclient.HttpVersion
-
Create an HTTP protocol version designator.
I
- IdleConnectionHandler - Class in org.apache.commons.httpclient.util
-
A helper class for connection managers to track idle connections.
- IdleConnectionHandler() - Constructor for class org.apache.commons.httpclient.util.IdleConnectionHandler
- IdleConnectionTimeoutThread - Class in org.apache.commons.httpclient.util
-
A utility class for periodically closing idle connections.
- IdleConnectionTimeoutThread() - Constructor for class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
- IGNORE_COOKIES - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
The policy that ignores cookies.
- IgnoreCookiesSpec - Class in org.apache.commons.httpclient.cookie
-
A cookie spec that does nothing.
- IgnoreCookiesSpec() - Constructor for class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- indexFirstOf(char[], char) - Method in class org.apache.commons.httpclient.URI
-
Get the earlier index that to be searched for the first occurrance in one of any of the given array.
- indexFirstOf(char[], char, int) - Method in class org.apache.commons.httpclient.URI
-
Get the earlier index that to be searched for the first occurrance in one of any of the given array.
- indexFirstOf(String, String) - Method in class org.apache.commons.httpclient.URI
-
Get the earlier index that to be searched for the first occurrance in one of any of the given string.
- indexFirstOf(String, String, int) - Method in class org.apache.commons.httpclient.URI
-
Get the earlier index that to be searched for the first occurrance in one of any of the given string.
- initCause(Throwable, Throwable) - Static method in class org.apache.commons.httpclient.util.ExceptionUtil
-
If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
- InputStreamRequestEntity - Class in org.apache.commons.httpclient.methods
-
A RequestEntity that contains an InputStream.
- InputStreamRequestEntity(InputStream) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
Creates a new InputStreamRequestEntity with the given content and a content type of
InputStreamRequestEntity.CONTENT_LENGTH_AUTO
. - InputStreamRequestEntity(InputStream, long) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
Creates a new InputStreamRequestEntity with the given content and content length.
- InputStreamRequestEntity(InputStream, long, String) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
Creates a new InputStreamRequestEntity with the given content, content length, and content type.
- InputStreamRequestEntity(InputStream, String) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
Creates a new InputStreamRequestEntity with the given content, content type, and a content length of
InputStreamRequestEntity.CONTENT_LENGTH_AUTO
. - invalidate() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Invalidates the authentication state by resetting its parameters.
- InvalidCredentialsException - Exception Class in org.apache.commons.httpclient.auth
-
Authentication credentials required to respond to a authentication challenge are invalid
- InvalidCredentialsException() - Constructor for exception class org.apache.commons.httpclient.auth.InvalidCredentialsException
-
Creates a new InvalidCredentialsException with a null detail message.
- InvalidCredentialsException(String) - Constructor for exception class org.apache.commons.httpclient.auth.InvalidCredentialsException
-
Creates a new InvalidCredentialsException with the specified message.
- InvalidCredentialsException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.auth.InvalidCredentialsException
-
Creates a new InvalidCredentialsException with the specified detail message and cause.
- InvalidRedirectLocationException - Exception Class in org.apache.commons.httpclient
-
Signals violation of HTTP specification caused by an invalid redirect location
- InvalidRedirectLocationException(String, String) - Constructor for exception class org.apache.commons.httpclient.InvalidRedirectLocationException
-
Creates a new InvalidRedirectLocationException with the specified detail message.
- InvalidRedirectLocationException(String, String, Throwable) - Constructor for exception class org.apache.commons.httpclient.InvalidRedirectLocationException
-
Creates a new RedirectException with the specified detail message and cause.
- IPv4address - Static variable in class org.apache.commons.httpclient.URI
-
Bitset that combines digit and dot fo IPv$address.
- IPv6address - Static variable in class org.apache.commons.httpclient.URI
-
RFC 2373.
- IPv6reference - Static variable in class org.apache.commons.httpclient.URI
-
RFC 2732, 2373.
- isAborted() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Tests whether the execution of this method has been aborted
- isAbsoluteURI() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI is absolute.
- isAbsPath() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the relativeURI or hier_part of this URI is abs_path.
- isAllowed(String) - Method in class org.apache.commons.httpclient.methods.OptionsMethod
-
Is the specified method allowed ?
- isAlwaysUseQuotes() - Method in class org.apache.commons.httpclient.util.ParameterFormatter
-
Determines whether all parameter values must be enclosed in quotation marks, even if they do not contain any special characters
- isAuthAttempted() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Tests whether authenication challenge has been responsed to
- isAuthenticationPreemptive() - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.
- isAuthenticationPreemptive() - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
Returns true if authentication should be attempted preemptively, false otherwise.
- isAuthRequested() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Tests whether authenication challenge has been received
- isAutogenerated() - Method in class org.apache.commons.httpclient.Header
-
Returns the value of the auto-generated header flag.
- isComplete() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Authentication process may involve a series of challenge-response exchanges.
- isComplete() - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Tests if the Basic authentication process has been completed.
- isComplete() - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Tests if the Digest authentication process has been completed.
- isComplete() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Tests if the NTLM authentication process has been completed.
- isConnectionBased() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Tests if the authentication scheme is provides authorization on a per connection basis instead of usual per request basis
- isConnectionBased() - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Returns false.
- isConnectionBased() - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Returns false.
- isConnectionBased() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Returns true.
- isConnectionCloseForced() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Tests if the connection should be force-closed when no longer needed.
- isConnectionStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- isConnectionStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
- isDomainAttributeSpecified() - Method in class org.apache.commons.httpclient.Cookie
-
Returns true if cookie's domain was set via a domain attribute in the Set-Cookie header.
- isExpired() - Method in class org.apache.commons.httpclient.Cookie
-
Returns true if this cookie has expired.
- isExpired(Date) - Method in class org.apache.commons.httpclient.Cookie
-
Returns true if this cookie has expired according to the time passed in.
- isHierPart() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the absoluteURI of this URI is hier_part.
- isHostname() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the host part of this URI is hostname.
- isHostSet() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Deprecated.no longer used
- isHttp11() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.
- isIPv4address() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the host part of this URI is IPv4address.
- isIPv6reference() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the host part of this URI is IPv6reference.
- isLocked() - Method in class org.apache.commons.httpclient.HttpConnection
-
Tests if the connection is locked.
- isNetPath() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the relativeURI or heir_part of this URI is net_path.
- isOpaquePart() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the absoluteURI of this URI is opaque_part.
- isOpen - Variable in class org.apache.commons.httpclient.HttpConnection
-
Whether or not the connection is connected.
- isOpen() - Method in class org.apache.commons.httpclient.HttpConnection
-
Tests if the connection is open.
- isParameterFalse(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- isParameterFalse(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns true if the parameter is either not set or is false, false otherwise.
- isParameterSet(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- isParameterSet(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns true if the parameter is set at any level, false otherwise.
- isParameterSetLocally(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- isParameterSetLocally(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns true if the parameter is set locally, false otherwise.
- isParameterTrue(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- isParameterTrue(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns true if the parameter is set and is true, false otherwise.
- isPathAttributeSpecified() - Method in class org.apache.commons.httpclient.Cookie
-
Returns true if cookie's path was set via a path attribute in the Set-Cookie header.
- isPersistent() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Returns false if the cookie should be discarded at the end of the "session"; true otherwise.
- isPersistent() - Method in class org.apache.commons.httpclient.Cookie
-
Returns false if the cookie should be discarded at the end of the "session"; true otherwise.
- isPortAttributeBlank() - Method in class org.apache.commons.httpclient.cookie.Cookie2
- isPortAttributeSpecified() - Method in class org.apache.commons.httpclient.cookie.Cookie2
- isPreemptive() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Tests if preemptive authentication is used.
- isProxied() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns true if the connection is established via a proxy, false otherwise.
- isProxySet() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Deprecated.no longer used
- isRegName() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the authority component of this URI is reg_name.
- isRelativeURI() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI is relative.
- isRelPath() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the relativeURI of this URI is rel_path.
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.FileRequestEntity
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
Tests if this method is repeatable.
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
-
Returns
true
if all parts are repeatable,false
otherwise. - isRepeatable() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Tests if this part can be sent more than once.
- isRepeatable() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
-
Tests if
RequestEntity.writeRequest(OutputStream)
can be called more than once. - isRepeatable() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
- isRequestSent() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns true if the HTTP has been transmitted to the target server in its entirety, false otherwise.
- isRequestSent() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns true if the HTTP has been transmitted to the target server in its entirety, false otherwise.
- isRequestSentRetryEnabled() - Method in class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
- isRequestSentRetryEnabled() - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- isResponseAvailable() - Method in class org.apache.commons.httpclient.HttpConnection
-
Tests if input data avaialble.
- isResponseAvailable(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Tests if input data becomes available within the given period time in milliseconds.
- isSecure() - Method in class org.apache.commons.httpclient.cookie.CookieOrigin
- isSecure() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns true if the connection is established over a secure protocol.
- isSecure() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Returns true if this protocol is secure
- isServer() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the authority component of this URI is server.
- isSocketTimeoutException(InterruptedIOException) - Static method in class org.apache.commons.httpclient.util.ExceptionUtil
-
If SocketTimeoutExceptionClass is defined, returns true only if the exception is an instance of SocketTimeoutExceptionClass.
- isStale() - Method in class org.apache.commons.httpclient.HttpConnection
-
Determines whether this connection is "stale", which is to say that either it is no longer open, or an attempt to read the connection would fail.
- isStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.
- isStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Tests whether stale connection check is to be used.
- isStrictMode() - Method in class org.apache.commons.httpclient.HttpClient
-
Deprecated.Use
DefaultHttpParams.getParameter(String)
to exercise a more granular control over HTTP protocol strictness. - isStrictMode() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Deprecated.Use
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. - isStrictMode() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.Use
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. - isTransparent() - Method in class org.apache.commons.httpclient.HttpConnection
-
Indicates if the connection is completely transparent from end to end.
- isVersionAttributeSpecified() - Method in class org.apache.commons.httpclient.cookie.Cookie2
L
- LangUtils - Class in org.apache.commons.httpclient.util
-
A set of utility methods to help produce consistent Object#equals(Object) and Object#hashCode methods.
- length() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the full length of all the data.
- lengthOfData() - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Return the length of the data.
- lengthOfData() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the length of the main content
- lengthOfData() - Method in class org.apache.commons.httpclient.methods.multipart.StringPart
-
Return the length of the data.
- lessEquals(HttpVersion) - Method in class org.apache.commons.httpclient.HttpVersion
-
Test if the HTTP protocol version is less or equal to the given number.
- LocaleToCharsetMap() - Constructor for class org.apache.commons.httpclient.URI.LocaleToCharsetMap
- LOG - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
-
Log object.
- LOG - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Log object.
- LOG - Static variable in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Log object
M
- makeLenient() - Method in class org.apache.commons.httpclient.params.HttpClientParams
- makeLenient() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Makes the
HTTP methods
attempt to mimic the exact behaviour of commonly used HTTP agents, which many HTTP servers expect, even though such behaviour may violate the HTTP protocol specification (RFC 2616 and other relevant RFCs). - makeStrict() - Method in class org.apache.commons.httpclient.params.HttpClientParams
- makeStrict() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Makes the
HTTP methods
strictly follow the HTTP protocol specification (RFC 2616 and other relevant RFCs). - MalformedChallengeException - Exception Class in org.apache.commons.httpclient.auth
-
Signals that authentication challenge is in some way invalid or illegal in the given context
- MalformedChallengeException() - Constructor for exception class org.apache.commons.httpclient.auth.MalformedChallengeException
-
Creates a new MalformedChallengeException with a null detail message.
- MalformedChallengeException(String) - Constructor for exception class org.apache.commons.httpclient.auth.MalformedChallengeException
-
Creates a new MalformedChallengeException with the specified message.
- MalformedChallengeException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.auth.MalformedChallengeException
-
Creates a new MalformedChallengeException with the specified detail message and cause.
- MalformedCookieException - Exception Class in org.apache.commons.httpclient.cookie
-
Signals that a cookie is in some way invalid or illegal in a given context
- MalformedCookieException() - Constructor for exception class org.apache.commons.httpclient.cookie.MalformedCookieException
-
Creates a new MalformedCookieException with a null detail message.
- MalformedCookieException(String) - Constructor for exception class org.apache.commons.httpclient.cookie.MalformedCookieException
-
Creates a new MalformedCookieException with a specified message string.
- MalformedCookieException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.cookie.MalformedCookieException
-
Creates a new MalformedCookieException with the specified detail message and cause.
- mark - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for mark.
- match(String, int, String, boolean, Cookie) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Determines if a Cookie matches a location.
- match(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Return true if the cookie should be submitted with a request with given attributes, false otherwise.
- match(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- match(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Return true if the cookie should be submitted with a request with given attributes, false otherwise.
- match(String, int, String, boolean, Cookie[]) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Determines which of an array of Cookies matches a location.
- match(String, int, String, boolean, Cookie[]) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Return an array of
Cookie
s that should be submitted with a request with given attributes, false otherwise. - match(String, int, String, boolean, Cookie[]) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
Returns an empty
cookie
array. - match(AuthScope) - Method in class org.apache.commons.httpclient.auth.AuthScope
-
Tests if the authentication scopes match.
- match(Cookie, CookieOrigin) - Method in interface org.apache.commons.httpclient.cookie.CookieAttributeHandler
-
Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.
- MAX_HOST_CONNECTIONS - Static variable in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Defines the maximum number of connections allowed per host configuration.
- MAX_REDIRECTS - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
-
Defines the maximum number of redirects to be followed.
- MAX_TOTAL_CONNECTIONS - Static variable in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Defines the maximum number of connections allowed overall.
- MAXAGE - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- MethodRetryHandler - Interface in org.apache.commons.httpclient
-
Deprecated.
- MULTIPART_BOUNDARY - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the value to use as the multipart boundary.
- MULTIPART_FORM_CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.The Content-Type for multipart/form-data.
- MultipartPostMethod - Class in org.apache.commons.httpclient.methods
-
Deprecated.Use
MultipartRequestEntity
in conjunction withPostMethod
instead. - MultipartPostMethod() - Constructor for class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.No-arg constructor.
- MultipartPostMethod(String) - Constructor for class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Constructor specifying a URI.
- MultipartRequestEntity - Class in org.apache.commons.httpclient.methods.multipart
-
Implements a request entity suitable for an HTTP multipart POST method.
- MultipartRequestEntity(Part[], HttpMethodParams) - Constructor for class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
-
Creates a new multipart entity containing the given parts.
- MultiThreadedHttpConnectionManager - Class in org.apache.commons.httpclient
-
Manages a set of HttpConnections for various HostConfigurations.
- MultiThreadedHttpConnectionManager() - Constructor for class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
No-args constructor
N
- NAME - Static variable in class org.apache.commons.httpclient.ConnectMethod
-
the name of this method
- NameValuePair - Class in org.apache.commons.httpclient
-
A simple class encapsulating a name/value pair.
- NameValuePair() - Constructor for class org.apache.commons.httpclient.NameValuePair
-
Default constructor.
- NameValuePair(String, String) - Constructor for class org.apache.commons.httpclient.NameValuePair
-
Constructor.
- needContentLength() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
-
Deprecated.only entity enclosing methods set content length header
- net_path - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for net_path.
- NETSCAPE - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
The Netscape cookie draft compliant policy.
- NETSCAPE_DRAFT - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- NetscapeDraftSpec - Class in org.apache.commons.httpclient.cookie
-
Netscape cookie draft specific cookie management functions
- NetscapeDraftSpec() - Constructor for class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
-
Default constructor
- NoHttpResponseException - Exception Class in org.apache.commons.httpclient
-
Signals that the target server failed to respond with a valid HTTP response.
- NoHttpResponseException() - Constructor for exception class org.apache.commons.httpclient.NoHttpResponseException
-
Creates a new NoHttpResponseException with a null detail message.
- NoHttpResponseException(String) - Constructor for exception class org.apache.commons.httpclient.NoHttpResponseException
-
Creates a new NoHttpResponseException with the specified detail message.
- NoHttpResponseException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.NoHttpResponseException
-
Creates a new NoHttpResponseException with the specified detail message and cause.
- normalize() - Method in class org.apache.commons.httpclient.URI
-
Normalizes the path part of this URI.
- normalize(char[]) - Method in class org.apache.commons.httpclient.URI
-
Normalize the given hier path part.
- NTCredentials - Class in org.apache.commons.httpclient
-
Credentials
for use with the NTLM authentication scheme which requires additional information. - NTCredentials() - Constructor for class org.apache.commons.httpclient.NTCredentials
-
Deprecated.Do not use. Null user name, domain invalid input: '&' host no longer allowed
- NTCredentials(String, String, String, String) - Constructor for class org.apache.commons.httpclient.NTCredentials
-
Constructor.
- NTLM - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
-
The NTLM scheme is a proprietary Microsoft Windows Authentication protocol (considered to be the most secure among currently supported authentication schemes).
- NTLMScheme - Class in org.apache.commons.httpclient.auth
-
An implementation of the Microsoft proprietary NTLM authentication scheme.
- NTLMScheme() - Constructor for class org.apache.commons.httpclient.auth.NTLMScheme
-
Default constructor for the NTLM authentication scheme.
- NTLMScheme(String) - Constructor for class org.apache.commons.httpclient.auth.NTLMScheme
-
Constructor for the NTLM authentication scheme.
O
- opaque_part - Static variable in class org.apache.commons.httpclient.URI
-
URI bitset that combines uric_no_slash and uric.
- open() - Method in class org.apache.commons.httpclient.HttpConnection
-
Establishes a connection to the specified host and port (via a proxy if specified).
- OptionsMethod - Class in org.apache.commons.httpclient.methods
-
Implements the HTTP OPTIONS method.
- OptionsMethod() - Constructor for class org.apache.commons.httpclient.methods.OptionsMethod
-
Method constructor.
- OptionsMethod(String) - Constructor for class org.apache.commons.httpclient.methods.OptionsMethod
-
Constructor specifying a URI.
- org.apache.commons.httpclient - package org.apache.commons.httpclient
-
Classes and interfaces supporting the client side of the HTTP protocol.
- org.apache.commons.httpclient.auth - package org.apache.commons.httpclient.auth
-
Provides implementation of various authentication schemes as well as utility classes that can be used to authenticate HTTP requests.
- org.apache.commons.httpclient.cookie - package org.apache.commons.httpclient.cookie
-
Provides cookie handling in conjunction with
Cookie
. - org.apache.commons.httpclient.methods - package org.apache.commons.httpclient.methods
-
Classes implementing
HttpMethod
for the base HTTP methods. - org.apache.commons.httpclient.methods.multipart - package org.apache.commons.httpclient.methods.multipart
-
Provides Multipart support classes for the
MultipartPostMethod
. - org.apache.commons.httpclient.params - package org.apache.commons.httpclient.params
-
HttpClient preferences framework.
- org.apache.commons.httpclient.protocol - package org.apache.commons.httpclient.protocol
-
Provides protocol specific socket factory handling.
- org.apache.commons.httpclient.util - package org.apache.commons.httpclient.util
-
Provides some utility classes for use by HttpClient.
P
- param - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for param (alias for pchar).
- ParameterFormatter - Class in org.apache.commons.httpclient.util
-
This formatter produces a textual representation of attribute/value pairs.
- ParameterFormatter() - Constructor for class org.apache.commons.httpclient.util.ParameterFormatter
-
Default ParameterFormatter constructor
- ParameterParser - Class in org.apache.commons.httpclient.util
-
A simple parser intended to parse sequences of name/value pairs.
- ParameterParser() - Constructor for class org.apache.commons.httpclient.util.ParameterParser
-
Default ParameterParser constructor
- parse(char[], char) - Method in class org.apache.commons.httpclient.util.ParameterParser
-
Extracts a list of
NameValuePair
s from the given array of characters. - parse(char[], int, int, char) - Method in class org.apache.commons.httpclient.util.ParameterParser
-
Extracts a list of
NameValuePair
s from the given array of characters. - parse(String) - Static method in class org.apache.commons.httpclient.HeaderElement
-
Deprecated.Use #parseElements(String).
- parse(String) - Static method in class org.apache.commons.httpclient.HttpVersion
-
Parses the textual representation of the given HTTP protocol version.
- parse(String, char) - Method in class org.apache.commons.httpclient.util.ParameterParser
-
Extracts a list of
NameValuePair
s from the given string. - parse(String, int, String, boolean, String) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Parse the "Set-Cookie" header value into Cookie array.
- parse(String, int, String, boolean, String) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Parses the Set-Cookie value into an array of Cookies.
- parse(String, int, String, boolean, String) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
Returns an empty
cookie
array. - parse(String, int, String, boolean, String) - Method in class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
-
Parses the Set-Cookie value into an array of Cookies.
- parse(String, int, String, boolean, String) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
- parse(String, int, String, boolean, Header) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Parse the "Set-Cookie" Header into an array of Cookies.
- parse(String, int, String, boolean, Header) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
- parse(String, int, String, boolean, Header) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
Returns an empty
cookie
array. - parse(String, int, String, boolean, Header) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Parses the Set-Cookie2 value into an array of Cookies.
- parse(Cookie, String) - Method in interface org.apache.commons.httpclient.cookie.CookieAttributeHandler
-
Parse the given cookie attribute value and update the corresponding
Cookie
property. - parseAttribute(NameValuePair, Cookie) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Parse the cookie attribute and update the corresponsing Cookie properties.
- parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Parse the cookie attribute and update the corresponsing
Cookie
properties. - parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
Does nothing.
- parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
-
Parse the cookie attribute and update the corresponsing
Cookie
properties as defined by the Netscape draft specification - parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Parse RFC 2109 specific cookie attribute and update the corresponsing
Cookie
properties. - parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Parse RFC 2965 specific cookie attribute and update the corresponsing
Cookie
properties. - parseAuthority(String, boolean) - Method in class org.apache.commons.httpclient.URI
-
Parse the authority component.
- parseChallenges(Header[]) - Static method in class org.apache.commons.httpclient.auth.AuthChallengeParser
-
Extracts a map of challenges ordered by authentication scheme name
- parseDate(String) - Static method in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.Parses a date value.
- parseDate(String) - Static method in class org.apache.commons.httpclient.util.DateUtil
-
Parses a date value.
- parseDate(String, Collection) - Static method in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.Parses the date value using the given date formats.
- parseDate(String, Collection) - Static method in class org.apache.commons.httpclient.util.DateUtil
-
Parses the date value using the given date formats.
- parseDate(String, Collection, Date) - Static method in class org.apache.commons.httpclient.util.DateUtil
-
Parses the date value using the given date formats.
- parseElements(char[]) - Static method in class org.apache.commons.httpclient.HeaderElement
-
This parses the value part of a header.
- parseElements(String) - Static method in class org.apache.commons.httpclient.HeaderElement
-
This parses the value part of a header.
- parseHeaders(InputStream) - Static method in class org.apache.commons.httpclient.HttpParser
-
Deprecated.use #parseHeaders(InputStream, String)
- parseHeaders(InputStream, String) - Static method in class org.apache.commons.httpclient.HttpParser
-
Parses headers from the given stream.
- parseUriReference(String, boolean) - Method in class org.apache.commons.httpclient.URI
-
In order to avoid any possilbity of conflict with non-ASCII characters, Parse a URI reference as a
String
with the character encoding of the local system or the document. - PARSING - Static variable in exception class org.apache.commons.httpclient.URIException
-
The URI parsing error.
- Part - Class in org.apache.commons.httpclient.methods.multipart
-
Abstract class for one Part of a multipart post object.
- Part() - Constructor for class org.apache.commons.httpclient.methods.multipart.Part
- PartBase - Class in org.apache.commons.httpclient.methods.multipart
-
Provides setters and getters for the basic Part properties.
- PartBase(String, String, String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.PartBase
-
Constructor.
- parts - Variable in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
-
The MIME parts as set by the constructor
- PartSource - Interface in org.apache.commons.httpclient.methods.multipart
-
An interface for providing access to data when posting MultiPart messages.
- path - Static variable in class org.apache.commons.httpclient.URI
-
URI bitset that combines absolute path and opaque part.
- PATH - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- PATH_DELIM - Static variable in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Path delimiter
- PATH_DELIM_CHAR - Static variable in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Path delimiting charachter
- path_segments - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for path segments.
- pathMatch(String, String) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Performs path-match as defined by the cookie specification.
- pathMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Performs path-match as implemented in common browsers.
- pathMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
- PATTERN_ASCTIME - Static variable in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.Date format pattern used to parse HTTP date headers in ANSI C
asctime()
format. - PATTERN_ASCTIME - Static variable in class org.apache.commons.httpclient.util.DateUtil
-
Date format pattern used to parse HTTP date headers in ANSI C
asctime()
format. - PATTERN_RFC1036 - Static variable in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.Date format pattern used to parse HTTP date headers in RFC 1036 format.
- PATTERN_RFC1036 - Static variable in class org.apache.commons.httpclient.util.DateUtil
-
Date format pattern used to parse HTTP date headers in RFC 1036 format.
- PATTERN_RFC1123 - Static variable in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.Date format pattern used to parse HTTP date headers in RFC 1123 format.
- PATTERN_RFC1123 - Static variable in class org.apache.commons.httpclient.util.DateUtil
-
Date format pattern used to parse HTTP date headers in RFC 1123 format.
- pchar - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for pchar.
- percent - Static variable in class org.apache.commons.httpclient.URI
-
The percent "%" character always has the reserved purpose of being the escape indicator, it must be escaped as "%25" in order to be used as data within a URI.
- port - Static variable in class org.apache.commons.httpclient.URI
-
Port, a logical alias for digit.
- PORT - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- PostMethod - Class in org.apache.commons.httpclient.methods
-
Implements the HTTP POST method.
- PostMethod() - Constructor for class org.apache.commons.httpclient.methods.PostMethod
-
No-arg constructor.
- PostMethod(String) - Constructor for class org.apache.commons.httpclient.methods.PostMethod
-
Constructor specifying a URI.
- PREEMPTIVE_AUTH_SCHEME - Static variable in class org.apache.commons.httpclient.auth.AuthState
- PREEMPTIVE_AUTHENTICATION - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
-
Defines whether authentication should be attempted preemptively.
- PREEMPTIVE_DEFAULT - Static variable in class org.apache.commons.httpclient.HttpState
-
Deprecated.This field and feature will be removed following HttpClient 3.0.
- PREEMPTIVE_PROPERTY - Static variable in class org.apache.commons.httpclient.HttpState
-
Deprecated.This field and feature will be removed following HttpClient 3.0.
- prevalidate(String, BitSet) - Method in class org.apache.commons.httpclient.URI
-
Pre-validate the unescaped URI string within a specific component.
- print(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.Use
HttpConnection.print(String, String)
Writes the specified String (as bytes) to the output stream. - print(String, String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes the specified String (as bytes) to the output stream.
- printLine() - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes "\r\n".getBytes() to the output stream.
- printLine(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.Use
HttpConnection.printLine(String, String)
Writes the specified String (as bytes), followed by "\r\n".getBytes() to the output stream. - printLine(String, String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes the specified String (as bytes), followed by "\r\n".getBytes() to the output stream.
- printStackTrace() - Method in exception class org.apache.commons.httpclient.HttpException
-
Print this HttpException and its stack trace to the standard error stream.
- printStackTrace(PrintStream) - Method in exception class org.apache.commons.httpclient.HttpException
-
Print this HttpException and its stack trace to the specified print stream.
- printStackTrace(PrintWriter) - Method in exception class org.apache.commons.httpclient.HttpException
-
Print this HttpException and its stack trace to the specified print writer.
- processChallenge(String) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Processes the given challenge token.
- processChallenge(String) - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Processes the Basic challenge.
- processChallenge(String) - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Processes the Digest challenge.
- processChallenge(String) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Processes the NTLM challenge.
- processChallenge(String) - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Processes the given challenge token.
- processChallenge(AuthState, Map) - Method in class org.apache.commons.httpclient.auth.AuthChallengeProcessor
-
Processes the given collection of challenges and updates the
state
of the authentication process. - processCookieHeaders(CookieSpec, Header[], HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
This method processes the specified cookie headers.
- processResponseBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
This method is invoked immediately after
HttpMethodBase.readResponseBody(HttpState,HttpConnection)
and can be overridden by sub-classes in order to provide custom body processing. - processResponseHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
This method is invoked immediately after
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
and can be overridden by sub-classes in order to provide custom response headers processing. - processResponseHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.OptionsMethod
-
This implementation will parse the Allow header to obtain the set of methods supported by the resource identified by the Request-URI.
- processStatusLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
This method is invoked immediately after
HttpMethodBase.readStatusLine(HttpState,HttpConnection)
and can be overridden by sub-classes in order to provide custom response status line processing. - Protocol - Class in org.apache.commons.httpclient.protocol
-
A class to encapsulate the specifics of a protocol.
- Protocol(String, ProtocolSocketFactory, int) - Constructor for class org.apache.commons.httpclient.protocol.Protocol
-
Constructs a new Protocol.
- Protocol(String, SecureProtocolSocketFactory, int) - Constructor for class org.apache.commons.httpclient.protocol.Protocol
-
Deprecated.Use the constructor that uses ProtocolSocketFactory, this version of the constructor is only kept for backwards API compatibility.
- PROTOCOL_CHARSET - Static variable in exception class org.apache.commons.httpclient.URI.DefaultCharsetChanged
-
Protocol charset changed.
- PROTOCOL_VERSION - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the
HTTP protocol version
used byHTTP methods
per default. - protocolCharset - Variable in class org.apache.commons.httpclient.URI
-
The charset of the protocol used by this URI instance.
- ProtocolException - Exception Class in org.apache.commons.httpclient
-
Signals that an HTTP protocol violation has occurred.
- ProtocolException() - Constructor for exception class org.apache.commons.httpclient.ProtocolException
-
Creates a new ProtocolException with a null detail message.
- ProtocolException(String) - Constructor for exception class org.apache.commons.httpclient.ProtocolException
-
Creates a new ProtocolException with the specified detail message.
- ProtocolException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.ProtocolException
-
Creates a new ProtocolException with the specified detail message and cause.
- ProtocolSocketFactory - Interface in org.apache.commons.httpclient.protocol
-
A factory for creating Sockets.
- PROVIDER - Static variable in interface org.apache.commons.httpclient.auth.CredentialsProvider
-
Sets the credentials provider parameter.
- PROXY_AUTH - Static variable in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.The proxy authenticate challange header.
- PROXY_AUTH_RESP - Static variable in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.The proxy authenticate response header.
- ProxyClient - Class in org.apache.commons.httpclient
-
A client that provides
sockets
for communicating through HTTP proxies via the HTTP CONNECT method. - ProxyClient() - Constructor for class org.apache.commons.httpclient.ProxyClient
-
Creates an instance of ProxyClient using default
parameter set
. - ProxyClient(HttpClientParams) - Constructor for class org.apache.commons.httpclient.ProxyClient
-
Creates an instance of ProxyClient using the given
parameter set
. - ProxyClient.ConnectResponse - Class in org.apache.commons.httpclient
-
Contains the method used to execute the connect along with the created socket.
- proxyCred - Variable in class org.apache.commons.httpclient.HttpState
-
Map of
proxy credentials
by realm that this HTTP state contains - proxyEquals(HttpConnection) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Tests if the proxy configuration equals the configuration set on the connection.
- ProxyHost - Class in org.apache.commons.httpclient
-
Holds all of the variables needed to describe an HTTP connection to a proxy.
- ProxyHost(String) - Constructor for class org.apache.commons.httpclient.ProxyHost
-
Constructor for HttpHost.
- ProxyHost(String, int) - Constructor for class org.apache.commons.httpclient.ProxyHost
-
Constructor for ProxyHost.
- ProxyHost(ProxyHost) - Constructor for class org.apache.commons.httpclient.ProxyHost
-
Copy constructor for HttpHost
- PUNYCODE - Static variable in exception class org.apache.commons.httpclient.URIException
-
The DNS punycode encoding or decoding error.
- purgeExpiredCookies() - Method in class org.apache.commons.httpclient.HttpState
-
Removes all of
cookies
in this HTTP state that have expired according to the current system time. - purgeExpiredCookies(Date) - Method in class org.apache.commons.httpclient.HttpState
- PutMethod - Class in org.apache.commons.httpclient.methods
-
Implements the HTTP PUT method.
- PutMethod() - Constructor for class org.apache.commons.httpclient.methods.PutMethod
-
No-arg constructor.
- PutMethod(String) - Constructor for class org.apache.commons.httpclient.methods.PutMethod
-
Constructor specifying a URI.
Q
- query - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for query (alias for uric).
- QUOTE - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content dispostion characters
- QUOTE_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content dispostion as a byte array
R
- read() - Method in class org.apache.commons.httpclient.ChunkedInputStream
-
Returns all the data in a chunked stream in coalesced form.
- read() - Method in class org.apache.commons.httpclient.ContentLengthInputStream
-
Read the next byte from the stream
- read(byte[]) - Method in class org.apache.commons.httpclient.ChunkedInputStream
-
Read some bytes from the stream.
- read(byte[]) - Method in class org.apache.commons.httpclient.ContentLengthInputStream
-
Read more bytes from the stream.
- read(byte[], int, int) - Method in class org.apache.commons.httpclient.ChunkedInputStream
-
Read some bytes from the stream.
- read(byte[], int, int) - Method in class org.apache.commons.httpclient.ContentLengthInputStream
-
Does standard
InputStream.read(byte[], int, int)
behavior, but also notifies the watcher when the contents have been consumed. - readLine() - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.use #readLine(String)
- readLine(InputStream) - Static method in class org.apache.commons.httpclient.HttpParser
-
Deprecated.use #readLine(InputStream, String)
- readLine(InputStream, String) - Static method in class org.apache.commons.httpclient.HttpParser
-
Read up to "\n" from an (unchunked) input stream.
- readLine(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Reads up to "\n" from the (unchunked) input stream.
- readRawLine(InputStream) - Static method in class org.apache.commons.httpclient.HttpParser
-
Return byte array from an (unchunked) input stream.
- readResponse(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Reads the response from the given
connection
. - readResponseBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Read the response body from the given
HttpConnection
. - readResponseBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.HeadMethod
-
Overrides
HttpMethodBase
method to not read a response body, despite the presence of a Content-Length or Transfer-Encoding header. - readResponseHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Reads the response headers from the given
connection
. - readStatusLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
- reason - Variable in exception class org.apache.commons.httpclient.URIException
-
The reason message.
- reasonCode - Variable in exception class org.apache.commons.httpclient.URIException
-
The reason code.
- recycle() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Deprecated.no longer supported and will be removed in the future version of HttpClient
- recycle() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.no longer supported and will be removed in the future version of HttpClient
- recycle() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Deprecated.no longer supported and will be removed in the future version of HttpClient
- recycle() - Method in class org.apache.commons.httpclient.methods.GetMethod
-
Deprecated.no longer supported and will be removed in the future version of HttpClient
- recycle() - Method in class org.apache.commons.httpclient.methods.HeadMethod
-
Deprecated.no longer supported and will be removed in the future version of HttpClient
- recycle() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.no longer supported and will be removed in the future version of HttpClient
- recycle() - Method in class org.apache.commons.httpclient.methods.TraceMethod
-
Deprecated.no longer supported and will be removed in the future version of HttpClient
- RedirectException - Exception Class in org.apache.commons.httpclient
-
Signals violation of HTTP specification caused by an invalid redirect
- RedirectException() - Constructor for exception class org.apache.commons.httpclient.RedirectException
-
Creates a new RedirectException with a null detail message.
- RedirectException(String) - Constructor for exception class org.apache.commons.httpclient.RedirectException
-
Creates a new RedirectException with the specified detail message.
- RedirectException(String, Throwable) - Constructor for exception class org.apache.commons.httpclient.RedirectException
-
Creates a new RedirectException with the specified detail message and cause.
- ReflectionSocketFactory - Class in org.apache.commons.httpclient.protocol
-
This helper class uses refelction in order to execute Socket methods available in Java 1.4 and above
- reg_name - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for reg_name.
- registerAttribHandler(String, CookieAttributeHandler) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
- registerAuthScheme(String, Class) - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
-
Registers a class implementing an
authentication scheme
with the given identifier. - registerCookieSpec(String, Class) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Registers a new
cookie specification
with the given identifier. - registerProtocol(String, Protocol) - Static method in class org.apache.commons.httpclient.protocol.Protocol
-
Registers a new protocol with the given identifier.
- REJECT_HEAD_BODY - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines whether the content body sent in response to
HeadMethod
should be rejected. - REJECT_RELATIVE_REDIRECT - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
-
Defines whether relative redirects should be rejected.
- rel_path - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for rel_path.
- rel_segment - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for rel_segment.
- relativeURI - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for relativeURI.
- releaseConnection() - Method in class org.apache.commons.httpclient.HttpConnection
-
Releases the connection.
- releaseConnection() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Releases the connection being used by this HTTP method.
- releaseConnection() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Releases the connection being used by this HTTP method.
- releaseConnection(HttpConnection) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
Releases the given HttpConnection for use by other requests.
- releaseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Make the given HttpConnection available for use by other requests.
- releaseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
- remove(HttpConnection) - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
-
Removes the given connection from the list of connections to be closed when idle.
- removeAll() - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
-
Removes all connections referenced by this handler.
- removeConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Removes the connection manager from this class.
- removeFragmentIdentifier(char[]) - Method in class org.apache.commons.httpclient.URI
-
Remove the fragment identifier of the given component.
- removeHeader(Header) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Removes the given header.
- removeParameter(String) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Removes all parameters with the given paramName.
- removeParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Removes all parameter with the given paramName and paramValue.
- removeRequestHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Removes all request headers with the given name.
- removeRequestHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Remove the request header associated with the given name.
- removeRequestHeader(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Removes the given request header.
- removeRequestHeader(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Removes the given request header.
- replace(String, char[], char[]) - Static method in class org.apache.commons.httpclient.util.URIUtil.Coder
-
Deprecated.Replace from a given character to given character in an array order for a given string.
- replace(String, char, char) - Static method in class org.apache.commons.httpclient.util.URIUtil.Coder
-
Deprecated.Replace from a given character to given character for a given string.
- RequestEntity - Interface in org.apache.commons.httpclient.methods
- reserved - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for reserved.
- resolvePath(char[], char[]) - Method in class org.apache.commons.httpclient.URI
-
Resolve the base and relative path.
- resolvePort(int) - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Resolves the correct port for this protocol.
- responseBodyConsumed() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
A response has been consumed.
- RETRY_HANDLER - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the method retry handler parameter.
- retryMethod(HttpMethod, IOException, int) - Method in class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
-
Used
retryCount
andrequestSentRetryEnabled
to determine if the given method should be retried. - retryMethod(HttpMethod, IOException, int) - Method in interface org.apache.commons.httpclient.HttpMethodRetryHandler
-
Determines if a method should be retried after an HttpRecoverableException occurs during execution.
- retryMethod(HttpMethod, HttpConnection, HttpRecoverableException, int, boolean) - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.Used
retryCount
andrequestSentRetryEnabled
to determine if the given method should be retried. - retryMethod(HttpMethod, HttpConnection, HttpRecoverableException, int, boolean) - Method in interface org.apache.commons.httpclient.MethodRetryHandler
-
Deprecated.Determines if a method should be retried after an HttpRecoverableException occurs during execution.
- RFC_2109 - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
The RFC 2109 compliant policy.
- RFC_2965 - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
The RFC 2965 compliant policy.
- RFC2109 - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- RFC2109Spec - Class in org.apache.commons.httpclient.cookie
-
RFC 2109 specific cookie management functions
- RFC2109Spec() - Constructor for class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Default constructor
- RFC2617Scheme - Class in org.apache.commons.httpclient.auth
-
Abstract authentication scheme class that lays foundation for all RFC 2617 compliant authetication schemes and provides capabilities common to all authentication schemes defined in RFC 2617.
- RFC2617Scheme() - Constructor for class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Default constructor for RFC2617 compliant authetication schemes.
- RFC2617Scheme(String) - Constructor for class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Deprecated.Use parameterless constructor and
AuthScheme.processChallenge(String)
method - RFC2965 - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- RFC2965Spec - Class in org.apache.commons.httpclient.cookie
-
RFC 2965 specific cookie management functions.
- RFC2965Spec() - Constructor for class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Default constructor
- rootPath - Static variable in class org.apache.commons.httpclient.URI
-
The root path.
- run() - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
-
Execute the logic in this object and keep track of any exceptions.
- run() - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Closes idle connections.
S
- SC_ACCEPTED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
202 Accepted (HTTP/1.0 - RFC 1945)
- SC_BAD_GATEWAY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
502 Bad Gateway (HTTP/1.0 - RFC 1945)
- SC_BAD_REQUEST - Static variable in class org.apache.commons.httpclient.HttpStatus
-
400 Bad Request (HTTP/1.1 - RFC 2616)
- SC_CONFLICT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
409 Conflict (HTTP/1.1 - RFC 2616)
- SC_CONTINUE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
100 Continue (HTTP/1.1 - RFC 2616)
- SC_CREATED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
201 Created (HTTP/1.0 - RFC 1945)
- SC_EXPECTATION_FAILED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
417 Expectation Failed (HTTP/1.1 - RFC 2616)
- SC_FAILED_DEPENDENCY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
424 Failed Dependency (WebDAV - RFC 2518)
- SC_FORBIDDEN - Static variable in class org.apache.commons.httpclient.HttpStatus
-
403 Forbidden (HTTP/1.0 - RFC 1945)
- SC_GATEWAY_TIMEOUT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
504 Gateway Timeout (HTTP/1.1 - RFC 2616)
- SC_GONE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
410 Gone (HTTP/1.1 - RFC 2616)
- SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616)
- SC_INSUFFICIENT_SPACE_ON_RESOURCE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
Static constant for a 419 error.
- SC_INSUFFICIENT_STORAGE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
507 Insufficient Storage (WebDAV - RFC 2518)
- SC_INTERNAL_SERVER_ERROR - Static variable in class org.apache.commons.httpclient.HttpStatus
-
500 Server Error (HTTP/1.0 - RFC 1945)
- SC_LENGTH_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
411 Length Required (HTTP/1.1 - RFC 2616)
- SC_LOCKED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
423 Locked (WebDAV - RFC 2518)
- SC_METHOD_FAILURE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
Static constant for a 420 error.
- SC_METHOD_NOT_ALLOWED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
405 Method Not Allowed (HTTP/1.1 - RFC 2616)
- SC_MOVED_PERMANENTLY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
301 Moved Permanently (HTTP/1.0 - RFC 1945)
- SC_MOVED_TEMPORARILY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945)
- SC_MULTI_STATUS - Static variable in class org.apache.commons.httpclient.HttpStatus
-
207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)
- SC_MULTIPLE_CHOICES - Static variable in class org.apache.commons.httpclient.HttpStatus
-
300 Mutliple Choices (HTTP/1.1 - RFC 2616)
- SC_NO_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
204 No Content (HTTP/1.0 - RFC 1945)
- SC_NON_AUTHORITATIVE_INFORMATION - Static variable in class org.apache.commons.httpclient.HttpStatus
-
203 Non Authoritative Information (HTTP/1.1 - RFC 2616)
- SC_NOT_ACCEPTABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
406 Not Acceptable (HTTP/1.1 - RFC 2616)
- SC_NOT_FOUND - Static variable in class org.apache.commons.httpclient.HttpStatus
-
404 Not Found (HTTP/1.0 - RFC 1945)
- SC_NOT_IMPLEMENTED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
501 Not Implemented (HTTP/1.0 - RFC 1945)
- SC_NOT_MODIFIED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
304 Not Modified (HTTP/1.0 - RFC 1945)
- SC_OK - Static variable in class org.apache.commons.httpclient.HttpStatus
-
200 OK (HTTP/1.0 - RFC 1945)
- SC_PARTIAL_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
206 Partial Content (HTTP/1.1 - RFC 2616)
- SC_PAYMENT_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
402 Payment Required (HTTP/1.1 - RFC 2616)
- SC_PRECONDITION_FAILED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
412 Precondition Failed (HTTP/1.1 - RFC 2616)
- SC_PROCESSING - Static variable in class org.apache.commons.httpclient.HttpStatus
-
102 Processing (WebDAV - RFC 2518)
- SC_PROXY_AUTHENTICATION_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
407 Proxy Authentication Required (HTTP/1.1 - RFC 2616)
- SC_REQUEST_TIMEOUT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
408 Request Timeout (HTTP/1.1 - RFC 2616)
- SC_REQUEST_TOO_LONG - Static variable in class org.apache.commons.httpclient.HttpStatus
-
413 Request Entity Too Large (HTTP/1.1 - RFC 2616)
- SC_REQUEST_URI_TOO_LONG - Static variable in class org.apache.commons.httpclient.HttpStatus
-
414 Request-URI Too Long (HTTP/1.1 - RFC 2616)
- SC_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616)
- SC_RESET_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
205 Reset Content (HTTP/1.1 - RFC 2616)
- SC_SEE_OTHER - Static variable in class org.apache.commons.httpclient.HttpStatus
-
303 See Other (HTTP/1.1 - RFC 2616)
- SC_SERVICE_UNAVAILABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
503 Service Unavailable (HTTP/1.0 - RFC 1945)
- SC_SWITCHING_PROTOCOLS - Static variable in class org.apache.commons.httpclient.HttpStatus
-
101 Switching Protocols (HTTP/1.1 - RFC 2616)
- SC_TEMPORARY_REDIRECT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
307 Temporary Redirect (HTTP/1.1 - RFC 2616)
- SC_UNAUTHORIZED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
401 Unauthorized (HTTP/1.0 - RFC 1945)
- SC_UNPROCESSABLE_ENTITY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
422 Unprocessable Entity (WebDAV - RFC 2518)
- SC_UNSUPPORTED_MEDIA_TYPE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
415 Unsupported Media Type (HTTP/1.1 - RFC 2616)
- SC_USE_PROXY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
305 Use Proxy (HTTP/1.1 - RFC 2616)
- scheme - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for scheme.
- SECURE - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- SecureProtocolSocketFactory - Interface in org.apache.commons.httpclient.protocol
-
A ProtocolSocketFactory that is secure.
- segment - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for segment.
- selectAuthScheme(Map) - Method in class org.apache.commons.httpclient.auth.AuthChallengeProcessor
-
Determines the preferred
authentication scheme
that can be used to respond to the given collection of challenges. - selectAuthScheme(Header[]) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.
- send(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write all the data to the output stream.
- sendContentTypeHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the content type header to the specified output stream
- sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Write the data in "source" to the specified stream.
- sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the data to the specified output stream
- sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.StringPart
-
Writes the data to the given OutputStream.
- sendDispositionHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Write the disposition header to the output stream
- sendDispositionHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the content disposition header to the specified output stream
- sendEnd(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the end data to the output stream.
- sendEndOfHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the end of the header to the output stream
- sendParts(OutputStream, Part[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write all parts and the last boundary to the specified output stream.
- sendParts(OutputStream, Part[], byte[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write all parts and the last boundary to the specified output stream.
- sendStart(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the start to the specified output stream
- sendTransferEncodingHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the content transfer encoding header to the specified output stream
- server - Static variable in class org.apache.commons.httpclient.URI
-
Bitset for server.
- SET_COOKIE_KEY - Static variable in class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Cookie Response Header name for cookies processed by this spec.
- SET_COOKIE2_KEY - Static variable in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Cookie Response Header name for cookies processed by this spec.
- setAllowUserInteraction(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setAlwaysUseQuotes(boolean) - Method in class org.apache.commons.httpclient.util.ParameterFormatter
-
Defines whether all parameter values must be enclosed in quotation marks, even if they do not contain any special characters
- setAuthAttempted(boolean) - Method in class org.apache.commons.httpclient.auth.AuthState
-
Sets authentication attempt status
- setAuthenticationPreemptive(boolean) - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.
- setAuthenticationPreemptive(boolean) - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
Sets whether authentication should be attempted preemptively.
- setAuthRequested(boolean) - Method in class org.apache.commons.httpclient.auth.AuthState
-
Sets authentication request status
- setAuthScheme(AuthScheme) - Method in class org.apache.commons.httpclient.auth.AuthState
-
Assigns the given
authentication scheme
. - setBodyCheckTimeout(int) - Method in class org.apache.commons.httpclient.methods.HeadMethod
-
Deprecated.Use
HttpMethodParams
- setBooleanParameter(String, boolean) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- setBooleanParameter(String, boolean) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns a
Boolean
to the parameter with the given name - setCharSet(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Sets the character encoding.
- setCharSet(String) - Method in class org.apache.commons.httpclient.methods.multipart.StringPart
- setComment(String) - Method in class org.apache.commons.httpclient.Cookie
-
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.
- setCommentURL(String) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.
- setConnectionCloseForced(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets whether or not the connection should be force-closed when no longer needed.
- setConnectionManagerClass(Class) - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
Sets
HTTP connection manager
class to be used der default. - setConnectionManagerTimeout(long) - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
Sets the timeout in milliseconds used when retrieving an
HTTP connection
from theHTTP connection manager
. - setConnectionStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- setConnectionStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
- setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.HttpClient
- setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.
- setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets the timeout until a connection is etablished.
- setConnectionTimeout(long) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Sets the timeout value to use when testing for idle connections.
- setContentCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the default charset to be used for writing content body, when no charset explicitly specified.
- setContentChunked(boolean) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Sets whether or not the content should be chunked.
- setContentType(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Sets the content type.
- setCookiePolicy(int) - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.
- setCookiePolicy(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Assigns the
cookie policy
to be used by theHTTP methods
this collection of parameters applies to. - setCredentialCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the charset to be used for writing HTTP headers.
- setCredentials(String, String, Credentials) - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.use #setCredentials(AuthScope, Credentials)
- setCredentials(AuthScope, Credentials) - Method in class org.apache.commons.httpclient.HttpState
-
Sets the
credentials
for the given authentication scope. - setDefaultDocumentCharset(String) - Static method in class org.apache.commons.httpclient.URI
-
Set the default charset of the document.
- setDefaultMaxConnectionsPerHost(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Sets the default maximum number of connections allowed for a given host config.
- setDefaultPolicy(int) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Deprecated.
- setDefaultProtocolCharset(String) - Static method in class org.apache.commons.httpclient.URI
-
Set the default charset of the protocol.
- setDefaults(HttpParams) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- setDefaults(HttpParams) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns the parent collection that this collection will defer to for a default value if a particular parameter is not explicitly set in the collection itself
- setDefaultUseCaches(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setDiscard(boolean) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Set the Discard attribute.
- setDoAuthentication(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets whether or not the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.)
- setDoAuthentication(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets whether or not the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.)
- setDoInput(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setDomain(String) - Method in class org.apache.commons.httpclient.Cookie
-
Sets the domain attribute.
- setDomain(String) - Method in class org.apache.commons.httpclient.NTCredentials
-
Deprecated.Do not use. The NTCredentials objects should be immutable
- setDomainAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.Cookie
-
Indicates whether the cookie had a domain specified in a domain attribute of the Set-Cookie header.
- setDoOutput(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setDoubleParameter(String, double) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- setDoubleParameter(String, double) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns a
Double
to the parameter with the given name - setEscapedAuthority(String) - Method in class org.apache.commons.httpclient.URI
-
Set the authority.
- setEscapedFragment(String) - Method in class org.apache.commons.httpclient.URI
-
Set the escaped fragment string.
- setEscapedPassword(String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the escaped password string.
- setEscapedPath(String) - Method in class org.apache.commons.httpclient.URI
-
Set the escaped path.
- setEscapedQuery(String) - Method in class org.apache.commons.httpclient.URI
-
Set the escaped query string.
- setEscapedUser(String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the escaped user string.
- setEscapedUserinfo(String, String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the raw-escaped user and password.
- setExpiryDate(Date) - Method in class org.apache.commons.httpclient.Cookie
-
Sets expiration date.
- setFollowRedirects(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets whether or not the HTTP method should automatically follow HTTP redirects (status code 302, etc.)
- setFollowRedirects(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets whether or not the HTTP method should automatically follow HTTP redirects (status code 302, etc.)
- setFollowRedirects(boolean) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Entity enclosing requests cannot be redirected without user intervention according to RFC 2616.
- setFragment(String) - Method in class org.apache.commons.httpclient.URI
-
Set the fragment.
- setHeaders(Header[]) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Sets all of the headers contained within this group overriding any existing headers.
- setHost(String) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Set the given host.
- setHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the host to connect to.
- setHost(String) - Method in class org.apache.commons.httpclient.NTCredentials
-
Deprecated.Do not use. The NTCredentials objects should be immutable
- setHost(String, int) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the given host and port.
- setHost(String, int, String) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the given host, port and protocol
- setHost(String, int, Protocol) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the given host, port and protocol.
- setHost(String, String, int, Protocol) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Deprecated.#setHost(String, int, Protocol)
- setHost(HttpHost) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the given host
- setHost(URI) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the protocol, host and port from the given URI.
- setHostConfiguration(HostConfiguration) - Method in class org.apache.commons.httpclient.HttpClient
-
Assigns the
host configuration
to use with the HttpClient. - setHostConfiguration(HostConfiguration) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.no longer applicable
- setHostConfiguration(HostConfiguration) - Method in class org.apache.commons.httpclient.ProxyClient
-
Assigns the
host configuration
to use with the ProxyClient. - setHttp11(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.
- setHttpConnectionFactoryTimeout(long) - Method in class org.apache.commons.httpclient.HttpClient
-
Deprecated.
- setHttpConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.HttpClient
-
Assigns the
HTTP connection manager
to use with the HttpClient. - setHttpConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the httpConnectionManager.
- setHttpElementCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the charset to be used for writing HTTP headers.
- setHttpParamsFactory(HttpParamsFactory) - Static method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
Sets the factory that will provide the default HttpParams.
- setIfModifiedSince(long) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setInstanceFollowRedirects(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setIntParameter(String, int) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- setIntParameter(String, int) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns an
Integer
to the parameter with the given name - setLastResponseInputStream(InputStream) - Method in class org.apache.commons.httpclient.HttpConnection
-
Set the state to keep track of the last response for the last request.
- setLinger(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns linger-on-close timeout.
- setLocalAddress(InetAddress) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Set the local address to be used when creating connections.
- setLocalAddress(InetAddress) - Method in class org.apache.commons.httpclient.HttpConnection
-
Set the local address used when creating the connection.
- setLocked(boolean) - Method in class org.apache.commons.httpclient.HttpConnection
-
Locks or unlocks the connection.
- setLongParameter(String, long) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- setLongParameter(String, long) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns a
Long
to the parameter with the given name - setMaxConnectionsPerHost(int) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- setMaxConnectionsPerHost(HostConfiguration, int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Sets the maximum number of connections to be used for the given host config.
- setMaxTotalConnections(int) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
- setMaxTotalConnections(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Sets the maximum number of connections allowed.
- setMethodRetryHandler(MethodRetryHandler) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.use
HttpMethodParams
- setName(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Sets the part name.
- setName(String) - Method in class org.apache.commons.httpclient.NameValuePair
-
Set the name.
- setParameter(String, Object) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
- setParameter(String, Object) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns the value to the parameter with the given name
- setParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Sets the value of parameter with parameterName to parameterValue.
- setParameters(String[], Object) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
Assigns the value to all the parameter with the given names
- setParams(HostParams) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Assigns
HTTP protocol parameters
specific to this host. - setParams(HttpClientParams) - Method in class org.apache.commons.httpclient.HttpClient
-
Assigns
HTTP protocol parameters
for this HttpClient. - setParams(HttpClientParams) - Method in class org.apache.commons.httpclient.ProxyClient
-
Assigns
HTTP protocol parameters
for this ProxyClient. - setParams(HttpConnectionManagerParams) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
Assigns
parameters
for this connection manager. - setParams(HttpConnectionManagerParams) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Assigns
parameters
for this connection manager. - setParams(HttpConnectionManagerParams) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
Assigns
parameters
for this connection manager. - setParams(HttpConnectionParams) - Method in class org.apache.commons.httpclient.HttpConnection
-
Assigns
HTTP protocol parameters
for this method. - setParams(HttpMethodParams) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Assigns
HTTP protocol parameters
for this method. - setParams(HttpMethodParams) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Assigns
HTTP protocol parameters
for this method. - setPassword(String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the password string.
- setPassword(String) - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
Deprecated.Do not use. The UsernamePasswordCredentials objects should be immutable
- setPath(String) - Method in class org.apache.commons.httpclient.Cookie
-
Sets the path attribute.
- setPath(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the path of the HTTP method.
- setPath(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the path of the HTTP method.
- setPath(String) - Method in class org.apache.commons.httpclient.URI
-
Set the path.
- setPathAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.Cookie
-
Indicates whether the cookie had a path specified in a path attribute of the Set-Cookie header.
- setPort(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the port to connect to.
- setPortAttributeBlank(boolean) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Indicates whether the Port attribute in Set-Cookie2 header contains no value (is of the form Port="").
- setPortAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Indicates whether the cookie had a port attribute specified in the Set-Cookie2 response header.
- setPorts(int[]) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Set the Port attribute.
- setPreemptive() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Preemptively assigns Basic authentication scheme.
- setProtocol(Protocol) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the protocol used to establish the connection
- setProxy(String, int) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Set the proxy settings.
- setProxyCredentials(String, String, Credentials) - Method in class org.apache.commons.httpclient.HttpState
-
Deprecated.use #setProxyCredentials(AuthScope, Credentials)
- setProxyCredentials(AuthScope, Credentials) - Method in class org.apache.commons.httpclient.HttpState
-
Sets the
proxy credentials
for the given authentication realm. - setProxyHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the host to proxy through.
- setProxyHost(ProxyHost) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the given proxy host
- setProxyPort(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the port of the host to proxy through.
- setQuery(String) - Method in class org.apache.commons.httpclient.URI
-
Set the query.
- setQuery(String[], String[]) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the query as the name and value pairs.
- setQuery(String, String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the query as the name and value pair.
- setQueryString(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the query string of the HTTP method.
- setQueryString(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the query string of this HTTP method.
- setQueryString(NameValuePair[]) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the query string of this HTTP method.
- setQueryString(NameValuePair[]) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the query string of this HTTP method.
- setRawAuthority(char[]) - Method in class org.apache.commons.httpclient.URI
-
Set the authority.
- setRawFragment(char[]) - Method in class org.apache.commons.httpclient.URI
-
Set the raw-escaped fragment.
- setRawPassword(char[]) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the raw-escaped password.
- setRawPath(char[]) - Method in class org.apache.commons.httpclient.URI
-
Set the raw-escaped path.
- setRawQuery(char[]) - Method in class org.apache.commons.httpclient.URI
-
Set the raw-escaped query.
- setRawUser(char[]) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the raw-escaped user.
- setRawUserinfo(char[], char[]) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the raw-escaped user and password.
- setReason(String) - Method in exception class org.apache.commons.httpclient.HttpException
-
Deprecated.HttpClient no longer uses this for itself. It is only provided for compatibility with existing clients, and will be removed in a future release.
- setReason(String) - Method in exception class org.apache.commons.httpclient.URIException
-
Deprecated.Callers should instead set this via a parameter to the constructor.
- setReasonCode(int) - Method in exception class org.apache.commons.httpclient.HttpException
-
Deprecated.HttpClient no longer uses this for itself. It is only provided for compatibility with existing clients, and will be removed in a future release.
- setReasonCode(int) - Method in exception class org.apache.commons.httpclient.URIException
-
Deprecated.Callers should set the reason code as a parameter to the constructor.
- setReceiveBufferSize(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets a hint the size of the underlying buffers used by the platform for incoming network I/O.
- setRequestBody(InputStream) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Deprecated.
- setRequestBody(String) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Deprecated.
- setRequestBody(NameValuePair[]) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Sets an array of parameters to be used in the POST request body
- setRequestContentLength(int) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
- setRequestContentLength(long) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
- setRequestEntity(RequestEntity) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
- setRequestHeader(String, String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the specified request header, overwriting any previous value.
- setRequestHeader(String, String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Set the specified request header, overwriting any previous value.
- setRequestHeader(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the specified request header, overwriting any previous value.
- setRequestHeader(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the specified request header, overwriting any previous value.
- setRequestMethod(String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setRequestProperty(String, String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setRequestSentRetryEnabled(boolean) - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- setResponseStream(InputStream) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the response stream.
- setRetryCount(int) - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- setSecure(boolean) - Method in class org.apache.commons.httpclient.Cookie
-
Sets the secure attribute of the cookie.
- setSendBufferSize(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.
- setSendBufferSize(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets a hint the size of the underlying buffers used by the platform for outgoing network I/O.
- setSocket(Socket) - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
-
Set the socket.
- setSocketTimeout(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets
SO_TIMEOUT
value directly on the underlyingsocket
. - setSoTimeout(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.
- setSoTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
- setSoTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
- setStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.HttpConnection
- setStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Defines whether stale connection check is to be used.
- setState(HttpState) - Method in class org.apache.commons.httpclient.HttpClient
-
Assigns
HTTP state
for the HttpClient. - setState(HttpState) - Method in class org.apache.commons.httpclient.ProxyClient
-
Assigns
HTTP state
for the ProxyClient. - setStrictMode(boolean) - Method in class org.apache.commons.httpclient.HttpClient
-
Deprecated.Use
DefaultHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. - setStrictMode(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Deprecated.Use
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. - setStrictMode(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Deprecated.Use
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. - setTcpNoDelay(boolean) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines whether Nagle's algorithm is to be used.
- setTimeout(int) - Method in class org.apache.commons.httpclient.HttpClient
-
Deprecated.
- setTimeoutInterval(long) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Sets the interval used by this class between closing idle connections.
- setTransferEncoding(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Sets the transfer encoding.
- setURI() - Method in class org.apache.commons.httpclient.HttpURL
-
Once it's parsed successfully, set this URI.
- setURI() - Method in class org.apache.commons.httpclient.URI
-
Once it's parsed successfully, set this URI.
- setURI(URI) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the URI for this method.
- setURI(URI) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the URI for this method.
- setUriCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the charset to be used for parsing URIs.
- setUseCaches(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setUseExpectHeader(boolean) - Method in class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
Deprecated.Use
HttpMethodParams
- setUser(String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the user string.
- setUserinfo(String, String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the user and password.
- setUserName(String) - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
Deprecated.Do not use. The UsernamePasswordCredentials objects should be immutable
- setValidDateFormats(Collection) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Sets the
Collection
of date patterns used for parsing. - setValidDateFormats(Collection) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
- setValidDateFormats(Collection) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
Does nothing.
- setValue(String) - Method in class org.apache.commons.httpclient.NameValuePair
-
Set the value.
- setVersion(int) - Method in class org.apache.commons.httpclient.Cookie
-
Sets the version of the cookie specification to which this cookie conforms.
- setVersion(HttpVersion) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Assigns the
HTTP protocol version
to be used by theHTTP methods
that this collection of parameters applies to. - setVersionAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Indicates whether the cookie had a version attribute specified in the Set-Cookie2 response header.
- setVirtualHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.no longer applicable
- setVirtualHost(String) - Method in class org.apache.commons.httpclient.params.HostParams
-
Sets the virtual host name.
- setVirtualHost(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the virtual host name.
- shouldCloseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
-
Returns
true
if the status code is anything other than SC_OK,false
otherwise. - shouldCloseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Tests if the connection should be closed after the method has been executed.
- shutdown() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Shuts down the connection manager and releases all resources.
- shutdown() - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
since 3.1
- shutdown() - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Stops the thread used to close idle connections.
- shutdownAll() - Static method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Shuts down and cleans up resources used by all instances of MultiThreadedHttpConnectionManager.
- shutdownOutput() - Method in class org.apache.commons.httpclient.HttpConnection
-
Deprecated.unused
- SimpleHttpConnectionManager - Class in org.apache.commons.httpclient
-
A connection manager that provides access to a single HttpConnection.
- SimpleHttpConnectionManager() - Constructor for class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
The connection manager created with this constructor will always try to keep the connection open (alive) between consecutive requests.
- SimpleHttpConnectionManager(boolean) - Constructor for class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
The connection manager created with this constructor will try to keep the connection open (alive) between consecutive requests if the alwaysClose parameter is set to false.
- SINGLE_COOKIE_HEADER - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines whether
cookies
should be put on a singleresponse header
. - skip(long) - Method in class org.apache.commons.httpclient.ContentLengthInputStream
-
Skips and discards a number of bytes from the input stream.
- SO_LINGER - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets SO_LINGER with the specified linger time in seconds.
- SO_RCVBUF - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines a hint the size of the underlying buffers used by the platform for incoming network I/O.
- SO_SNDBUF - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines a hint the size of the underlying buffers used by the platform for outgoing network I/O.
- SO_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Defines the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
- SO_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the socket timeout (SO_TIMEOUT) in milliseconds to be used when executing the method.
- SocketTask() - Constructor for class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
- space - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for space.
- SSLProtocolSocketFactory - Class in org.apache.commons.httpclient.protocol
-
A SecureProtocolSocketFactory that uses JSSE to create sockets.
- SSLProtocolSocketFactory() - Constructor for class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
-
Constructor for SSLProtocolSocketFactory.
- STALE_CONNECTION_CHECK - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines whether stale connection check is to be used.
- startsWithHTTP(String) - Static method in class org.apache.commons.httpclient.StatusLine
-
Tests if the string starts with 'HTTP' signature.
- STATUS_LINE_GARBAGE_LIMIT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the maximum number of ignorable lines before we expect a HTTP response's status code.
- statusLine - Variable in class org.apache.commons.httpclient.HttpMethodBase
-
The Status-Line from the response.
- StatusLine - Class in org.apache.commons.httpclient
-
Represents a Status-Line as returned from a HTTP server.
- StatusLine(String) - Constructor for class org.apache.commons.httpclient.StatusLine
-
Default constructor.
- STRICT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines whether responses with an invalid Transfer-Encoding header should be rejected.
- StringPart - Class in org.apache.commons.httpclient.methods.multipart
-
Simple string parameter for a multipart post
- StringPart(String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.StringPart
-
Constructor.
- StringPart(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.StringPart
-
Constructor.
- StringRequestEntity - Class in org.apache.commons.httpclient.methods
-
A RequestEntity that contains a String.
- StringRequestEntity(String) - Constructor for class org.apache.commons.httpclient.methods.StringRequestEntity
-
Deprecated.use
StringRequestEntity(String, String, String)
instead - StringRequestEntity(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.StringRequestEntity
-
Creates a new entity with the given content, content type, and charset.
T
- TCP_NODELAY - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines whether Nagle's algorithm is to be used.
- TimeoutController - Class in org.apache.commons.httpclient.util
-
Executes a task with a specified timeout.
- TimeoutController.TimeoutException - Exception Class in org.apache.commons.httpclient.util
-
Signals that the task timed out.
- TimeoutException() - Constructor for exception class org.apache.commons.httpclient.util.TimeoutController.TimeoutException
-
Create an instance
- toExternalForm() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Return a textual representation of the cookie.
- toExternalForm() - Method in class org.apache.commons.httpclient.Cookie
-
Return a textual representation of the cookie.
- toExternalForm() - Method in class org.apache.commons.httpclient.Header
-
Returns a
String
representation of the header. - toplabel - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for toplabel.
- toString() - Method in class org.apache.commons.httpclient.auth.AuthSchemeBase
-
Deprecated.
- toString() - Method in class org.apache.commons.httpclient.auth.AuthScope
- toString() - Method in class org.apache.commons.httpclient.auth.AuthState
- toString() - Method in class org.apache.commons.httpclient.Cookie
-
Return a textual representation of the cookie.
- toString() - Method in class org.apache.commons.httpclient.Header
-
Returns a
String
representation of the header. - toString() - Method in class org.apache.commons.httpclient.HostConfiguration
- toString() - Method in class org.apache.commons.httpclient.HttpHost
- toString() - Method in class org.apache.commons.httpclient.HttpState
-
Returns a string representation of this HTTP state.
- toString() - Method in class org.apache.commons.httpclient.HttpVersion
- toString() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return a string representation of this object.
- toString() - Method in class org.apache.commons.httpclient.NameValuePair
-
Get a String representation of this pair.
- toString() - Method in class org.apache.commons.httpclient.NTCredentials
-
Return a string representation of this object.
- toString() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Return a string representation of this object.
- toString() - Method in class org.apache.commons.httpclient.StatusLine
-
Return a string representation of this object.
- toString() - Method in class org.apache.commons.httpclient.URI
-
Get the escaped URI string.
- toString() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
Get this object string.
- toURI() - Method in class org.apache.commons.httpclient.HttpHost
-
Return the host uri.
- toUserinfo(String, String) - Static method in class org.apache.commons.httpclient.HttpURL
- TraceMethod - Class in org.apache.commons.httpclient.methods
-
Implements the HTTP TRACE method.
- TraceMethod(String) - Constructor for class org.apache.commons.httpclient.methods.TraceMethod
-
Constructor specifying a URI.
- tunnelCreated() - Method in class org.apache.commons.httpclient.HttpConnection
-
Instructs the proxy to establish a secure tunnel to the host.
U
- UNAMBIGUOUS_STATUS_LINE - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines whether
HTTP methods
should reject ambiguousHTTP status line
. - UNKNOWN - Static variable in exception class org.apache.commons.httpclient.URI.DefaultCharsetChanged
-
No specified reason code.
- UNKNOWN - Static variable in exception class org.apache.commons.httpclient.URIException
-
No specified reason code.
- unregisterAuthScheme(String) - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
-
Unregisters the class implementing an
authentication scheme
with the given ID. - unregisterCookieSpec(String) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Unregisters the
cookie specification
with the given ID. - unregisterProtocol(String) - Static method in class org.apache.commons.httpclient.protocol.Protocol
-
Unregisters the protocol with the given ID.
- unreserved - Static variable in class org.apache.commons.httpclient.URI
-
Data characters that are allowed in a URI but do not have a reserved purpose are called unreserved.
- UNSUPPORTED_ENCODING - Static variable in exception class org.apache.commons.httpclient.URIException
-
The unsupported character encoding.
- unwise - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for unwise.
- URI - Class in org.apache.commons.httpclient
-
The interface for the URI(Uniform Resource Identifiers) version of RFC 2396.
- URI() - Constructor for class org.apache.commons.httpclient.URI
-
Create an instance as an internal use
- URI(char[]) - Constructor for class org.apache.commons.httpclient.URI
-
Deprecated.Use #URI(String, boolean)
- URI(char[], String) - Constructor for class org.apache.commons.httpclient.URI
-
Deprecated.Use #URI(String, boolean, String)
- URI(String) - Constructor for class org.apache.commons.httpclient.URI
-
Deprecated.Use #URI(String, boolean)
- URI(String, boolean) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a URI from a string with the given charset.
- URI(String, boolean, String) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a URI from a string with the given charset.
- URI(String, String) - Constructor for class org.apache.commons.httpclient.URI
-
Deprecated.Use #URI(String, boolean, String)
- URI(String, String, String) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI from the given components.
- URI(String, String, String, int) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI from the given components.
- URI(String, String, String, int, String) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI from the given components.
- URI(String, String, String, int, String, String) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI from the given components.
- URI(String, String, String, int, String, String, String) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI from the given components.
- URI(String, String, String, String) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI from the given components.
- URI(String, String, String, String, String) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI from the given components.
- URI(URI, String) - Constructor for class org.apache.commons.httpclient.URI
-
Deprecated.Use #URI(URI, String, boolean)
- URI(URI, String, boolean) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI with the given relative URI string.
- URI(URI, URI) - Constructor for class org.apache.commons.httpclient.URI
-
Construct a general URI with the given relative URI.
- URI_reference - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for URI-reference.
- URI.DefaultCharsetChanged - Exception Class in org.apache.commons.httpclient
-
The charset-changed normal operation to represent to be required to alert to user the fact the default charset is changed.
- URI.LocaleToCharsetMap - Class in org.apache.commons.httpclient
-
A mapping to determine the (somewhat arbitrarily) preferred charset for a given locale.
- uric - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for uric.
- uric_no_slash - Static variable in class org.apache.commons.httpclient.URI
-
URI bitset for encoding typical non-slash characters.
- URIException - Exception Class in org.apache.commons.httpclient
-
The URI parsing and escape encoding exception.
- URIException() - Constructor for exception class org.apache.commons.httpclient.URIException
-
Default constructor.
- URIException(int) - Constructor for exception class org.apache.commons.httpclient.URIException
-
The constructor with a reason code argument.
- URIException(int, String) - Constructor for exception class org.apache.commons.httpclient.URIException
-
The constructor with a reason string and its code arguments.
- URIException(String) - Constructor for exception class org.apache.commons.httpclient.URIException
-
The constructor with a reason string argument.
- URIUtil - Class in org.apache.commons.httpclient.util
-
The URI escape and character encoding and decoding utility.
- URIUtil() - Constructor for class org.apache.commons.httpclient.util.URIUtil
- URIUtil.Coder - Class in org.apache.commons.httpclient.util
-
Deprecated.use org.apache.commons.codec.net.URLCodec
- USE_EXPECT_CONTINUE - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Activates 'Expect: 100-Continue' handshake for the
entity enclosing methods
. - USER_AGENT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the content of the User-Agent header used by
HTTP methods
. - userinfo - Static variable in class org.apache.commons.httpclient.URI
-
Bitset for userinfo.
- UsernamePasswordCredentials - Class in org.apache.commons.httpclient
-
Username and password
Credentials
. - UsernamePasswordCredentials() - Constructor for class org.apache.commons.httpclient.UsernamePasswordCredentials
-
Deprecated.Do not use. Null user name no longer allowed
- UsernamePasswordCredentials(String) - Constructor for class org.apache.commons.httpclient.UsernamePasswordCredentials
-
The constructor with the username and password combined string argument.
- UsernamePasswordCredentials(String, String) - Constructor for class org.apache.commons.httpclient.UsernamePasswordCredentials
-
The constructor with the username and password arguments.
- usingProxy() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
V
- validate() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns true the method is ready to execute, false otherwise.
- validate() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns true the method is ready to execute, false otherwise.
- validate(char[], int, int, BitSet) - Method in class org.apache.commons.httpclient.URI
-
Validate the URI characters within a specific component.
- validate(char[], BitSet) - Method in class org.apache.commons.httpclient.URI
-
Validate the URI characters within a specific component.
- validate(String, int, String, boolean, Cookie) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Validate the cookie according to validation rules defined by the cookie specification.
- validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Performs most common
Cookie
validation - validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
Does nothing.
- validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
-
Performs Netscape draft compliant
Cookie
validation - validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Performs RFC 2109 compliant
Cookie
validation - validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Performs RFC 2965 compliant
Cookie
validation - validate(Cookie, CookieOrigin) - Method in interface org.apache.commons.httpclient.cookie.CookieAttributeHandler
-
Peforms cookie validation for the given attribute value.
- verifyEscaped(char[]) - Static method in class org.apache.commons.httpclient.util.URIUtil.Coder
-
Deprecated.Verify whether a given string is escaped or not
- VERSION - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
- VIRTUAL_HOST - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the virtual host name.
W
- WARN_EXTRA_INPUT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines HttpClient's behavior when a response provides more bytes than expected (specified with Content-Length, for example).
- within_userinfo - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for within the userinfo component like user and password.
- write(byte[]) - Method in class org.apache.commons.httpclient.ChunkedOutputStream
-
Writes the array.
- write(byte[]) - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes the specified bytes to the output stream.
- write(byte[], int, int) - Method in class org.apache.commons.httpclient.ChunkedOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes length bytes in data starting at offset to the output stream.
- write(int) - Method in class org.apache.commons.httpclient.ChunkedOutputStream
-
Write the specified byte to our output stream.
- writeClosingChunk() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
- writeLine() - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes "\r\n".getBytes() to the output stream.
- writeLine(byte[]) - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes the specified bytes, followed by "\r\n".getBytes() to the output stream.
- writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
- writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.FileRequestEntity
- writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
- writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
- writeRequest(OutputStream) - Method in interface org.apache.commons.httpclient.methods.RequestEntity
-
Writes the request entity to the given stream.
- writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
- writeRequest(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sends the request via the given
connection
. - writeRequestBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Writes the request body to the given
connection
. - writeRequestBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Writes the request body to the given
connection
. - writeRequestBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.Writes the request body to the given
connection
. - writeRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Writes the request headers to the given
connection
. - writeRequestLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
-
Special Connect request.
- writeRequestLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Writes the request line to the given
connection
. - WWW_AUTH - Static variable in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.The www authenticate challange header.
- WWW_AUTH_RESP - Static variable in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.The www authenticate response header.
_
- _authority - Variable in class org.apache.commons.httpclient.URI
-
The authority.
- _default_port - Static variable in class org.apache.commons.httpclient.HttpsURL
-
Deprecated.Use
HttpsURL.DEFAULT_PORT
instead. This one doesn't conform to the project naming conventions. - _default_port - Static variable in class org.apache.commons.httpclient.HttpURL
-
Deprecated.Use
HttpURL.DEFAULT_PORT
instead. This one doesn't conform to the project naming conventions. - _default_scheme - Static variable in class org.apache.commons.httpclient.HttpsURL
-
Deprecated.Use
HttpsURL.DEFAULT_SCHEME
instead. This one doesn't conform to the project naming conventions. - _default_scheme - Static variable in class org.apache.commons.httpclient.HttpURL
-
Deprecated.Use
HttpURL.DEFAULT_SCHEME
instead. This one doesn't conform to the project naming conventions. - _fragment - Variable in class org.apache.commons.httpclient.URI
-
The fragment.
- _host - Variable in class org.apache.commons.httpclient.URI
-
The host.
- _is_abs_path - Variable in class org.apache.commons.httpclient.URI
- _is_hier_part - Variable in class org.apache.commons.httpclient.URI
- _is_hostname - Variable in class org.apache.commons.httpclient.URI
- _is_IPv4address - Variable in class org.apache.commons.httpclient.URI
- _is_IPv6reference - Variable in class org.apache.commons.httpclient.URI
- _is_net_path - Variable in class org.apache.commons.httpclient.URI
- _is_opaque_part - Variable in class org.apache.commons.httpclient.URI
- _is_reg_name - Variable in class org.apache.commons.httpclient.URI
- _is_rel_path - Variable in class org.apache.commons.httpclient.URI
- _is_server - Variable in class org.apache.commons.httpclient.URI
- _opaque - Variable in class org.apache.commons.httpclient.URI
-
The opaque.
- _path - Variable in class org.apache.commons.httpclient.URI
-
The path.
- _port - Variable in class org.apache.commons.httpclient.URI
-
The port.
- _query - Variable in class org.apache.commons.httpclient.URI
-
The query.
- _scheme - Variable in class org.apache.commons.httpclient.URI
-
The scheme.
- _uri - Variable in class org.apache.commons.httpclient.URI
-
This Uniform Resource Identifier (URI).
- _userinfo - Variable in class org.apache.commons.httpclient.URI
-
The userinfo.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form