A B C D E F G H I K L M N O P Q R S T U V W _

A

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.
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 org.apache.commons.httpclient.auth.AuthChallengeException.
Signals a failure processing authentication challenge
AuthChallengeException() - Constructor for class org.apache.commons.httpclient.auth.AuthChallengeException
Creates a new AuthChallengeException with a null detail message.
AuthChallengeException(String) - Constructor for class org.apache.commons.httpclient.auth.AuthChallengeException
Creates a new AuthChallengeException with the specified message.
AuthChallengeException(String, Throwable) - Constructor for class org.apache.commons.httpclient.auth.AuthChallengeException
Creates a new AuthChallengeException with the specified detail message and cause.
AuthChallengeParser - class org.apache.commons.httpclient.auth.AuthChallengeParser.
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 org.apache.commons.httpclient.auth.AuthChallengeProcessor.
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
AuthPolicy - class org.apache.commons.httpclient.auth.AuthPolicy.
Authentication policy class.
AuthPolicy() - Constructor for class org.apache.commons.httpclient.auth.AuthPolicy
 
AuthScheme - interface org.apache.commons.httpclient.auth.AuthScheme.
This interface represents an abstract challenge-response oriented authentication scheme.
AuthSchemeBase - class org.apache.commons.httpclient.auth.AuthSchemeBase.
Deprecated. No longer used
AuthSchemeBase(String) - Constructor for class org.apache.commons.httpclient.auth.AuthSchemeBase
Deprecated. Use parameterless constructor and AuthScheme.processChallenge(String) method
AuthState - class org.apache.commons.httpclient.auth.AuthState.
This class provides detailed information about the state of the authentication process.
AuthState() - Constructor for class org.apache.commons.httpclient.auth.AuthState
Default constructor.
AuthenticationException - exception org.apache.commons.httpclient.auth.AuthenticationException.
Signals a failure in authentication process
AuthenticationException() - Constructor for class org.apache.commons.httpclient.auth.AuthenticationException
Creates a new AuthenticationException with a null detail message.
AuthenticationException(String) - Constructor for class org.apache.commons.httpclient.auth.AuthenticationException
Creates a new AuthenticationException with the specified message.
AuthenticationException(String, Throwable) - Constructor for class org.apache.commons.httpclient.auth.AuthenticationException
Creates a new AuthenticationException with the specified detail message and cause.
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.
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
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
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 cookies 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, String) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
Adds a text field part
addParameter(String, File) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
Adds a binary file part
addParameter(String, String, File) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
Adds a binary file part with the given file name
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(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
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(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.
addRequestHeader(String, String) - 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 given HttpConnection.
addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Generates all the required request headers to be submitted via the given connection.
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 given HttpConnection.
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
Populates the request headers map to with additional headers to be submitted to the given HttpConnection.
addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.PostMethod
Adds Content Type: application/x-www-form-urlencoded header in addition to the "standard" set of headers, if no Content Type header has been set by the user
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.
allowed_IPv6reference - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the IPv6reference component.
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_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).
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.
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 of Credentials, method name and URI using the given authentication scheme in response to the actual authorization challenge.
authenticate(Credentials, HttpMethod) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
Produces an authorization string for the given set of Credentials.
authenticate(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.BasicScheme
Deprecated. Use BasicScheme.authenticate(Credentials, HttpMethod)
authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.BasicScheme
Produces basic authorization string for the given set of Credentials.
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 given UsernamePasswordCredentials.
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.
authenticate(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.DigestScheme
Deprecated. Use DigestScheme.authenticate(Credentials, HttpMethod)
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(AuthScheme, HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
Deprecated. use AuthScheme
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(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
Deprecated. Use NTLMScheme.authenticate(Credentials, HttpMethod)
authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
Produces NTLM authorization string for the given set of Credentials.
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
authority - Static variable in class org.apache.commons.httpclient.URI
BitSet for authority.

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)
BOUNDARY - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
The boundary
BOUNDARY_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
The boundary as a byte array
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.
BasicScheme - class org.apache.commons.httpclient.auth.BasicScheme.
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
ByteArrayPartSource - class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource.
A PartSource that reads from a byte array.
ByteArrayPartSource(String, byte[]) - Constructor for class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
Constructor for ByteArrayPartSource.

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
COMPATIBILITY - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
Deprecated. Use CookiePolicy.BROWSER_COMPATIBILITY
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 the HTTP connection manager.
CONNECTION_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Determines the timeout until a connection is etablished.
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
The content length will be calculated automatically.
CONTENT_LENGTH_CHUNKED - Static variable in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
The request will use chunked transfer encoding.
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
COOKIE_POLICY - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines cookie policy to be used for cookie management.
CREDENTIAL_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines the charset to be used when encoding Credentials.
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
ChunkedInputStream - class org.apache.commons.httpclient.ChunkedInputStream.
Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.
ChunkedInputStream(InputStream, HttpMethod) - Constructor for class org.apache.commons.httpclient.ChunkedInputStream
 
ChunkedOutputStream - class org.apache.commons.httpclient.ChunkedOutputStream.
Implements HTTP chunking support.
ChunkedOutputStream(OutputStream, int) - Constructor for class org.apache.commons.httpclient.ChunkedOutputStream
Wraps a stream and chunks the output.
ChunkedOutputStream(OutputStream) - Constructor for class org.apache.commons.httpclient.ChunkedOutputStream
Wraps a stream and chunks the output.
ConnectMethod - class org.apache.commons.httpclient.ConnectMethod.
Establishes a tunneled HTTP connection via the CONNECT method.
ConnectMethod() - 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 org.apache.commons.httpclient.ConnectTimeoutException.
A timeout while connecting to an HTTP server or waiting for an available connection from an HttpConnectionManager.
ConnectTimeoutException() - Constructor for class org.apache.commons.httpclient.ConnectTimeoutException
Creates a ConnectTimeoutException with a null detail message.
ConnectTimeoutException(String) - Constructor for class org.apache.commons.httpclient.ConnectTimeoutException
Creates a ConnectTimeoutException with the specified detail message.
ConnectTimeoutException(String, Throwable) - Constructor for class org.apache.commons.httpclient.ConnectTimeoutException
Creates a new ConnectTimeoutException with the specified detail message and cause.
ContentLengthInputStream - class org.apache.commons.httpclient.ContentLengthInputStream.
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.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
ControllerThreadSocketFactory - class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.
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 org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask.
Helper class for wrapping socket based tasks.
ControllerThreadSocketFactory.SocketTask() - Constructor for class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
 
Cookie - class org.apache.commons.httpclient.Cookie.
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, 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(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
CookiePolicy - class org.apache.commons.httpclient.cookie.CookiePolicy.
Cookie management policy class.
CookiePolicy() - Constructor for class org.apache.commons.httpclient.cookie.CookiePolicy
 
CookieSpec - interface org.apache.commons.httpclient.cookie.CookieSpec.
Defines the cookie management specification.
CookieSpecBase - class org.apache.commons.httpclient.cookie.CookieSpecBase.
Cookie management functions shared by all specification.
CookieSpecBase() - Constructor for class org.apache.commons.httpclient.cookie.CookieSpecBase
Default constructor
Credentials - interface org.apache.commons.httpclient.Credentials.
Authentication credentials.
CredentialsNotAvailableException - exception org.apache.commons.httpclient.auth.CredentialsNotAvailableException.
Authentication credentials required to respond to a authentication challenge are not available
CredentialsNotAvailableException() - Constructor for class org.apache.commons.httpclient.auth.CredentialsNotAvailableException
Creates a new CredentialsNotAvailableException with a null detail message.
CredentialsNotAvailableException(String) - Constructor for class org.apache.commons.httpclient.auth.CredentialsNotAvailableException
Creates a new CredentialsNotAvailableException with the specified message.
CredentialsNotAvailableException(String, Throwable) - Constructor for class org.apache.commons.httpclient.auth.CredentialsNotAvailableException
Creates a new CredentialsNotAvailableException with the specified detail message and cause.
CredentialsProvider - interface org.apache.commons.httpclient.auth.CredentialsProvider.
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.
checkNotUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Throws an IllegalStateException if the HTTP method has been already executed, but not recycled.
checkUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Throws an IllegalStateException if the HTTP method has not been executed since last recycle.
checkValid() - Method in class org.apache.commons.httpclient.HttpURL
Verify the valid class use for construction.
checkValid() - Method in class org.apache.commons.httpclient.HttpsURL
Verify the valid class use for construction.
clear() - Method in class org.apache.commons.httpclient.HeaderGroup
Removes any contained headers.
clear() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Removes all parameters from this collection.
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.URI
Create and return a copy of this object, the URI-reference containing the userinfo component.
clone() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Clones this collection of parameters.
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.
closeSocketAndStreams() - Method in class org.apache.commons.httpclient.HttpConnection
Closes everything out.
compare(Object, Object) - Method in class org.apache.commons.httpclient.Cookie
Compares two cookies to determine order for cookie header.
compareTo(Object) - Method in class org.apache.commons.httpclient.URI
Compare this URI to another object.
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.
containsHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
Tests if headers with the given name are contained within this group.
control - Static variable in class org.apache.commons.httpclient.URI
BitSet for control.
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(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.
createSocket(ControllerThreadSocketFactory.SocketTask, int) - Static method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
 
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) - 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, HttpConnectionParams) - Method in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
Gets a new socket connection to the given host.
createSocket(String, int) - Method in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
Gets a new socket connection to the given host.
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(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.SSLProtocolSocketFactory
Attempts to get a new socket connection to the given host within the given time limit.
createSocket(String, int) - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
 
createSocket(Socket, String, int, boolean) - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
 
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.

D

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_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.HttpURL
Default port for HTTP URL.
DEFAULT_PORT - Static variable in class org.apache.commons.httpclient.HttpsURL
Default port for HTTPS URL.
DEFAULT_SCHEME - Static variable in class org.apache.commons.httpclient.HttpURL
Default scheme for HTTP URL.
DEFAULT_SCHEME - Static variable in class org.apache.commons.httpclient.HttpsURL
Default scheme for HTTPS 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
DIGEST - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
Digest authentication scheme as defined in RFC2617.
DOCUMENT_CHARSET - Static variable in class org.apache.commons.httpclient.URI.DefaultCharsetChanged
Document charset changed.
DateParseException - exception org.apache.commons.httpclient.util.DateParseException.
An exception to indicate an error parsing a date string.
DateParseException() - Constructor for class org.apache.commons.httpclient.util.DateParseException
 
DateParseException(String) - Constructor for class org.apache.commons.httpclient.util.DateParseException
 
DateParser - class org.apache.commons.httpclient.util.DateParser.
A utility class for parsing HTTP dates as used in cookies and other headers.
DefaultHttpParams - class org.apache.commons.httpclient.params.DefaultHttpParams.
This class represents a collection of HTTP protocol parameters.
DefaultHttpParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.DefaultHttpParams
Creates a new collection of parameters with the given parent.
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.
DefaultHttpParamsFactory - class org.apache.commons.httpclient.params.DefaultHttpParamsFactory.
TODO: comment type
DefaultHttpParamsFactory() - Constructor for class org.apache.commons.httpclient.params.DefaultHttpParamsFactory
 
DefaultMethodRetryHandler - class org.apache.commons.httpclient.DefaultMethodRetryHandler.
The default MethodRetryHandler used by HttpMethodBase.
DefaultMethodRetryHandler() - Constructor for class org.apache.commons.httpclient.DefaultMethodRetryHandler
 
DefaultProtocolSocketFactory - class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.
The default class for creating protocol sockets.
DefaultProtocolSocketFactory() - Constructor for class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
Constructor for DefaultProtocolSocketFactory.
DeleteMethod - class org.apache.commons.httpclient.methods.DeleteMethod.
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.
DigestScheme - class org.apache.commons.httpclient.auth.DigestScheme.
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
decode(char[], 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.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.util.URIUtil
Unescape and decode a given string regarded as an escaped string.
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
 
defaultProtocolCharset - Static variable in class org.apache.commons.httpclient.URI
The default charset of the protocol.
delims - Static variable in class org.apache.commons.httpclient.URI
BitSet for delims.
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.
disconnect() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
doit() - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
Perform the logic.
domainlabel - Static variable in class org.apache.commons.httpclient.URI
BitSet for domainlabel.

E

ESCAPING - Static variable in class org.apache.commons.httpclient.URIException
The URI escape encoding and decoding error.
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
EncodingUtil - class org.apache.commons.httpclient.util.EncodingUtil.
The home for utility methods that handle various encoding tasks.
EntityEnclosingMethod - class org.apache.commons.httpclient.methods.EntityEnclosingMethod.
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.
ExceptionUtil - class org.apache.commons.httpclient.util.ExceptionUtil.
The home for utility methods that handle various exception-related tasks.
ExceptionUtil() - Constructor for class org.apache.commons.httpclient.util.ExceptionUtil
 
ExpectContinueMethod - class org.apache.commons.httpclient.methods.ExpectContinueMethod.
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.
empty - Static variable in class org.apache.commons.httpclient.util.URIUtil
 
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) - Static method in class org.apache.commons.httpclient.util.URIUtil
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.
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.HttpVersion
 
equals(HttpVersion) - Method in class org.apache.commons.httpclient.HttpVersion
Test if the HTTP protocol version is equal to the given number.
equals(Object) - Method in class org.apache.commons.httpclient.NameValuePair
Test if the given object is equal to me.
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.URI
Test an object if this URI is equal to another.
equals(Object) - Method in class org.apache.commons.httpclient.auth.AuthSchemeBase
Deprecated.  
equals(Object) - Method in class org.apache.commons.httpclient.auth.HttpAuthRealm
 
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.
escaped - Static variable in class org.apache.commons.httpclient.URI
BitSet for escaped.
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 and HttpState.
execute(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Executes this method using the specified HttpConnection and HttpState.
execute(Thread, long) - Static method in class org.apache.commons.httpclient.util.TimeoutController
Executes task.
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.
executeMethod(HttpMethod) - Method in class org.apache.commons.httpclient.HttpClient
Executes the given HTTP method.
executeMethod(HostConfiguration, HttpMethod) - Method in class org.apache.commons.httpclient.HttpClient
Executes the given HTTP method using custom host configuration.
executeMethod(HostConfiguration, HttpMethod, HttpState) - Method in class org.apache.commons.httpclient.HttpClient
Executes the given HTTP method using the given custom host configuration with the given custom HTTP state.
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
FILE_NAME_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.FilePart
Attachment's file name as a byte array
FORM_URL_ENCODED_CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.PostMethod
The Content-Type for www-form-urlencoded.
FilePart - class org.apache.commons.httpclient.methods.multipart.FilePart.
This class implements a part of a Multipart post object that consists of a file.
FilePart(String, PartSource, 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, 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.
FilePartSource - class org.apache.commons.httpclient.methods.multipart.FilePartSource.
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.
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.
formUrlEncode(NameValuePair[], String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
Form-urlencoding routine.
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
formatCookieHeader(Cookie[]) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
Create a "Cookie" Header for an array of Cookies.
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
Create a "Cookie" Header containing all Cookies in cookies.
formatCookieHeader(Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
Create a "Cookie" Header containing the Cookie.
formatCookieHeader(Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
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 Cookies 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 Cookies in cookies suitable for sending in a "Cookie" header
fragment - Static variable in class org.apache.commons.httpclient.URI
BitSet for fragment (alias for uric).

G

GetMethod - class org.apache.commons.httpclient.methods.GetMethod.
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.
generateRequestBody() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Generates the request body.
generateRequestBody() - Method in class org.apache.commons.httpclient.methods.PostMethod
Generates the request body.
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.
getAllowUserInteraction() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getAllowedMethods() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
Get a list of allowed methods.
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[], int, int) - 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.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.
getAsciiString(byte[]) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
Converts the byte array of ASCII characters to a string.
getAuthScheme(String) - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
Gets the authentication scheme with the given ID.
getAuthScheme() - Method in class org.apache.commons.httpclient.auth.AuthState
Returns the authentication scheme.
getAuthenticationRealm() - Method in class org.apache.commons.httpclient.HttpMethodBase
Deprecated. use #getHostAuthState()
getAuthority() - Method in class org.apache.commons.httpclient.URI
Get the authority.
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
Return the boundary string.
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 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.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.
getCharset(Locale) - Static method in class org.apache.commons.httpclient.URI.LocaleToCharsetMap
Get the preferred charset for the given locale.
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.
getCompatibilitySpec() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Deprecated. Use CookiePolicy.getCookieSpec(String)
getCondensedHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
Gets a header representing all of the header values with the given name.
getConnectMethod() - Method in class org.apache.commons.httpclient.ProxyClient.ConnectResponse
Gets the method that was used to execute the connect.
getConnection(HostConfiguration) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
Gets an HttpConnection for a given host configuration.
getConnection(HostConfiguration, long) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long)
getConnection(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
 
getConnection(HostConfiguration, long) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long)
getConnection(HostConfiguration) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
 
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 the HTTP connection manager.
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
 
getConnectionWithTimeout(HostConfiguration, long) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
 
getConnectionsInUse(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Gets the number of connections in use for this configuration.
getConnectionsInUse() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Gets the total number of connections in use.
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, 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
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
getContentCharSet(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the character set from the Content-Type header.
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.
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
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[]) - 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
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.
getCookiePolicy() - Method in class org.apache.commons.httpclient.HttpState
Deprecated. Use HttpMethodParams.getCookiePolicy(), HttpMethod.getParams().
getCookiePolicy() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Returns cookie policy to be used by the HTTP methods this collection of parameters applies to.
getCookieSpec(String) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Gets the cookie specification with the given ID.
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)
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
Get the credentials for the given authentication realm on the given host.
getCredentials(HttpAuthRealm) - Method in class org.apache.commons.httpclient.HttpState
Get the credentials for the given authentication realm.
getCredentials(AuthScheme, String, int, boolean) - Method in interface org.apache.commons.httpclient.auth.CredentialsProvider
Requests additional authentication credentials.
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.
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. Use CookiePolicy.getCookieSpec(String)
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.
getDefaultSpec() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Returns cookie specification registered as CookiePolicy.DEFAULT.
getDefaultUseCaches() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
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
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.
getDoOutput() - 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.
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.
getElements() - Method in class org.apache.commons.httpclient.Header
Returns an array of HeaderElements 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(String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Return the header field
getHeaderField(int) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Return the header field at the specified position
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.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.
getHost() - Method in class org.apache.commons.httpclient.auth.HttpAuthRealm
 
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
Gets the host configuration for this method.
getHostConfiguration() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the host configuration.
getHostConfiguration() - Method in class org.apache.commons.httpclient.ProxyClient
Returns the host configuration associated with the ProxyClient.
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.HttpMethodBase
Returns the HTTP version to be used with this method.
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
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.
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
Deprecated. Use HttpConnectionManagerParams.MAX_HOST_CONNECTIONS, HttpConnectionManager.getParams().
getMaxTotalConnections() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Deprecated. Use HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, HttpConnectionManager.getParams().
getMethodRetryHandler() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns the retry handler for this HTTP method
getMethodRetryHandler() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the retry handler for this HTTP method
getMinor() - Method in class org.apache.commons.httpclient.HttpVersion
Returns the minor version number of the HTTP protocol.
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.NameValuePair
Return the name.
getName() - Method in class org.apache.commons.httpclient.URI
Get the basename of the path.
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.MultipartPostMethod
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.methods.multipart.Part
Return the name of this part.
getName() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
Returns the name.
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.HeaderElement
Get parameters, if any.
getParameters() - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
Returns authentication parameters map.
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.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.
getParts() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
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.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.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.HttpURL
Get the port number.
getPort() - Method in class org.apache.commons.httpclient.HttpsURL
Get the port number.
getPort() - Method in class org.apache.commons.httpclient.URI
Get the port.
getPort() - Method in class org.apache.commons.httpclient.auth.HttpAuthRealm
 
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(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.
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
getProxyAuthenticationRealm() - Method in class org.apache.commons.httpclient.HttpMethodBase
Deprecated. use #getProxyAuthState()
getProxyCredentials(String, String) - Method in class org.apache.commons.httpclient.HttpState
Get the credentials for the proxy host with the given authentication realm.
getProxyCredentials(HttpAuthRealm) - Method in class org.apache.commons.httpclient.HttpState
Get the credentials for the given proxy authentication realm.
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(char[]) - Method in class org.apache.commons.httpclient.URI
Get the raw-escaped current hierarchy level in the given path.
getRawCurrentHierPath() - Method in class org.apache.commons.httpclient.URI
Get the raw-escaped current hierarchy level.
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.HttpURL
Get the scheme.
getRawScheme() - Method in class org.apache.commons.httpclient.HttpsURL
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.AuthState
Returns the authentication realm.
getRealm() - Method in class org.apache.commons.httpclient.auth.HttpAuthRealm
 
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 class org.apache.commons.httpclient.URI.DefaultCharsetChanged
Get the reason message.
getReason() - Method in class org.apache.commons.httpclient.URIException
Get the reason message.
getReasonCode() - Method in class org.apache.commons.httpclient.URI.DefaultCharsetChanged
Get the reason code.
getReasonCode() - Method in 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.
getRequestBody() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Returns the request body as a InputStream.
getRequestBodyAsString() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Returns the request body as a String.
getRequestCharSet() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the character encoding of the request from the Content-Type header.
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
Return the length of the request body.
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(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Returns the request headers with the given name.
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 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.
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.
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(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
 
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.
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.DefaultMethodRetryHandler
 
getScheme() - Method in class org.apache.commons.httpclient.HttpURL
Get the scheme.
getScheme() - Method in class org.apache.commons.httpclient.HttpsURL
Get the scheme.
getScheme() - Method in class org.apache.commons.httpclient.URI
Get the scheme.
getScheme() - Method in class org.apache.commons.httpclient.auth.HttpAuthRealm
 
getScheme() - Method in class org.apache.commons.httpclient.protocol.Protocol
Returns 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.
getSoTimeout() - Method in class org.apache.commons.httpclient.HttpConnection
Deprecated. Use HttpConnectionParams.getSoTimeout(), HttpConnection.getParams().
getSoTimeout() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Returns the socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
getSocket() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the connection 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.
getSocket() - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
Return the socket.
getSocketFactory() - Method in class org.apache.commons.httpclient.protocol.Protocol
Returns the socketFactory.
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. Use CookiePolicy.getCookieSpec(String)
getSpecByVersion(int) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Deprecated. Use CookiePolicy.getCookieSpec(String)
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[], 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[]) - 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 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.
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.
getUserName() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
User name property getter.
getUserinfo() - Method in class org.apache.commons.httpclient.URI
Get the userinfo.
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 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.params.HttpMethodParams
Returns HTTP protocol version to be used by the HTTP methods that this collection of parameters applies to.
getVirtualHost() - Method in class org.apache.commons.httpclient.HostConfiguration
Returns the virtual host.
getVirtualHost() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the target virtual host.
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

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.
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.
HeadMethod - class org.apache.commons.httpclient.methods.HeadMethod.
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.
Header - class org.apache.commons.httpclient.Header.
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 org.apache.commons.httpclient.HeaderElement.
One element of an HTTP header's value.
HeaderElement() - Constructor for class org.apache.commons.httpclient.HeaderElement
Default constructor.
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.
HeaderElement(char[], int, int) - Constructor for class org.apache.commons.httpclient.HeaderElement
Constructor with array of characters.
HeaderElement(char[]) - Constructor for class org.apache.commons.httpclient.HeaderElement
Constructor with array of characters.
HeaderGroup - class org.apache.commons.httpclient.HeaderGroup.
A class for combining a set of headers.
HeaderGroup() - Constructor for class org.apache.commons.httpclient.HeaderGroup
Constructor for HeaderGroup.
HostConfiguration - class org.apache.commons.httpclient.HostConfiguration.
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
HttpAuthRealm - class org.apache.commons.httpclient.auth.HttpAuthRealm.
The key used to look up authentication credentials.
HttpAuthRealm(String, int, String, String) - Constructor for class org.apache.commons.httpclient.auth.HttpAuthRealm
Creates a new authentication realm token for the given host, port, realm, and authentication scheme.
HttpAuthRealm(String, int, String) - Constructor for class org.apache.commons.httpclient.auth.HttpAuthRealm
Creates a new authentication realm token for the given host, port, realm, and any authentication scheme.
HttpAuthRealm(String, int) - Constructor for class org.apache.commons.httpclient.auth.HttpAuthRealm
Creates a new authentication realm token for the given host, port, any realm name, and any authentication scheme.
HttpAuthRealm(String, String) - Constructor for class org.apache.commons.httpclient.auth.HttpAuthRealm
Creates a new authentication realm token for the given host, realm, any port, and any authentication scheme.
HttpAuthRealm() - Constructor for class org.apache.commons.httpclient.auth.HttpAuthRealm
Creates a new authentication realm token that matches any authentication realm.
HttpAuthRealm(HttpAuthRealm) - Constructor for class org.apache.commons.httpclient.auth.HttpAuthRealm
Creates a copy of the given authentication realm token.
HttpAuthenticator - class org.apache.commons.httpclient.auth.HttpAuthenticator.
Deprecated. no longer used
HttpAuthenticator() - Constructor for class org.apache.commons.httpclient.auth.HttpAuthenticator
Deprecated.  
HttpClient - class org.apache.commons.httpclient.HttpClient.
An HTTP "user-agent", containing an HTTP state and one or more HTTP connections, to which HTTP methods can be applied.
HttpClient() - Constructor for class org.apache.commons.httpclient.HttpClient
Creates an instance of HttpClient using default parameter set.
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 and HTTP connection manager.
HttpClient(HttpConnectionManager) - Constructor for class org.apache.commons.httpclient.HttpClient
Creates an instance of HttpClient with a user specified HTTP connection manager.
HttpClientError - error org.apache.commons.httpclient.HttpClientError.
Signals that an error has occurred.
HttpClientError() - Constructor for class org.apache.commons.httpclient.HttpClientError
Creates a new HttpClientError with a null detail message.
HttpClientError(String) - Constructor for class org.apache.commons.httpclient.HttpClientError
Creates a new HttpClientError with the specified detail message.
HttpClientParams - class org.apache.commons.httpclient.params.HttpClientParams.
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 - class org.apache.commons.httpclient.HttpConnection.
An abstraction of an HTTP InputStream and OutputStream 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, 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(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(HostConfiguration) - Constructor for class org.apache.commons.httpclient.HttpConnection
Creates a new HTTP connection for the given host configuration.
HttpConnection(String, int, 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 via the given proxy host and port using the given protocol.
HttpConnectionManager - interface org.apache.commons.httpclient.HttpConnectionManager.
An interface for classes that manage HttpConnections.
HttpConnectionManagerParams - class org.apache.commons.httpclient.params.HttpConnectionManagerParams.
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 org.apache.commons.httpclient.params.HttpConnectionParams.
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 org.apache.commons.httpclient.HttpConstants.
Deprecated. use EncodingUtil class
HttpConstants() - Constructor for class org.apache.commons.httpclient.HttpConstants
Deprecated.  
HttpException - exception org.apache.commons.httpclient.HttpException.
Signals that an HTTP or HttpClient exception has occurred.
HttpException() - Constructor for class org.apache.commons.httpclient.HttpException
Creates a new HttpException with a null detail message.
HttpException(String) - Constructor for class org.apache.commons.httpclient.HttpException
Creates a new HttpException with the specified detail message.
HttpException(String, Throwable) - Constructor for class org.apache.commons.httpclient.HttpException
Creates a new HttpException with the specified detail message and cause.
HttpMethod - interface org.apache.commons.httpclient.HttpMethod.
HttpMethod interface represents a request to be sent via a HTTP connection and a corresponding response.
HttpMethodBase - class org.apache.commons.httpclient.HttpMethodBase.
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 org.apache.commons.httpclient.params.HttpMethodParams.
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.
HttpParams - interface org.apache.commons.httpclient.params.HttpParams.
This interface represents a collection of HTTP protocol parameters.
HttpParamsFactory - interface org.apache.commons.httpclient.params.HttpParamsFactory.
A factory for getting the default set of parameters to use when creating an instance of HttpParams.
HttpParser - class org.apache.commons.httpclient.HttpParser.
A utility class for parsing http header values.
HttpRecoverableException - exception org.apache.commons.httpclient.HttpRecoverableException.
Signals that an HTTP or HttpClient exception has occurred.
HttpRecoverableException() - Constructor for class org.apache.commons.httpclient.HttpRecoverableException
Creates a new HttpRecoverableException with a null detail message.
HttpRecoverableException(String) - Constructor for class org.apache.commons.httpclient.HttpRecoverableException
Creates a new HttpRecoverableException with the specified detail message.
HttpRecoverableException(String, Throwable) - Constructor for class org.apache.commons.httpclient.HttpRecoverableException
Creates a new HttpRecoverableException with the specified detail message and cause.
HttpState - class org.apache.commons.httpclient.HttpState.
A container for HTTP attributes that may persist from request to request, such as cookies and authentication credentials.
HttpState() - Constructor for class org.apache.commons.httpclient.HttpState
Default constructor.
HttpStatus - class org.apache.commons.httpclient.HttpStatus.
Constants enumerating the HTTP status codes.
HttpStatus() - Constructor for class org.apache.commons.httpclient.HttpStatus
 
HttpTimeoutException - exception org.apache.commons.httpclient.HttpTimeoutException.
A timeout while processing an HTTP request: for example a network timeout or a timeout while waiting for an HttpConnection to become available.
HttpTimeoutException() - Constructor for class org.apache.commons.httpclient.HttpTimeoutException
Creates a new HttpTimeoutException with a null detail message.
HttpTimeoutException(String) - Constructor for class org.apache.commons.httpclient.HttpTimeoutException
Creates a new HttpTimeoutException with the specified detail message.
HttpTimeoutException(String, Throwable) - Constructor for class org.apache.commons.httpclient.HttpTimeoutException
Creates a new HttpTimeoutException with the specified detail message and cause.
HttpURL - class org.apache.commons.httpclient.HttpURL.
The HTTP URL.
HttpURL() - Constructor for class org.apache.commons.httpclient.HttpURL
Create an instance as an internal use.
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(char[]) - Constructor for class org.apache.commons.httpclient.HttpURL
Construct a HTTP URL as an escaped form of a character array.
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) - 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, 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, 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(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(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 org.apache.commons.httpclient.util.HttpURLConnection.
Provides a HttpURLConnection wrapper around HttpClient's HttpMethod.
HttpURLConnection(HttpMethod, URL) - Constructor for class org.apache.commons.httpclient.util.HttpURLConnection
Creates an HttpURLConnection from a HttpMethod.
HttpURLConnection(URL) - Constructor for class org.apache.commons.httpclient.util.HttpURLConnection
Create an instance.
HttpVersion - class org.apache.commons.httpclient.HttpVersion.
HTTP version, as specified in RFC 2616.
HttpVersion(int, int) - Constructor for class org.apache.commons.httpclient.HttpVersion
Create an HTTP protocol version designator.
HttpsURL - class org.apache.commons.httpclient.HttpsURL.
The HTTPS URL.
HttpsURL() - Constructor for class org.apache.commons.httpclient.HttpsURL
Create an instance as an internal use.
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(char[]) - Constructor for class org.apache.commons.httpclient.HttpsURL
Construct a HTTPS URL as an escaped form of a character array.
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) - 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, 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, 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(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(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.
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
Returns true if the HTTP method has been already executed, but not recycled.
hasBeenUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns true if the HTTP method has been already executed, but not recycled.
hasFragment() - Method in class org.apache.commons.httpclient.URI
Tell whether or not this URI has fragment.
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
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.
hash - Variable in class org.apache.commons.httpclient.URI
Cache the hash code for this URI.
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.HttpVersion
 
hashCode() - Method in class org.apache.commons.httpclient.NameValuePair
hashCode.
hashCode() - Method in class org.apache.commons.httpclient.URI
Return a hash code for this URI.
hashCode() - Method in class org.apache.commons.httpclient.auth.AuthSchemeBase
Deprecated.  
hashCode() - Method in class org.apache.commons.httpclient.auth.HttpAuthRealm
 
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.
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.
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.
hostport - Static variable in class org.apache.commons.httpclient.URI
BitSet for hostport.

I

IGNORE_COOKIES - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
The policy that ignores cookies.
IOTimeoutException - exception org.apache.commons.httpclient.IOTimeoutException.
A I/O or network timeout while communicating with an HTTP server.
IOTimeoutException() - Constructor for class org.apache.commons.httpclient.IOTimeoutException
Creates a IOTimeoutException with a null detail message.
IOTimeoutException(String) - Constructor for class org.apache.commons.httpclient.IOTimeoutException
Creates a IOTimeoutException with a specified message.
IOTimeoutException(String, Throwable) - Constructor for class org.apache.commons.httpclient.IOTimeoutException
Creates a new IOTimeoutException 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.
IgnoreCookiesSpec - class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec.
A cookie spec that does nothing.
IgnoreCookiesSpec() - Constructor for class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
InvalidCredentialsException - exception org.apache.commons.httpclient.auth.InvalidCredentialsException.
Authentication credentials required to respond to a authentication challenge are invalid
InvalidCredentialsException() - Constructor for class org.apache.commons.httpclient.auth.InvalidCredentialsException
Creates a new InvalidCredentialsException with a null detail message.
InvalidCredentialsException(String) - Constructor for class org.apache.commons.httpclient.auth.InvalidCredentialsException
Creates a new InvalidCredentialsException with the specified message.
InvalidCredentialsException(String, Throwable) - Constructor for class org.apache.commons.httpclient.auth.InvalidCredentialsException
Creates a new InvalidCredentialsException with the specified detail message and cause.
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.
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.
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.
invalidate() - Method in class org.apache.commons.httpclient.auth.AuthState
Invalidates the authentication state by resetting its parameters.
isAbsPath() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the relativeURI or hier_part of this URI is abs_path.
isAbsoluteURI() - Method in class org.apache.commons.httpclient.URI
Tell whether or not this URI is absolute.
isAllowed(String) - Method in class org.apache.commons.httpclient.methods.OptionsMethod
Is the specified method allowed ?
isAuthenticationPreemptive() - Method in class org.apache.commons.httpclient.HttpState
Deprecated. Use HttpClientParams.isAuthenticationPreemptive(), HttpClient.getParams().
isAuthenticationPreemptive() - Method in class org.apache.commons.httpclient.params.HttpClientParams
Returns true if authentication should be attempted preemptively, false otherwise.
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
Deprecated. Use HttpConnectionParams.isStaleCheckingEnabled(), HttpConnectionManager.getParams().
isConnectionStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
Deprecated. Use HttpConnectionParams.isStaleCheckingEnabled(), HttpConnectionManager.getParams().
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.
isHostSet() - Method in class org.apache.commons.httpclient.HostConfiguration
Returns true if the host is set.
isHostname() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the host part of this URI is hostname.
isHttp11() - Method in class org.apache.commons.httpclient.HttpMethodBase
Deprecated. Use HttpMethodParams.getVersion()
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.
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
Returns true if the connection is open, false otherwise.
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.
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
Returns false if the cookie should be discarded at the end of the "session"; true otherwise.
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
Tests if the proxy host/port have been set.
isRegName() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the authority component of this URI is reg_name.
isRelPath() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the relativeURI of this URI is rel_path.
isRelativeURI() - Method in class org.apache.commons.httpclient.URI
Tell whether or not this URI is relative.
isRequestSentRetryEnabled() - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
 
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.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.
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. Use HttpConnectionParams.isStaleCheckingEnabled(), HttpConnection.getParams().
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.

K

KEY_DATE_PATTERNS - Static variable in class org.apache.commons.httpclient.util.DateParser
The key used to look up the date patterns used for parsing.

L

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
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.

M

MAX_HOST_CONNECTIONS - Static variable in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Defines the maximum number of connections allowed per host.
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.
MULTIPART_FORM_CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.MultipartPostMethod
The Content-Type for multipart/form-data.
MalformedChallengeException - exception org.apache.commons.httpclient.auth.MalformedChallengeException.
Signals that authentication challenge is in some way invalid or illegal in the given context
MalformedChallengeException() - Constructor for class org.apache.commons.httpclient.auth.MalformedChallengeException
Creates a new MalformedChallengeException with a null detail message.
MalformedChallengeException(String) - Constructor for class org.apache.commons.httpclient.auth.MalformedChallengeException
Creates a new MalformedChallengeException with the specified message.
MalformedChallengeException(String, Throwable) - Constructor for class org.apache.commons.httpclient.auth.MalformedChallengeException
Creates a new MalformedChallengeException with the specified detail message and cause.
MalformedCookieException - exception org.apache.commons.httpclient.cookie.MalformedCookieException.
Signals that a cookie is in some way invalid or illegal in a given context
MalformedCookieException() - Constructor for class org.apache.commons.httpclient.cookie.MalformedCookieException
Creates a new MalformedCookieException with a null detail message.
MalformedCookieException(String) - Constructor for class org.apache.commons.httpclient.cookie.MalformedCookieException
Creates a new MalformedCookieException with a specified message string.
MalformedCookieException(String, Throwable) - Constructor for class org.apache.commons.httpclient.cookie.MalformedCookieException
Creates a new MalformedCookieException with the specified detail message and cause.
MethodRetryHandler - interface org.apache.commons.httpclient.MethodRetryHandler.
A handler for determining if an HttpMethod should be retried after a recoverable exception during execution.
MultiThreadedHttpConnectionManager - class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.
Manages a set of HttpConnections for various HostConfigurations.
MultiThreadedHttpConnectionManager() - Constructor for class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
No-args constructor
MultipartPostMethod - class org.apache.commons.httpclient.methods.MultipartPostMethod.
Implements the HTTP multipart POST method.
MultipartPostMethod() - Constructor for class org.apache.commons.httpclient.methods.MultipartPostMethod
No-arg constructor.
MultipartPostMethod(String) - Constructor for class org.apache.commons.httpclient.methods.MultipartPostMethod
Constructor specifying a URI.
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).
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 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 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.CookieSpecBase
Return an array of Cookies 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
 
match(String, int, String, boolean, Cookie[]) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
Returns an empty cookie array.

N

NAME - Static variable in class org.apache.commons.httpclient.ConnectMethod
the name of this method
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. Use CookiePolicy.NETSCAPE
NTCredentials - class org.apache.commons.httpclient.NTCredentials.
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 & 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 org.apache.commons.httpclient.auth.NTLMScheme.
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.
NameValuePair - class org.apache.commons.httpclient.NameValuePair.
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.
NetscapeDraftSpec - class org.apache.commons.httpclient.cookie.NetscapeDraftSpec.
Netscape cookie draft specific cookie management functions
NetscapeDraftSpec() - Constructor for class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
Default 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.
normalize(char[]) - Method in class org.apache.commons.httpclient.URI
Normalize the given hier path part.
normalize() - Method in class org.apache.commons.httpclient.URI
Normalizes the path part of this URI.

O

OptionsMethod - class org.apache.commons.httpclient.methods.OptionsMethod.
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.
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).
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

PARSING - Static variable in class org.apache.commons.httpclient.URIException
The URI parsing error.
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
PATTERN_ASCTIME - Static variable in class org.apache.commons.httpclient.util.DateParser
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
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
Date format pattern used to parse HTTP date headers in RFC 1123 format.
PREEMPTIVE_AUTHENTICATION - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
Defines whether authentication should be attempted preemptively.
PROTOCOL_CHARSET - Static variable in 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 by HTTP methods per default.
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.
PUNYCODE - Static variable in class org.apache.commons.httpclient.URIException
The DNS punycode encoding or decoding error.
ParameterParser - class org.apache.commons.httpclient.util.ParameterParser.
A simple parser intended to parse sequences of name/value pairs.
ParameterParser() - Constructor for class org.apache.commons.httpclient.util.ParameterParser
Default ParameterParser constructor
Part - class org.apache.commons.httpclient.methods.multipart.Part.
Abstract class for one Part of a multipart post object.
Part() - Constructor for class org.apache.commons.httpclient.methods.multipart.Part
 
PartBase - class org.apache.commons.httpclient.methods.multipart.PartBase.
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.
PartSource - interface org.apache.commons.httpclient.methods.multipart.PartSource.
An interface for providing access to data when posting MultiPart messages.
PostMethod - class org.apache.commons.httpclient.methods.PostMethod.
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.
Protocol - class org.apache.commons.httpclient.protocol.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.
ProtocolException - exception org.apache.commons.httpclient.ProtocolException.
Signals that an HTTP protocol violation has occurred.
ProtocolException() - Constructor for class org.apache.commons.httpclient.ProtocolException
Creates a new ProtocolException with a null detail message.
ProtocolException(String) - Constructor for class org.apache.commons.httpclient.ProtocolException
Creates a new ProtocolException with the specified detail message.
ProtocolException(String, Throwable) - Constructor for class org.apache.commons.httpclient.ProtocolException
Creates a new ProtocolException with the specified detail message and cause.
ProtocolSocketFactory - interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory.
A factory for creating Sockets.
ProxyClient - class org.apache.commons.httpclient.ProxyClient.
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 org.apache.commons.httpclient.ProxyClient.ConnectResponse.
Contains the method used to execute the connect along with the created socket.
PutMethod - class org.apache.commons.httpclient.methods.PutMethod.
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.
param - Static variable in class org.apache.commons.httpclient.URI
BitSet for param (alias for pchar).
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, 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, 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, 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, Header) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
Parse the "Set-Cookie" Header 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, Header) - 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, char) - Method in class org.apache.commons.httpclient.util.ParameterParser
Extracts a list of NameValuePairs from the given string.
parse(char[], char) - Method in class org.apache.commons.httpclient.util.ParameterParser
Extracts a list of NameValuePairs from the given array of characters.
parse(char[], int, int, char) - Method in class org.apache.commons.httpclient.util.ParameterParser
Extracts a list of NameValuePairs from the given array of characters.
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.
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
Parses a date value.
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, String) - Static method in class org.apache.commons.httpclient.HttpParser
Parses headers from the given stream.
parseHeaders(InputStream) - Static method in class org.apache.commons.httpclient.HttpParser
Deprecated. use #parseHeaders(InputStream, String)
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.
path - Static variable in class org.apache.commons.httpclient.URI
URI bitset that combines absolute path and opaque part.
path_segments - Static variable in class org.apache.commons.httpclient.URI
BitSet for path segments.
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.
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(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.
printLine() - Method in class org.apache.commons.httpclient.HttpConnection
Writes "\r\n".getBytes() to the output stream.
printStackTrace() - Method in class org.apache.commons.httpclient.HttpException
Print this HttpException and its stack trace to the standard error stream.
printStackTrace(PrintStream) - Method in class org.apache.commons.httpclient.HttpException
Print this HttpException and its stack trace to the specified print stream.
printStackTrace(PrintWriter) - Method in class org.apache.commons.httpclient.HttpException
Print this HttpException and its stack trace to the specified print writer.
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.
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.
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.
protocolCharset - Variable in class org.apache.commons.httpclient.URI
The charset of the protocol used by this URI instance.
proxyEquals(HttpConnection) - Method in class org.apache.commons.httpclient.HostConfiguration
Tests if the proxy configuration equals the configuration set on the connection.
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
Removes all of cookies in this HTTP state that have expired by the specified date.

Q

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
query - Static variable in class org.apache.commons.httpclient.URI
BitSet for query (alias for uric).

R

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.
RFC2109 - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
Deprecated. Use CookiePolicy.RFC_2109
RFC2109Spec - class org.apache.commons.httpclient.cookie.RFC2109Spec.
RFC 2109 specific cookie management functions
RFC2109Spec() - Constructor for class org.apache.commons.httpclient.cookie.RFC2109Spec
Default constructor
RFC2617Scheme - class org.apache.commons.httpclient.auth.RFC2617Scheme.
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
RFC_2109 - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
The RFC 2109 compliant policy.
RedirectException - exception org.apache.commons.httpclient.RedirectException.
Signals violation of HTTP specification caused by an invalid redirect
RedirectException() - Constructor for class org.apache.commons.httpclient.RedirectException
Creates a new RedirectException with a null detail message.
RedirectException(String) - Constructor for class org.apache.commons.httpclient.RedirectException
Creates a new RedirectException with the specified detail message.
RedirectException(String, Throwable) - Constructor for class org.apache.commons.httpclient.RedirectException
Creates a new RedirectException with the specified detail message and cause.
ReflectionSocketFactory - class org.apache.commons.httpclient.protocol.ReflectionSocketFactory.
This helper class uses refelction in order to execute Socket methods available in Java 1.4 and above
read() - Method in class org.apache.commons.httpclient.ChunkedInputStream
Returns all the data in a chunked stream in coalesced form.
read(byte[], int, int) - Method in class org.apache.commons.httpclient.ChunkedInputStream
Read some bytes from the stream.
read(byte[]) - Method in class org.apache.commons.httpclient.ChunkedInputStream
Read some bytes from the stream.
read() - Method in class org.apache.commons.httpclient.ContentLengthInputStream
Read the next byte 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.
read(byte[]) - Method in class org.apache.commons.httpclient.ContentLengthInputStream
Read more bytes from the stream.
readLine() - Method in class org.apache.commons.httpclient.HttpConnection
Deprecated. use #readLine(String)
readLine(String) - Method in class org.apache.commons.httpclient.HttpConnection
Reads up to "\n" from the (unchunked) input stream.
readLine(InputStream, String) - Static method in class org.apache.commons.httpclient.HttpParser
Read up to "\n" from an (unchunked) input stream.
readLine(InputStream) - Static method in class org.apache.commons.httpclient.HttpParser
Deprecated. use #readLine(InputStream, String)
readObject(ObjectInputStream) - Method in class org.apache.commons.httpclient.URI
Read a URI.
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
Read the status line from the given HttpConnection, setting my status code and status text.
reason - Variable in class org.apache.commons.httpclient.URIException
The reason message.
reasonCode - Variable in class org.apache.commons.httpclient.URIException
The reason code.
recycle() - Method in interface org.apache.commons.httpclient.HttpMethod
Recycles the HTTP method so that it can be used again.
recycle() - Method in class org.apache.commons.httpclient.HttpMethodBase
Recycles the HTTP method so that it can be used again.
recycle() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Recycles the HTTP method so that it can be used again.
recycle() - Method in class org.apache.commons.httpclient.methods.GetMethod
Recycles the HTTP method so that it can be used again.
recycle() - Method in class org.apache.commons.httpclient.methods.HeadMethod
Recycles the HTTP method so that it can be used again.
recycle() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
Recycles the HTTP method so that it can be used again.
recycle() - Method in class org.apache.commons.httpclient.methods.TraceMethod
Recycles the HTTP method so that it can be used again.
reg_name - Static variable in class org.apache.commons.httpclient.URI
BitSet for reg_name.
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, CookieSpec) - 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.
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
Release the connection.
releaseConnection(HttpConnection) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
Releases the given HttpConnection for use by other requests.
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 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
 
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(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
Removes the given request header.
removeRequestHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Remove the request header associated with the given name.
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.
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.
retryMethod(HttpMethod, HttpConnection, HttpRecoverableException, int, boolean) - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
Used retryCount and requestSentRetryEnabled to determine if the given method should be retried.
retryMethod(HttpMethod, HttpConnection, HttpRecoverableException, int, boolean) - Method in interface org.apache.commons.httpclient.MethodRetryHandler
Determines if a method should be retried after an HttpRecoverableException occurs during execution.
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.

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_MULTIPLE_CHOICES - Static variable in class org.apache.commons.httpclient.HttpStatus
300 Mutliple Choices (HTTP/1.1 - RFC 2616)
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_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_NO_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
204 No Content (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_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
416 Requested Range Not Satisfiable (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_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)
SINGLE_COOKIE_HEADER - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines whether cookies should be put on a single response header.
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
Sets the socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
SSLProtocolSocketFactory - class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.
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.
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.
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.
SecureProtocolSocketFactory - interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory.
A ProtocolSocketFactory that is secure.
SimpleHttpConnectionManager - class org.apache.commons.httpclient.SimpleHttpConnectionManager.
A connection manager that provides access to a single HttpConnection.
SimpleHttpConnectionManager() - Constructor for class org.apache.commons.httpclient.SimpleHttpConnectionManager
 
StatusLine - class org.apache.commons.httpclient.StatusLine.
Represents a Status-Line as returned from a HTTP server.
StatusLine(String) - Constructor for class org.apache.commons.httpclient.StatusLine
Default constructor.
StringPart - class org.apache.commons.httpclient.methods.multipart.StringPart.
Simple string parameter for a multipart post
StringPart(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.StringPart
Constructor.
StringPart(String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.StringPart
Constructor.
scheme - Static variable in class org.apache.commons.httpclient.URI
BitSet for scheme.
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. Use AuthChallengeParser.parseChallenges(Header[]) and AuthPolicy.getAuthScheme(String)
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
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.
setAllowUserInteraction(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
setAuthScheme(AuthScheme) - Method in class org.apache.commons.httpclient.auth.AuthState
Assigns the given authentication scheme.
setAuthenticationPreemptive(boolean) - Method in class org.apache.commons.httpclient.HttpState
Deprecated. Use HttpClientParams.setAuthenticationPreemptive(boolean), HttpClient.getParams().
setAuthenticationPreemptive(boolean) - Method in class org.apache.commons.httpclient.params.HttpClientParams
Sets whether authentication should be attempted preemptively.
setAutogenerated(boolean) - Method in class org.apache.commons.httpclient.Header
Sets the values of the auto-generated header flag.
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.
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 the HTTP connection manager.
setConnectionStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Deprecated. Use HttpConnectionParams.setStaleCheckingEnabled(boolean), HttpConnectionManager.getParams().
setConnectionStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
Deprecated. Use HttpConnectionParams.setStaleCheckingEnabled(boolean), HttpConnectionManager.getParams().
setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.HttpClient
Deprecated. Use HttpConnectionParams.setConnectionTimeout(int), HttpConnectionManager.getParams().
setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.HttpConnection
Deprecated. Use HttpConnectionParams.setConnectionTimeout(int), HttpConnection.getParams().
setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Sets the timeout until a connection is etablished.
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.
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. Use HttpMethodParams.setCookiePolicy(String), HttpMethod.getParams().
setCookiePolicy(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Assigns the cookie policy to be used by the HTTP 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
Sets the credentials for the given authentication realm on the given host.
setCredentials(HttpAuthRealm, Credentials) - Method in class org.apache.commons.httpclient.HttpState
Sets the credentials for the given authentication realm.
setDefaultDocumentCharset(String) - Static method in class org.apache.commons.httpclient.URI
Set the default charset of the document.
setDefaultPolicy(int) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Deprecated. Use CookiePolicy.registerCookieSpec(String, CookieSpec)
setDefaultProtocolCharset(String) - Static method in class org.apache.commons.httpclient.URI
Set the default charset of the protocol.
setDefaultUseCaches(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
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
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.
setDoOutput(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.
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, int, String) - 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
Sets the given host, virtual 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, int) - Method in class org.apache.commons.httpclient.HostConfiguration
Sets the given host and port.
setHost(String) - Method in class org.apache.commons.httpclient.HostConfiguration
Set the given host.
setHost(URI) - Method in class org.apache.commons.httpclient.HostConfiguration
Sets the protocol, host and port from the given URI.
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
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
Sets the host configuration.
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. Use HttpMethodParams.setVersion(HttpVersion)
setHttpConnectionFactoryTimeout(long) - Method in class org.apache.commons.httpclient.HttpClient
Deprecated. Use HttpClientParams.setConnectionManagerTimeout(long), HttpClient.getParams()
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.
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.
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
Deprecated. Use HttpConnectionManagerParams.MAX_HOST_CONNECTIONS, HttpConnectionManager.getParams().
setMaxTotalConnections(int) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Deprecated. Use HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, HttpConnectionManager.getParams().
setMethodRetryHandler(MethodRetryHandler) - Method in interface org.apache.commons.httpclient.HttpMethod
Sets the retry handler for this HTTP method
setMethodRetryHandler(MethodRetryHandler) - Method in class org.apache.commons.httpclient.HttpMethodBase
Sets the retry handler for this HTTP method
setName(String) - Method in class org.apache.commons.httpclient.NameValuePair
Set the name.
setName(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
Sets the part name.
setParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Sets the value of parameter with parameterName to parameterValue.
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
setParameters(String[], Object) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Assigns the value to all the parameter with the given names
setParams(HttpClientParams) - Method in class org.apache.commons.httpclient.HttpClient
Assigns HTTP protocol parameters for this HttpClient.
setParams(HttpConnectionParams) - Method in class org.apache.commons.httpclient.HttpConnection
Assigns HTTP protocol parameters for this method.
setParams(HttpConnectionManagerParams) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
Assigns parameters for this connection manager.
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.
setParams(HttpConnectionManagerParams) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Assigns parameters for this connection manager.
setParams(HttpClientParams) - Method in class org.apache.commons.httpclient.ProxyClient
Assigns HTTP protocol parameters for this ProxyClient.
setParams(HttpConnectionManagerParams) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
Assigns parameters for this connection manager.
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.
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
Sets the credentials for the given proxy authentication realm on the given proxy host.
setProxyCredentials(HttpAuthRealm, Credentials) - Method in class org.apache.commons.httpclient.HttpState
Sets the credentials for the given proxy authentication realm.
setProxyHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
Sets the host to proxy through.
setProxyPort(int) - Method in class org.apache.commons.httpclient.HttpConnection
Sets the port of the host to proxy through.
setQuery(String, String) - Method in class org.apache.commons.httpclient.HttpURL
Set the query as the name and value pair.
setQuery(String[], String[]) - Method in class org.apache.commons.httpclient.HttpURL
Set the query as the name and value pairs.
setQuery(String) - Method in class org.apache.commons.httpclient.URI
Set the query.
setQueryString(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Sets the query string of the HTTP method.
setQueryString(NameValuePair[]) - Method in interface org.apache.commons.httpclient.HttpMethod
Sets the query string of this HTTP method.
setQueryString(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
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 class org.apache.commons.httpclient.URIException
Set the reason message.
setReasonCode(int) - Method in class org.apache.commons.httpclient.URIException
Set the reason code.
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
Sets the request body to be the specified inputstream.
setRequestBody(String) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Sets the request body to be the specified string.
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
Deprecated. use EntityEnclosingMethod.setRequestContentLength(long) instead Sets length information about the request body.

Note: If you specify a content length the request is unbuffered. This prevents redirection and automatic retry if a request fails the first time. This means that the HttpClient can not perform authorization automatically but will throw an Exception. You will have to set the necessary 'Authorization' or 'Proxy-Authorization' headers manually.

setRequestContentLength(long) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Sets length information about the request body.
setRequestHeader(String, String) - Method in interface org.apache.commons.httpclient.HttpMethod
Sets 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(String, String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Set 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
 
setResponseStream(InputStream) - Method in class org.apache.commons.httpclient.HttpMethodBase
Sets the response stream.
setRetryCount(int) - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
 
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. Use HttpConnectionParams.setSendBufferSize(int), HttpConnection.getParams().
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.
setSoTimeout(int) - Method in class org.apache.commons.httpclient.HttpConnection
Deprecated. Use HttpConnectionParams.setSoTimeout(int), HttpConnection.getParams().
setSoTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Sets the socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
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 underlying socket.
setStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.HttpConnection
Deprecated. Use HttpConnectionParams.setStaleCheckingEnabled(boolean), HttpConnection.getParams().
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. Use HttpConnectionParams.setSoTimeout(int), HttpConnectionManager.getParams().
setTransferEncoding(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
Sets the transfer encoding.
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.
setURI() - Method in class org.apache.commons.httpclient.URI
Once it's parsed successfully, set this URI.
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.
setUserName(String) - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
Deprecated. Do not use. The UsernamePasswordCredentials objects should be immutable
setUserinfo(String, String) - Method in class org.apache.commons.httpclient.HttpURL
Set the user and password.
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 the HTTP methods that this collection of parameters applies to.
setVirtualHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
Sets the virtual host to target.
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.
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
Attempts to shutdown the Socket's output, via Socket.shutdownOutput() when running on JVM 1.3 or higher.
space - Static variable in class org.apache.commons.httpclient.URI
BitSet for space.
startsWithHTTP(String) - Static method in class org.apache.commons.httpclient.StatusLine
Tests if the string starts with 'HTTP' signature.

T

TCP_NODELAY - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Determines whether Nagle's algorithm is to be used.
TimeoutController - class org.apache.commons.httpclient.util.TimeoutController.
Executes a task with a specified timeout.
TimeoutController.TimeoutException - exception org.apache.commons.httpclient.util.TimeoutController.TimeoutException.
Signals that the task timed out.
TimeoutController.TimeoutException() - Constructor for class org.apache.commons.httpclient.util.TimeoutController.TimeoutException
Create an instance
TraceMethod - class org.apache.commons.httpclient.methods.TraceMethod.
Implements the HTTP TRACE method.
TraceMethod(String) - Constructor for class org.apache.commons.httpclient.methods.TraceMethod
Constructor specifying a URI.
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.
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.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.NTCredentials
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.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.
toString() - Method in class org.apache.commons.httpclient.auth.AuthSchemeBase
Deprecated.  
toString() - Method in class org.apache.commons.httpclient.auth.HttpAuthRealm
 
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.protocol.Protocol
Return a string representation of this object.
toplabel - Static variable in class org.apache.commons.httpclient.URI
BitSet for toplabel.
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 ambiguous HTTP status line.
UNKNOWN - Static variable in class org.apache.commons.httpclient.URI.DefaultCharsetChanged
No specified reason code.
UNKNOWN - Static variable in class org.apache.commons.httpclient.URIException
No specified reason code.
UNSUPPORTED_ENCODING - Static variable in class org.apache.commons.httpclient.URIException
The unsupported character encoding.
URI - class org.apache.commons.httpclient.URI.
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(String, boolean, String) - Constructor for class org.apache.commons.httpclient.URI
Construct a URI from a string with the given charset.
URI(String, boolean) - Constructor for class org.apache.commons.httpclient.URI
Construct a URI from a string with the given charset.
URI(char[], String) - Constructor for class org.apache.commons.httpclient.URI
Deprecated. Use #URI(String, boolean, String)
URI(char[]) - Constructor for class org.apache.commons.httpclient.URI
Deprecated. Use #URI(String, boolean)
URI(String, 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, 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(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(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.DefaultCharsetChanged - exception org.apache.commons.httpclient.URI.DefaultCharsetChanged.
The charset-changed normal operation to represent to be required to alert to user the fact the default charset is changed.
URI.DefaultCharsetChanged(int, String) - Constructor for class org.apache.commons.httpclient.URI.DefaultCharsetChanged
The constructor with a reason string and its code arguments.
URI.LocaleToCharsetMap - class org.apache.commons.httpclient.URI.LocaleToCharsetMap.
A mapping to determine the (somewhat arbitrarily) preferred charset for a given locale.
URI.LocaleToCharsetMap() - Constructor for class org.apache.commons.httpclient.URI.LocaleToCharsetMap
 
URIException - exception org.apache.commons.httpclient.URIException.
The URI parsing and escape encoding exception.
URIException() - Constructor for class org.apache.commons.httpclient.URIException
Default constructor.
URIException(int) - Constructor for class org.apache.commons.httpclient.URIException
The constructor with a reason code argument.
URIException(int, String) - Constructor for class org.apache.commons.httpclient.URIException
The constructor with a reason string and its code arguments.
URIException(String) - Constructor for class org.apache.commons.httpclient.URIException
The constructor with a reason string argument.
URIUtil - class org.apache.commons.httpclient.util.URIUtil.
The URI escape and character encoding and decoding utility.
URIUtil() - Constructor for class org.apache.commons.httpclient.util.URIUtil
 
URIUtil.Coder - class org.apache.commons.httpclient.util.URIUtil.Coder.
Deprecated. use org.apache.commons.codec.net.URLCodec
URIUtil.Coder() - Constructor for class org.apache.commons.httpclient.util.URIUtil.Coder
Deprecated.  
URI_reference - Static variable in class org.apache.commons.httpclient.URI
BitSet for URI-reference.
USER_AGENT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines the content of the User-Agent header used by HTTP methods.
USE_EXPECT_CONTINUE - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Activates 'Expect: 100-Continue' handshake for the entity enclosing methods.
UsernamePasswordCredentials - class org.apache.commons.httpclient.UsernamePasswordCredentials.
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.
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.
unwise - Static variable in class org.apache.commons.httpclient.URI
BitSet for unwise.
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.
userinfo - Static variable in class org.apache.commons.httpclient.URI
Bitset for userinfo.
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[], BitSet) - Method in class org.apache.commons.httpclient.URI
Validate the URI characters within a specific component.
validate(char[], int, int, 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
verifyEscaped(char[]) - Static method in class org.apache.commons.httpclient.util.URIUtil.Coder
Deprecated. Verify whether a given string is escaped or not

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).
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.
within_userinfo - Static variable in class org.apache.commons.httpclient.URI
BitSet for within the userinfo component like user and password.
write(int) - Method in class org.apache.commons.httpclient.ChunkedOutputStream
 
write(byte[]) - Method in class org.apache.commons.httpclient.ChunkedOutputStream
Writes the array.
write(byte[], int, int) - Method in class org.apache.commons.httpclient.ChunkedOutputStream
 
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.HttpConnection
Writes length bytes in data starting at offset to the output stream.
writeClosingChunk() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
 
writeLine(byte[]) - Method in class org.apache.commons.httpclient.HttpConnection
Writes the specified bytes, followed by "\r\n".getBytes() to the output stream.
writeLine() - Method in class org.apache.commons.httpclient.HttpConnection
Writes "\r\n".getBytes() to the output stream.
writeObject(ObjectOutputStream) - Method in class org.apache.commons.httpclient.URI
Write the content of this URI.
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
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.

_

_authority - Variable in class org.apache.commons.httpclient.URI
The authority.
_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_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_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.
_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.
_fragment - Variable in class org.apache.commons.httpclient.URI
The fragment.
_host - Variable in class org.apache.commons.httpclient.URI
The host.
_is_IPv4address - Variable in class org.apache.commons.httpclient.URI
 
_is_IPv6reference - Variable in class org.apache.commons.httpclient.URI
 
_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_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.

A B C D E F G H I K L M N O P Q R S T U V W _

Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.