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

A

abort() - Method in interface org.apache.commons.httpclient.HttpMethod
Aborts the execution of the HTTP method.
abort() - Method in class org.apache.commons.httpclient.HttpMethodBase
Aborts the execution of this method.
abs_path - Static variable in class org.apache.commons.httpclient.URI
URI absolute path.
absoluteURI - Static variable in class org.apache.commons.httpclient.URI
BitSet for absoluteURI.
add(HttpConnection) - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
Registers the given connection with this handler.
addConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
Adds a connection manager to be handled by this class.
addContentLengthRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Generates Content-Length or Transfer-Encoding: Chunked request header, as long as no Content-Length request header already exists.
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(List<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.
addHeader(Collection<Header>) - Method in class org.apache.commons.httpclient.HeaderGroup
Adds the given headers 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.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(Collection<NameValuePair>) - Method in class org.apache.commons.httpclient.methods.PostMethod
Adds an array of parameters to be used in the POST request body.
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(Collection<Header>) - Method in interface org.apache.commons.httpclient.HttpMethod
Adds the specified request headers, 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(Collection<Header>) - Method in class org.apache.commons.httpclient.HttpMethodBase
Adds the specified request headers, 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.
addResponseFooter(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
Add a footer to this method's response.
addResponseFooter(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
Use this method internally to add footers.
addUserAgentRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Generates default User-Agent request header, as long as no User-Agent request header already exists.
ALLOW_CIRCULAR_REDIRECTS - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
Defines whether circular redirects (redirects to the same location) should be allowed.
allowed_abs_path - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the abs_path.
allowed_authority - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the authority component.
allowed_fragment - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the fragment component.
allowed_host - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the host component.
allowed_IPv6reference - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the IPv6reference component.
allowed_opaque_part - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the opaque_part.
allowed_query - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the query component.
allowed_reg_name - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the reg_name.
allowed_rel_path - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the rel_path.
allowed_userinfo - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the userinfo component.
allowed_within_authority - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for the authority component.
allowed_within_path - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed within the path.
allowed_within_query - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed within the query component.
allowed_within_userinfo - Static variable in class org.apache.commons.httpclient.URI
Those characters that are allowed for within the userinfo component.
alpha - Static variable in class org.apache.commons.httpclient.URI
BitSet for alpha.
alphanum - Static variable in class org.apache.commons.httpclient.URI
BitSet for alphanum (join of alpha & digit).
ANY - Static variable in class org.apache.commons.httpclient.auth.AuthScope
Default scope matching any host, port, realm and authentication scheme.
ANY_HOST - Static variable in class org.apache.commons.httpclient.auth.AuthScope
The null value represents any host.
ANY_HOST_CONFIGURATION - Static variable in class org.apache.commons.httpclient.HostConfiguration
A value to represent any host configuration, instead of using something like null.
ANY_PORT - Static variable in class org.apache.commons.httpclient.auth.AuthScope
The -1 value represents any port.
ANY_REALM - Static variable in class org.apache.commons.httpclient.auth.AuthScope
The null value represents any realm.
ANY_SCHEME - Static variable in class org.apache.commons.httpclient.auth.AuthScope
The null value represents any authentication scheme.
assertNotOpen() - Method in class org.apache.commons.httpclient.HttpConnection
Throws an IllegalStateException if the connection is already open.
assertOpen() - Method in class org.apache.commons.httpclient.HttpConnection
Throws an IllegalStateException if the connection is not open.
AUTH_SCHEME_PRIORITY - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
The key used to look up the list of IDs of supported authentication schemes in their order of preference.
AuthChallengeException - Exception in org.apache.commons.httpclient.auth
Signals a failure processing authentication challenge
AuthChallengeException() - Constructor for exception org.apache.commons.httpclient.auth.AuthChallengeException
Creates a new AuthChallengeException with a null detail message.
AuthChallengeException(String) - Constructor for exception org.apache.commons.httpclient.auth.AuthChallengeException
Creates a new AuthChallengeException with the specified message.
AuthChallengeException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.auth.AuthChallengeException
Creates a new AuthChallengeException with the specified detail message and cause.
AuthChallengeParser - Class in org.apache.commons.httpclient.auth
This class provides utility methods for parsing HTTP www and proxy authentication challenges.
AuthChallengeParser() - Constructor for class org.apache.commons.httpclient.auth.AuthChallengeParser
 
AuthChallengeProcessor - Class in org.apache.commons.httpclient.auth
This class provides utility methods for processing HTTP www and proxy authentication challenges.
AuthChallengeProcessor(HttpParams) - Constructor for class org.apache.commons.httpclient.auth.AuthChallengeProcessor
Creates an authentication challenge processor with the given HTTP parameters
authenticate(Credentials, HttpMethod) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
Produces an authorization string for the given set of Credentials.
authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.BasicScheme
Produces basic authorization string for the given set of Credentials.
authenticate(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, HttpMethod) - Method in class org.apache.commons.httpclient.auth.DigestScheme
Produces a digest authorization string for the given set of Credentials, method name and URI.
authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
Produces NTLM authorization string for the given set of Credentials.
AuthenticationException - Exception in org.apache.commons.httpclient.auth
Signals a failure in authentication process
AuthenticationException() - Constructor for exception org.apache.commons.httpclient.auth.AuthenticationException
Creates a new AuthenticationException with a null detail message.
AuthenticationException(String) - Constructor for exception org.apache.commons.httpclient.auth.AuthenticationException
Creates a new AuthenticationException with the specified message.
AuthenticationException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.auth.AuthenticationException
Creates a new AuthenticationException with the specified detail message and cause.
authority - Static variable in class org.apache.commons.httpclient.URI
BitSet for authority.
AuthPolicy - Class in org.apache.commons.httpclient.auth
Authentication policy class.
AuthPolicy() - Constructor for class org.apache.commons.httpclient.auth.AuthPolicy
 
AuthScheme - Interface in org.apache.commons.httpclient.auth
This interface represents an abstract challenge-response oriented authentication scheme.
AuthScope - Class in org.apache.commons.httpclient.auth
The class represents an authentication scope consisting of a host name, a port number, a realm name and an authentication scheme name which Credentials apply to.
AuthScope(String, int, String, String) - Constructor for class org.apache.commons.httpclient.auth.AuthScope
Creates a new credentials scope for the given host, port, realm, and authentication scheme.
AuthScope(String, int, String) - Constructor for class org.apache.commons.httpclient.auth.AuthScope
Creates a new credentials scope for the given host, port, realm, and any authentication scheme.
AuthScope(String, int) - Constructor for class org.apache.commons.httpclient.auth.AuthScope
Creates a new credentials scope for the given host, port, any realm name, and any authentication scheme.
AuthScope(AuthScope) - Constructor for class org.apache.commons.httpclient.auth.AuthScope
Creates a copy of the given credentials scope.
AuthState - Class in org.apache.commons.httpclient.auth
This class provides detailed information about the state of the authentication process.
AuthState() - Constructor for class org.apache.commons.httpclient.auth.AuthState
Default constructor.

B

BASIC - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
Basic authentication scheme as defined in RFC2617 (considered inherently insecure, but most widely supported)
BasicScheme - Class in org.apache.commons.httpclient.auth
Basic authentication scheme as defined in RFC 2617.
BasicScheme() - Constructor for class org.apache.commons.httpclient.auth.BasicScheme
Default constructor for the basic authetication scheme.
BROWSER_COMPATIBILITY - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
The policy that provides high degree of compatibilty with common cookie management of popular HTTP agents.
BUFFER_WARN_TRIGGER_LIMIT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Sets the maximum buffered response size (in bytes) that triggers no warning.
ByteArrayPartSource - Class in org.apache.commons.httpclient.methods.multipart
A PartSource that reads from a byte array.
ByteArrayPartSource(String, byte[]) - Constructor for class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
Constructor for ByteArrayPartSource.
ByteArrayRequestEntity - Class in org.apache.commons.httpclient.methods
A RequestEntity that contains an array of bytes.
ByteArrayRequestEntity(byte[]) - Constructor for class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
Creates a new entity with the given content.
ByteArrayRequestEntity(byte[], String) - Constructor for class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
Creates a new entity with the given content and content type.

C

CHARSET - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content charset
CHARSET_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content charset as a byte array
checkNotUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Throws an IllegalStateException if the HTTP method has been already executed.
checkUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Throws an IllegalStateException if the HTTP method has not been executed.
checkValid() - Method in class org.apache.commons.httpclient.HttpsURL
Verify the valid class use for construction.
checkValid() - Method in class org.apache.commons.httpclient.HttpURL
Verify the valid class use for construction.
ChunkedInputStream - Class in org.apache.commons.httpclient
Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.
ChunkedInputStream(InputStream, HttpMethod) - Constructor for class org.apache.commons.httpclient.ChunkedInputStream
ChunkedInputStream constructor that associates the chunked input stream with a HTTP method.
ChunkedInputStream(InputStream) - Constructor for class org.apache.commons.httpclient.ChunkedInputStream
ChunkedInputStream constructor
ChunkedOutputStream - Class in org.apache.commons.httpclient
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.
CircularRedirectException - Exception in org.apache.commons.httpclient
Signals a circular redirect
CircularRedirectException() - Constructor for exception org.apache.commons.httpclient.CircularRedirectException
Creates a new CircularRedirectException with a null detail message.
CircularRedirectException(String) - Constructor for exception org.apache.commons.httpclient.CircularRedirectException
Creates a new CircularRedirectException with the specified detail message.
CircularRedirectException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.CircularRedirectException
Creates a new CircularRedirectException with the specified detail message and cause.
clear() - Method in class org.apache.commons.httpclient.HeaderGroup
Removes any contained headers.
clear() - Method in class org.apache.commons.httpclient.HttpState
Clears the state information (all cookies, credentials and proxy credentials).
clear() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Removes all parameters from this collection.
clearCookies() - Method in class org.apache.commons.httpclient.HttpState
Clears all cookies.
clearCredentials() - Method in class org.apache.commons.httpclient.HttpState
Clears all credentials.
clearProxyCredentials() - Method in class org.apache.commons.httpclient.HttpState
Clears all proxy credentials.
clearRequestBody() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Clears the request body.
clearRequestBody() - Method in class org.apache.commons.httpclient.methods.PostMethod
Clears request body.
clone() - Method in class org.apache.commons.httpclient.HostConfiguration
 
clone() - Method in class org.apache.commons.httpclient.HttpHost
 
clone() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Clones this collection of parameters.
clone() - Method in class org.apache.commons.httpclient.ProxyHost
 
clone() - Method in class org.apache.commons.httpclient.URI
Create and return a copy of this object, the URI-reference containing the userinfo component.
close() - Method in class org.apache.commons.httpclient.ChunkedInputStream
Upon close, this reads the remainder of the chunked message, leaving the underlying socket at a position to start reading the next response without scanning.
close() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
Finishes writing to the underlying stream, but does NOT close the underlying stream.
close() - Method in class org.apache.commons.httpclient.ContentLengthInputStream
Reads until the end of the known length of content.
close() - Method in class org.apache.commons.httpclient.HttpConnection
Closes the socket and streams.
closeIdleConnections(long) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
Closes connections that have been idle for at least the given amount of time.
closeIdleConnections(long) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
 
closeIdleConnections(long) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
Closes connections that have been idle for at least the given amount of time.
closeIdleConnections(long) - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
Closes connections that have been idle for at least the given amount of time.
closeIfStale() - Method in class org.apache.commons.httpclient.HttpConnection
Closes the connection if stale.
closeSocketAndStreams() - Method in class org.apache.commons.httpclient.HttpConnection
Closes everything out.
compare(Cookie, Cookie) - Method in class org.apache.commons.httpclient.Cookie
Compares two cookies to determine order for cookie header.
compareTo(HttpVersion) - Method in class org.apache.commons.httpclient.HttpVersion
Compares this HTTP protocol version with another one.
compareTo(Object) - Method in class org.apache.commons.httpclient.HttpVersion
 
compareTo(Object) - Method in class org.apache.commons.httpclient.URI
Compare this URI to another object.
connect() - Method in class org.apache.commons.httpclient.ProxyClient
Creates a socket that is connected, via the HTTP CONNECT method, to a proxy.
connect() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
CONNECTION_MANAGER_CLASS - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
Defines the default HTTP connection manager class.
CONNECTION_MANAGER_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
Sets the timeout in milliseconds used when retrieving an HTTP connection from the HTTP connection manager.
CONNECTION_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Determines the timeout until a connection is etablished.
ConnectionPoolTimeoutException - Exception in org.apache.commons.httpclient
A timeout while connecting waiting for an available connection from an HttpConnectionManager.
ConnectionPoolTimeoutException() - Constructor for exception org.apache.commons.httpclient.ConnectionPoolTimeoutException
Creates a ConnectTimeoutException with a null detail message.
ConnectionPoolTimeoutException(String) - Constructor for exception org.apache.commons.httpclient.ConnectionPoolTimeoutException
Creates a ConnectTimeoutException with the specified detail message.
ConnectionPoolTimeoutException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.ConnectionPoolTimeoutException
Creates a new ConnectTimeoutException with the specified detail message and cause.
ConnectMethod - Class in org.apache.commons.httpclient
Establishes a tunneled HTTP connection via the CONNECT method.
ConnectMethod() - Constructor for class org.apache.commons.httpclient.ConnectMethod
Create a connect method.
ConnectTimeoutException - Exception in org.apache.commons.httpclient
A timeout while connecting to an HTTP server or waiting for an available connection from an HttpConnectionManager.
ConnectTimeoutException() - Constructor for exception org.apache.commons.httpclient.ConnectTimeoutException
Creates a ConnectTimeoutException with a null detail message.
ConnectTimeoutException(String) - Constructor for exception org.apache.commons.httpclient.ConnectTimeoutException
Creates a ConnectTimeoutException with the specified detail message.
ConnectTimeoutException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.ConnectTimeoutException
Creates a new ConnectTimeoutException with the specified detail message and cause.
containsHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
Tests if headers with the given name are contained within this group.
CONTENT_DISPOSITION - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content dispostion characters
CONTENT_DISPOSITION_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content dispostion as a byte array
CONTENT_LENGTH_AUTO - Static variable in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
The content length will be calculated automatically.
CONTENT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content type header
CONTENT_TRANSFER_ENCODING_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content type header as a byte array
CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content type header
CONTENT_TYPE_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content type header as a byte array
ContentLengthInputStream - Class in org.apache.commons.httpclient
Cuts the wrapped InputStream off after a specified number of bytes.
ContentLengthInputStream(InputStream, long) - Constructor for class org.apache.commons.httpclient.ContentLengthInputStream
Creates a new length limited stream
control - Static variable in class org.apache.commons.httpclient.URI
BitSet for control.
ControllerThreadSocketFactory - Class in org.apache.commons.httpclient.protocol
This helper class is intedned to help work around the limitation of older Java versions (older than 1.4) that prevents from specifying a connection timeout when creating a socket.
ControllerThreadSocketFactory.SocketTask - Class in org.apache.commons.httpclient.protocol
Helper class for wrapping socket based tasks.
ControllerThreadSocketFactory.SocketTask() - Constructor for class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
 
Cookie - Class in org.apache.commons.httpclient
HTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session.
Cookie() - Constructor for class org.apache.commons.httpclient.Cookie
Default constructor.
Cookie(String, String, String) - Constructor for class org.apache.commons.httpclient.Cookie
Creates a cookie with the given name, value and domain attribute.
Cookie(String, String, String, String, 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
COOKIE_POLICY - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines cookie policy to be used for cookie management.
CookiePolicy - Class in org.apache.commons.httpclient.cookie
Cookie management policy class.
CookiePolicy() - Constructor for class org.apache.commons.httpclient.cookie.CookiePolicy
 
CookieSpec - Interface in org.apache.commons.httpclient.cookie
Defines the cookie management specification.
CookieSpecBase - Class in org.apache.commons.httpclient.cookie
Cookie management functions shared by all specification.
CookieSpecBase() - Constructor for class org.apache.commons.httpclient.cookie.CookieSpecBase
Default constructor
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
Initialize default parameter settings.
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(Socket, String, int, boolean) - Method in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
Returns a socket connected to the given host that is layered over an existing socket.
createSocket(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
 
CREDENTIAL_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines the charset to be used when encoding Credentials.
Credentials - Interface in org.apache.commons.httpclient
Authentication credentials.
CredentialsNotAvailableException - Exception in org.apache.commons.httpclient.auth
Authentication credentials required to respond to a authentication challenge are not available
CredentialsNotAvailableException() - Constructor for exception org.apache.commons.httpclient.auth.CredentialsNotAvailableException
Creates a new CredentialsNotAvailableException with a null detail message.
CredentialsNotAvailableException(String) - Constructor for exception org.apache.commons.httpclient.auth.CredentialsNotAvailableException
Creates a new CredentialsNotAvailableException with the specified message.
CredentialsNotAvailableException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.auth.CredentialsNotAvailableException
Creates a new CredentialsNotAvailableException with the specified detail message and cause.
CredentialsProvider - Interface in org.apache.commons.httpclient.auth
Credentials provider interface can be used to provide HTTP method with a means to request authentication credentials if no credentials have been given or given credentials are incorrect.
CRLF - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Carriage return/linefeed
CRLF_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Carriage return/linefeed as a byte array

D

DATE_PATTERNS - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
The key used to look up the date patterns used for parsing.
DateParseException - Exception in org.apache.commons.httpclient.util
An exception to indicate an error parsing a date string.
DateParseException() - Constructor for exception org.apache.commons.httpclient.util.DateParseException
 
DateParseException(String) - Constructor for exception org.apache.commons.httpclient.util.DateParseException
 
DateUtil - Class in org.apache.commons.httpclient.util
A utility class for parsing and formatting HTTP dates as used in cookies and other headers.
decode(char[], String) - Static method in class org.apache.commons.httpclient.URI
Decodes URI encoded string.
decode(String, String) - Static method in class org.apache.commons.httpclient.URI
Decodes URI encoded string.
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.
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_TYPE - Static variable in class org.apache.commons.httpclient.methods.multipart.FilePart
Default content encoding of file attachments.
DEFAULT_CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.multipart.StringPart
Default content encoding of string parameters.
DEFAULT_HEADERS - Static variable in class org.apache.commons.httpclient.params.HostParams
Defines the request headers to be sent per default with each request.
DEFAULT_MAX_HOST_CONNECTIONS - Static variable in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
The default maximum number of connections allowed per host
DEFAULT_MAX_TOTAL_CONNECTIONS - Static variable in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
The default maximum number of connections allowed overall
DEFAULT_PORT - Static variable in class org.apache.commons.httpclient.HttpsURL
Default port for HTTPS URL.
DEFAULT_PORT - Static variable in class org.apache.commons.httpclient.HttpURL
Default port for HTTP URL.
DEFAULT_SCHEME - Static variable in class org.apache.commons.httpclient.HttpsURL
Default scheme for HTTPS URL.
DEFAULT_SCHEME - Static variable in class org.apache.commons.httpclient.HttpURL
Default scheme for HTTP URL.
DEFAULT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.methods.multipart.FilePart
Default transfer encoding of file attachments.
DEFAULT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.methods.multipart.StringPart
Default transfer encoding of string parameters
defaultDocumentCharset - Static variable in class org.apache.commons.httpclient.URI
The default charset of the document.
defaultDocumentCharsetByLocale - Static variable in class org.apache.commons.httpclient.URI
 
defaultDocumentCharsetByPlatform - Static variable in class org.apache.commons.httpclient.URI
 
DefaultHttpMethodRetryHandler - Class in org.apache.commons.httpclient
The default HttpMethodRetryHandler used by HttpMethods.
DefaultHttpMethodRetryHandler(int, boolean) - Constructor for class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
Creates a new DefaultHttpMethodRetryHandler.
DefaultHttpMethodRetryHandler() - Constructor for class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
Creates a new DefaultHttpMethodRetryHandler that retries up to 3 times but does not retry methods that have successfully sent their requests.
DefaultHttpParams - Class in org.apache.commons.httpclient.params
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 in org.apache.commons.httpclient.params
 
DefaultHttpParamsFactory() - Constructor for class org.apache.commons.httpclient.params.DefaultHttpParamsFactory
 
defaultProtocolCharset - Static variable in class org.apache.commons.httpclient.URI
The default charset of the protocol.
DefaultProtocolSocketFactory - Class in org.apache.commons.httpclient.protocol
The default class for creating protocol sockets.
DefaultProtocolSocketFactory() - Constructor for class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
Constructor for DefaultProtocolSocketFactory.
deleteClosedConnections() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Deletes all closed connections.
DeleteMethod - Class in org.apache.commons.httpclient.methods
Implements the HTTP DELETE method.
DeleteMethod() - Constructor for class org.apache.commons.httpclient.methods.DeleteMethod
No-arg constructor.
DeleteMethod(String) - Constructor for class org.apache.commons.httpclient.methods.DeleteMethod
Constructor specifying a URI.
delims - Static variable in class org.apache.commons.httpclient.URI
BitSet for delims.
DIGEST - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
Digest authentication scheme as defined in RFC2617.
DigestScheme - Class in org.apache.commons.httpclient.auth
Digest authentication scheme as defined in RFC 2617.
DigestScheme() - Constructor for class org.apache.commons.httpclient.auth.DigestScheme
Default constructor for the digest authetication scheme.
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.
DOCUMENT_CHARSET - Static variable in exception org.apache.commons.httpclient.URI.DefaultCharsetChanged
Document charset changed.
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.
domainMatch(String, String) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
Performs domain-match as defined by the cookie specification.
domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
Performs domain-match as implemented in common browsers.
domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
Performs domain-match as described in the Netscape draft.
domainMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
Performs domain-match as defined by the RFC2109.

E

empty - Static variable in class org.apache.commons.httpclient.util.URIUtil
1 bit bit set
encode(String, BitSet, String) - Static method in class org.apache.commons.httpclient.URI
Encodes URI string.
encode(String, BitSet) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a given string with allowed characters not to be escaped and the default protocol charset.
encode(String, BitSet, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a given string with allowed characters not to be escaped and a given charset.
encodeAll(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Get the all escaped and encoded string with the default protocl charset.
encodeAll(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Get the all escaped and encoded string with a given charset.
encodePath(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as the path component of an URI with the default protocol charset.
encodePath(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as the path component of an URI with a given charset.
encodePathQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as the path and query components of an URI with the default protocol charset.
encodePathQuery(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as the path and query components of an URI with a given charset.
encodeQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as the query component of an URI with the default protocol charset.
encodeQuery(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as the query component of an URI with a given charset.
encodeWithinAuthority(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as within the authority component of an URI with the default protocol charset.
encodeWithinAuthority(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as within the authority component of an URI with a given charset.
encodeWithinPath(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as within the path component of an URI with the default protocol charset.
encodeWithinPath(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as within the path component of an URI with a given charset.
encodeWithinQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as within the query component of an URI with the default protocol charset.
encodeWithinQuery(String, String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Escape and encode a string regarded as within the query component of an URI with a given charset.
EncodingUtil - Class in org.apache.commons.httpclient.util
The home for utility methods that handle various encoding tasks.
EntityEnclosingMethod - Class in org.apache.commons.httpclient.methods
This abstract class serves as a foundation for all HTTP methods that can enclose an entity within requests
EntityEnclosingMethod() - Constructor for class org.apache.commons.httpclient.methods.EntityEnclosingMethod
No-arg constructor.
EntityEnclosingMethod(String) - Constructor for class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Constructor specifying a URI.
equals(Object) - Method in class org.apache.commons.httpclient.auth.AuthScope
equals(Object) - Method in class org.apache.commons.httpclient.Cookie
Two cookies are equal if the name, path and domain match.
equals(Object) - Method in class org.apache.commons.httpclient.HostConfiguration
 
equals(Object) - Method in class org.apache.commons.httpclient.HttpHost
 
equals(Object) - Method in class org.apache.commons.httpclient.HttpVersion
 
equals(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
equals(Object) - Method in class org.apache.commons.httpclient.NTCredentials
Performs a case-sensitive check to see if the components of the credentials are the same.
equals(Object) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
All instances of DefaultProtocolSocketFactory are the same.
equals(Object) - Method in class org.apache.commons.httpclient.protocol.Protocol
Return true if the specified object equals this object.
equals(Object) - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
All instances of SSLProtocolSocketFactory are the same.
equals(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.UsernamePasswordCredentials
These credentials are assumed equal if the username and password are the same.
equals(Object, Object) - Static method in class org.apache.commons.httpclient.util.LangUtils
 
escaped - Static variable in class org.apache.commons.httpclient.URI
BitSet for escaped.
ESCAPING - Static variable in exception org.apache.commons.httpclient.URIException
The URI escape encoding and decoding error.
ExceptionUtil - Class in org.apache.commons.httpclient.util
The home for utility methods that handle various exception-related tasks.
ExceptionUtil() - Constructor for class org.apache.commons.httpclient.util.ExceptionUtil
 
execute(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.
ExpectContinueMethod - Class in org.apache.commons.httpclient.methods
This abstract class serves as a foundation for all HTTP methods that support 'Expect: 100-continue' handshake.
ExpectContinueMethod() - Constructor for class org.apache.commons.httpclient.methods.ExpectContinueMethod
No-arg constructor.
ExpectContinueMethod(String) - Constructor for class org.apache.commons.httpclient.methods.ExpectContinueMethod
Constructor specifying a URI.
EXTRA - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Extra characters
EXTRA_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Extra characters as a byte array
extractParams(String) - Static method in class org.apache.commons.httpclient.auth.AuthChallengeParser
Extracts a map of challenge parameters from an authentication challenge.
extractScheme(String) - Static method in class org.apache.commons.httpclient.auth.AuthChallengeParser
Extracts authentication scheme from the given authentication challenge.

F

FILE_NAME - Static variable in class org.apache.commons.httpclient.methods.multipart.FilePart
Attachment's file name
FilePart - Class in org.apache.commons.httpclient.methods.multipart
This class implements a part of a Multipart post object that consists of a file.
FilePart(String, 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 in org.apache.commons.httpclient.methods.multipart
A PartSource that reads from a File.
FilePartSource(File) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePartSource
Constructor for FilePartSource.
FilePartSource(String, File) - Constructor for class org.apache.commons.httpclient.methods.multipart.FilePartSource
Constructor for FilePartSource.
finish() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
Must be called to ensure the internal cache is flushed and the closing chunk is written.
flush() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
Flushes the underlying stream, but leaves the internal buffer alone.
flushCache() - Method in class org.apache.commons.httpclient.ChunkedOutputStream
Writes the cache out onto the underlying stream
flushCacheWithAppend(byte[], int, int) - Method in class org.apache.commons.httpclient.ChunkedOutputStream
Writes the cache and bufferToAppend to the underlying stream as one large chunk
flushRequestOutputStream() - Method in class org.apache.commons.httpclient.HttpConnection
Flushes the output request stream.
FORM_URL_ENCODED_CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.PostMethod
The Content-Type for www-form-urlencoded.
format(StringBuffer, NameValuePair) - Method in class org.apache.commons.httpclient.util.ParameterFormatter
Produces textual representaion of the attribute/value pair using formatting rules defined in RFC 2616
format(NameValuePair) - Method in class org.apache.commons.httpclient.util.ParameterFormatter
Produces textual representaion of the attribute/value pair using formatting rules defined in RFC 2616
formatCookie(Cookie) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
Create a "Cookie" header value for an array of cookies.
formatCookie(Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
Return a string suitable for sending in a "Cookie" header
formatCookie(Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
formatCookie(Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
Return a string suitable for sending in a "Cookie" header as defined in RFC 2109
formatCookieHeader(List<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(List<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(List<Cookie>) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
formatCookies(List<Cookie>) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
Create a "Cookie" header value for an array of cookies.
formatCookies(List<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(List<Cookie>) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
formatCookies(List<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
formatDate(Date) - Static method in class org.apache.commons.httpclient.util.DateUtil
Formats the given date according to the RFC 1123 pattern.
formatDate(Date, String) - Static method in class org.apache.commons.httpclient.util.DateUtil
Formats the given date according to the specified pattern.
formatValue(StringBuffer, String, boolean) - Static method in class org.apache.commons.httpclient.util.ParameterFormatter
Formats the given parameter value using formatting rules defined in RFC 2616
formUrlEncode(NameValuePair[], String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
Form-urlencoding routine.
fragment - Static variable in class org.apache.commons.httpclient.URI
BitSet for fragment (alias for uric).

G

generateRequestBody() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Generates the request body.
generateRequestEntity() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
 
generateRequestEntity() - Method in class org.apache.commons.httpclient.methods.PostMethod
Generates a request entity from the post parameters, if present.
generateRequestLine(HttpConnection, String, String, String, String) - Static method in class org.apache.commons.httpclient.HttpMethodBase
Generates HTTP request line according to the specified attributes.
getAboveHierPath() - Method in class org.apache.commons.httpclient.URI
Get the level above the this hierarchy level.
getAllHeaders() - Method in class org.apache.commons.httpclient.HeaderGroup
Gets all of the headers contained within this group.
getAllowedMethods() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
Get a list of allowed methods.
getAllowUserInteraction() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getAsciiBytes(String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
Converts the specified string to byte array of ASCII characters.
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.
getAuthority() - Method in class org.apache.commons.httpclient.URI
Get the authority.
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.
getBooleanParameter(String, boolean) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Returns a Boolean parameter value with the given name.
getBooleanParameter(String, boolean) - Method in interface org.apache.commons.httpclient.params.HttpParams
Returns a Boolean parameter value with the given name.
getBytes(String, String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
Converts the specified string to a byte array.
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() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
 
getCharset(Locale) - Static method in class org.apache.commons.httpclient.URI.LocaleToCharsetMap
Get the preferred charset for the given locale.
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.
getCondensedHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
Gets a header representing all of the header values with the given name.
getConnection(HostConfiguration) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
Gets an HttpConnection for a given host configuration.
getConnection(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
 
getConnection(HostConfiguration) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
 
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.
getConnectionsInPool(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Gets the total number of pooled connections for the given host configuration.
getConnectionsInPool() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Gets the total number of pooled connections.
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
 
getConnectMethod() - Method in class org.apache.commons.httpclient.ProxyClient.ConnectResponse
Gets the method that was used to execute the connect.
getContent() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
 
getContent() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
 
getContent() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
 
getContent() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getContent(Class[]) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
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.
getContentLength() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
 
getContentLength() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
Gets the content length.
getContentLength() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
Gets the request entity's length.
getContentLength() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
Gets the request entity's length.
getContentLength() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
 
getContentType() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
Gets the entity's content type.
getContentType() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
Gets the entity's content type.
getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
Gets the entity's content type.
getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.Part
Returns the content type of this part.
getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
Returns the content type of this part.
getContentType() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
Gets the entity's content type.
getContentType() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
Gets the entity's content type.
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.
getCookies() - Method in class org.apache.commons.httpclient.HttpState
Returns an array of cookies that this HTTP state currently contains.
getCookieSpec(String) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Gets the cookie specification with the given ID.
getCredentialCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Returns the charset to be used for Credentials.
getCredentials(AuthScheme, String, int, boolean) - Method in interface org.apache.commons.httpclient.auth.CredentialsProvider
Requests additional authentication credentials.
getCredentials(AuthScope) - Method in class org.apache.commons.httpclient.HttpState
Get the credentials for the given authentication scope.
getCurrentHierPath() - Method in class org.apache.commons.httpclient.URI
Get the current hierarchy level.
getDefaultAuthPrefs() - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
Returns a list containing all registered authentication schemes in their default order.
getDefaultDocumentCharset() - Static method in class org.apache.commons.httpclient.URI
Get the recommended default charset of the document.
getDefaultDocumentCharsetByLocale() - Static method in class org.apache.commons.httpclient.URI
Get the default charset of the document by locale.
getDefaultDocumentCharsetByPlatform() - Static method in class org.apache.commons.httpclient.URI
Get the default charset of the document by platform.
getDefaultMaxConnectionsPerHost() - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Gets the default maximum number of connections allowed for a given host config.
getDefaultParams() - Static method in class org.apache.commons.httpclient.params.DefaultHttpParams
Gets the default HttpParams to be used.
getDefaultParams() - Method in class org.apache.commons.httpclient.params.DefaultHttpParamsFactory
Gets the default parameters.
getDefaultParams() - Method in interface org.apache.commons.httpclient.params.HttpParamsFactory
Gets the default parameters.
getDefaultPort() - Method in class org.apache.commons.httpclient.protocol.Protocol
Returns the defaultPort.
getDefaultProtocolCharset() - Static method in class org.apache.commons.httpclient.URI
Get the default charset of the protocol.
getDefaults() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
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
getDefaults() - Method in interface org.apache.commons.httpclient.params.HttpParams
Returns the parent collection that this collection will defer to for a default value if a particular parameter is not explicitly set in the collection itself
getDefaultSpec() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Returns cookie specification registered as CookiePolicy.DEFAULT.
getDefaultUseCaches() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
getDoAuthentication() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns true if the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.), false otherwise
getDoAuthentication() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns true if the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.), false otherwise
getDoInput() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getDomain() - Method in class org.apache.commons.httpclient.Cookie
Returns domain attribute of the cookie.
getDomain() - Method in class org.apache.commons.httpclient.NTCredentials
Retrieves the name to authenticate with.
getDoOutput() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getDoubleParameter(String, double) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Returns a Double parameter value with the given name.
getDoubleParameter(String, double) - Method in interface org.apache.commons.httpclient.params.HttpParams
Returns a Double parameter value with the given name.
getEffectiveVersion() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the HTTP version used with this method (may be null if undefined, that is, the method has not been executed)
getElements() - Method in class org.apache.commons.httpclient.Header
Returns an array of 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.auth.AuthScope
 
getHost() - Method in class org.apache.commons.httpclient.HostConfiguration
Returns the host.
getHost() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the host.
getHost() - Method in class org.apache.commons.httpclient.NTCredentials
Retrieves the host name of the computer originating the request.
getHost() - Method in class org.apache.commons.httpclient.URI
Get the host.
getHostAuthState() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns the target host authentication state
getHostAuthState() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the target host authentication state
getHostConfiguration() - Method in class org.apache.commons.httpclient.HttpClient
Returns the host configuration associated with the HttpClient.
getHostConfiguration() - Method in class org.apache.commons.httpclient.ProxyClient
Returns the host configuration associated with the ProxyClient.
getHostName() - Method in class org.apache.commons.httpclient.HttpHost
Returns the host name (IP or DNS name).
getHostURL() - Method in class org.apache.commons.httpclient.HostConfiguration
Return the host url.
getHttpConnectionManager() - Method in class org.apache.commons.httpclient.HttpClient
Returns the HTTP connection manager associated with the HttpClient.
getHttpConnectionManager() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the httpConnectionManager.
getHttpElementCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Returns the charset to be used for writing HTTP headers.
getHttpVersion() - Method in class org.apache.commons.httpclient.StatusLine
 
getIfModifiedSince() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getInFilter() - Method in class org.apache.commons.httpclient.WireLog
Get the configured response stream wrapper.
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
Returns an Integer parameter value with the given name.
getIntParameter(String, int) - Method in interface org.apache.commons.httpclient.params.HttpParams
Returns an Integer parameter value with the given name.
getIterator() - Method in class org.apache.commons.httpclient.HeaderGroup
Returns an iterator over this group of headers.
getLastHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
Gets the last header with the given name.
getLastResponseInputStream() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the stream used to read the last response's body.
getLength() - Method in class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
 
getLength() - Method in class org.apache.commons.httpclient.methods.multipart.FilePartSource
Return the length of the file
getLength() - Method in interface org.apache.commons.httpclient.methods.multipart.PartSource
Gets the number of bytes contained in this source.
getLengthOfParts(Part[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
Return the total sum of all parts and that of the last boundary
getLengthOfParts(Part[], byte[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
Gets the length of the multipart message including the given parts.
getLinger() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Returns linger-on-close timeout.
getLocalAddress() - Method in class org.apache.commons.httpclient.HostConfiguration
Return the local address to be used when creating connections.
getLocalAddress() - Method in class org.apache.commons.httpclient.HttpConnection
Return the local address used when creating the connection.
getLongParameter(String, long) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Returns a Long parameter value with the given name.
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(HostConfiguration) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Gets the maximum number of connections to be used for a particular host config.
getMaxTotalConnections() - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Gets the maximum number of connections allowed.
GetMethod - Class in org.apache.commons.httpclient.methods
Implements the HTTP GET method.
GetMethod() - Constructor for class org.apache.commons.httpclient.methods.GetMethod
No-arg constructor.
GetMethod(String) - Constructor for class org.apache.commons.httpclient.methods.GetMethod
Constructor specifying a URI.
getMinor() - Method in class org.apache.commons.httpclient.HttpVersion
Returns the minor version number of the HTTP protocol.
getMultipartBoundary() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
Returns the MIME boundary string that is used to demarcate boundaries of this part.
getName() - Method in class org.apache.commons.httpclient.ConnectMethod
Provide the name of this method.
getName() - Method in interface org.apache.commons.httpclient.HttpMethod
Obtains the name of the HTTP method as used in the HTTP request line, for example "GET" or "POST".
getName() - Method in class org.apache.commons.httpclient.HttpMethodBase
Obtains the name of the HTTP method as used in the HTTP request line, for example "GET" or "POST".
getName() - Method in class org.apache.commons.httpclient.methods.DeleteMethod
Returns "DELETE".
getName() - Method in class org.apache.commons.httpclient.methods.GetMethod
Returns "GET".
getName() - Method in class org.apache.commons.httpclient.methods.HeadMethod
Returns "HEAD".
getName() - Method in class org.apache.commons.httpclient.methods.multipart.Part
Return the name of this part.
getName() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
Returns the name.
getName() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
Get the name.
getName() - Method in class org.apache.commons.httpclient.methods.PostMethod
Returns "POST".
getName() - Method in class org.apache.commons.httpclient.methods.PutMethod
Return "PUT".
getName() - Method in class org.apache.commons.httpclient.methods.TraceMethod
Returns "TRACE".
getName() - Method in class org.apache.commons.httpclient.NameValuePair
Return the name.
getName() - Method in class org.apache.commons.httpclient.URI
Get the basename of the path.
getName(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Get the basename of an URI.
getOutFilter() - Method in class org.apache.commons.httpclient.WireLog
Get the configured request stream wrapper.
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
Returns a parameter value with the given name.
getParameter(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
Returns a parameter value with the given name.
getParameterByName(String) - Method in class org.apache.commons.httpclient.HeaderElement
Returns parameter with the given name, if found.
getParameters() - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
Returns authentication parameters map.
getParameters() - Method in class org.apache.commons.httpclient.HeaderElement
Get parameters, if any.
getParameters() - Method in class org.apache.commons.httpclient.methods.PostMethod
Gets the parameters currently added to the PostMethod.
getParams() - Method in class org.apache.commons.httpclient.HostConfiguration
Returns HTTP protocol parameters associated with this host.
getParams() - Method in class org.apache.commons.httpclient.HttpClient
Returns HTTP protocol parameters associated with this HttpClient.
getParams() - Method in class org.apache.commons.httpclient.HttpConnection
Returns HTTP protocol parameters associated with this method.
getParams() - Method in interface org.apache.commons.httpclient.HttpConnectionManager
Returns parameters associated with this connection manager.
getParams() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns HTTP protocol parameters associated with this method.
getParams() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns HTTP protocol parameters associated with this method.
getParams() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Returns parameters associated with this connection manager.
getParams() - Method in class org.apache.commons.httpclient.ProxyClient
Returns HTTP protocol parameters associated with this ProxyClient.
getParams() - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
Returns parameters associated with this connection manager.
getPartBoundary() - Method in class org.apache.commons.httpclient.methods.multipart.Part
Gets the part boundary to be used.
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.auth.AuthScope
 
getPort() - Method in class org.apache.commons.httpclient.HostConfiguration
Returns the port.
getPort() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the port of the host.
getPort() - Method in class org.apache.commons.httpclient.HttpHost
Returns the port.
getPort() - Method in class org.apache.commons.httpclient.HttpsURL
Get the port number.
getPort() - Method in class org.apache.commons.httpclient.HttpURL
Get the port number.
getPort() - Method in class org.apache.commons.httpclient.URI
Get the port.
getProtocol() - Method in class org.apache.commons.httpclient.HostConfiguration
Returns the protocol.
getProtocol() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the protocol used to establish the connection.
getProtocol() - Method in class org.apache.commons.httpclient.HttpHost
Returns the protocol.
getProtocol(String) - Static method in class org.apache.commons.httpclient.protocol.Protocol
Gets the protocol with the given ID.
getProtocolCharset() - Method in class org.apache.commons.httpclient.URI
Get the protocol charset used by this current URI instance.
getProxyAuthState() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns the proxy authentication state
getProxyAuthState() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the proxy authentication state
getProxyCredentials(AuthScope) - Method in class org.apache.commons.httpclient.HttpState
Get the proxy credentials for the given authentication scope.
getProxyHost() - Method in class org.apache.commons.httpclient.HostConfiguration
Returns the proxyHost.
getProxyHost() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the proxy host.
getProxyPort() - Method in class org.apache.commons.httpclient.HostConfiguration
Returns the proxyPort.
getProxyPort() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the port of the proxy host.
getQuery() - Method in class org.apache.commons.httpclient.URI
Get the query.
getQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
Get the query of an URI.
getQueryString() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns the query string of this HTTP method.
getQueryString() - Method in class org.apache.commons.httpclient.HttpMethodBase
Gets the query string of this HTTP method.
getRawAboveHierPath() - Method in class org.apache.commons.httpclient.HttpURL
Get the level above the this hierarchy level.
getRawAboveHierPath() - Method in class org.apache.commons.httpclient.URI
Get the level above the this hierarchy level.
getRawAuthority() - Method in class org.apache.commons.httpclient.URI
Get the raw-escaped authority.
getRawCurrentHierPath() - Method in class org.apache.commons.httpclient.HttpURL
Get the raw-escaped current hierarchy level.
getRawCurrentHierPath(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.HttpsURL
Get the scheme.
getRawScheme() - Method in class org.apache.commons.httpclient.HttpURL
Get the scheme.
getRawScheme() - Method in class org.apache.commons.httpclient.URI
Get the scheme.
getRawURI() - Method in class org.apache.commons.httpclient.URI
It can be gotten the URI character sequence.
getRawURIReference() - Method in class org.apache.commons.httpclient.URI
Get the URI reference character sequence.
getRawUser() - Method in class org.apache.commons.httpclient.HttpURL
Get the raw-escaped user.
getRawUserinfo() - Method in class org.apache.commons.httpclient.URI
Get the raw-escaped userinfo.
getRealm() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
Returns authentication realm.
getRealm() - Method in class org.apache.commons.httpclient.auth.AuthScope
 
getRealm() - Method in class org.apache.commons.httpclient.auth.AuthState
Returns the authentication realm.
getRealm() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
The concept of an authentication realm is not supported by the NTLM authentication scheme.
getRealm() - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
Returns authentication realm.
getReason() - Method in exception org.apache.commons.httpclient.URI.DefaultCharsetChanged
Get the reason message.
getReasonCode() - Method in exception org.apache.commons.httpclient.URI.DefaultCharsetChanged
Get the reason code.
getReasonCode() - Method in exception 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.
getRequestCharSet() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the character encoding of the request from the Content-Type header.
getRequestCharSet() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Returns the request's charset.
getRequestContentLength() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Returns the length of the request body.
getRequestEntity() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
 
getRequestHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Gets the request header with the given name.
getRequestHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the specified request header.
getRequestHeaderGroup() - Method in class org.apache.commons.httpclient.HttpMethodBase
Gets the header group storing the request headers.
getRequestHeaders() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns the current request headers for this HTTP method.
getRequestHeaders(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.DefaultHttpMethodRetryHandler
 
getScheme() - Method in class org.apache.commons.httpclient.auth.AuthScope
 
getScheme() - Method in class org.apache.commons.httpclient.HttpsURL
Get the scheme.
getScheme() - Method in class org.apache.commons.httpclient.HttpURL
Get the scheme.
getScheme() - Method in class org.apache.commons.httpclient.protocol.Protocol
Returns the scheme.
getScheme() - Method in class org.apache.commons.httpclient.URI
Get the scheme.
getSchemeName() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
Returns textual designation of the given authentication scheme.
getSchemeName() - Method in class org.apache.commons.httpclient.auth.BasicScheme
Returns textual designation of the basic authentication scheme.
getSchemeName() - Method in class org.apache.commons.httpclient.auth.DigestScheme
Returns textual designation of the digest authentication scheme.
getSchemeName() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
Returns textual designation of the NTLM authentication scheme.
getSecure() - Method in class org.apache.commons.httpclient.Cookie
 
getSendBufferSize() - Method in class org.apache.commons.httpclient.HttpConnection
Gets the socket's sendBufferSize.
getSendBufferSize() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Returns a hint the size of the underlying buffers used by the platform for outgoing network I/O.
getSocket() - Method in class org.apache.commons.httpclient.HttpConnection
Returns the connection socket.
getSocket() - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
Return the socket.
getSocket() - Method in class org.apache.commons.httpclient.ProxyClient.ConnectResponse
Gets the socket connected and authenticated (if appropriate) to the configured HTTP proxy, or null if a connection could not be made.
getSocketFactory() - Method in class org.apache.commons.httpclient.protocol.Protocol
Returns the socketFactory.
getSoTimeout() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Returns the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
getSoTimeout() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Returns the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
getSource() - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
Returns the source of the file part.
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, 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.
getUser() - Method in class org.apache.commons.httpclient.HttpURL
Get the user.
getUserinfo() - Method in class org.apache.commons.httpclient.URI
Get the userinfo.
getUserName() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
User name property getter.
getValidDateFormats() - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
Returns the Collection of date patterns used for parsing.
getValidDateFormats() - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
Returns the Collection of date patterns used for parsing.
getValidDateFormats() - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
getValue() - Method in class org.apache.commons.httpclient.NameValuePair
Return the current value.
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.params.HostParams
Returns the virtual host name.
getVirtualHost() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Returns the virtual host name.
greaterEquals(HttpVersion) - Method in class org.apache.commons.httpclient.HttpVersion
Test if the HTTP protocol version is greater or equal to the given number.

H

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.
hasBeenUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns true if the HTTP method has been already executed.
hasFragment() - Method in class org.apache.commons.httpclient.URI
Tell whether or not this URI has fragment.
hash - Variable in class org.apache.commons.httpclient.URI
Cache the hash code for this URI.
HASH_OFFSET - Static variable in class org.apache.commons.httpclient.util.LangUtils
 
HASH_SEED - Static variable in class org.apache.commons.httpclient.util.LangUtils
 
hashCode() - Method in class org.apache.commons.httpclient.auth.AuthScope
hashCode() - Method in class org.apache.commons.httpclient.Cookie
Returns a hash code in keeping with the Object.hashCode() general hashCode contract.
hashCode() - Method in class org.apache.commons.httpclient.HostConfiguration
 
hashCode() - Method in class org.apache.commons.httpclient.HttpHost
 
hashCode() - Method in class org.apache.commons.httpclient.HttpVersion
 
hashCode() - Method in class org.apache.commons.httpclient.NameValuePair
hashCode() - Method in class org.apache.commons.httpclient.NTCredentials
Computes a hash code based on all the case-sensitive parts of the credentials object.
hashCode() - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
All instances of DefaultProtocolSocketFactory have the same hash code.
hashCode() - Method in class org.apache.commons.httpclient.protocol.Protocol
Return a hash code for this object
hashCode() - Method in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
All instances of SSLProtocolSocketFactory have the same hash code.
hashCode() - Method in class org.apache.commons.httpclient.URI
Return a hash code for this URI.
hashCode() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
Does a hash of both user name and password.
hashCode(int, int) - Static method in class org.apache.commons.httpclient.util.LangUtils
 
hashCode(int, Object) - Static method in class org.apache.commons.httpclient.util.LangUtils
 
hashCode(int, boolean) - Static method in class org.apache.commons.httpclient.util.LangUtils
 
hasQuery() - Method in class org.apache.commons.httpclient.URI
Tell whether or not this URI has query.
hasRequestContent() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Returns true if there is a request body to be sent.
hasRequestContent() - Method in class org.apache.commons.httpclient.methods.ExpectContinueMethod
Returns true if there is a request body to be sent.
hasRequestContent() - Method in class org.apache.commons.httpclient.methods.PostMethod
Returns true if there is a request body to be sent.
hasUserinfo() - Method in class org.apache.commons.httpclient.URI
Tell whether or not this URI has userinfo.
HEAD_BODY_CHECK_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Sets period of time in milliseconds to wait for a content body sent in response to HEAD method from a non-compliant server.
Header - Class in org.apache.commons.httpclient
An HTTP header.
Header() - Constructor for class org.apache.commons.httpclient.Header
Default constructor.
Header(String, String) - Constructor for class org.apache.commons.httpclient.Header
Constructor with name and value
Header(String, String, boolean) - Constructor for class org.apache.commons.httpclient.Header
Constructor with name and value
HeaderElement - Class in org.apache.commons.httpclient
One element of an HTTP header's value.
HeaderElement() - Constructor for class org.apache.commons.httpclient.HeaderElement
Default constructor.
HeaderElement(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 in org.apache.commons.httpclient
A class for combining a set of headers.
HeaderGroup() - Constructor for class org.apache.commons.httpclient.HeaderGroup
Constructor for HeaderGroup.
HeadMethod - Class in org.apache.commons.httpclient.methods
Implements the HTTP HEAD method.
HeadMethod() - Constructor for class org.apache.commons.httpclient.methods.HeadMethod
No-arg constructor.
HeadMethod(String) - Constructor for class org.apache.commons.httpclient.methods.HeadMethod
Constructor specifying a URI.
hex - Static variable in class org.apache.commons.httpclient.URI
BitSet for hex.
hier_part - Static variable in class org.apache.commons.httpclient.URI
BitSet for hier_part.
host - Static variable in class org.apache.commons.httpclient.URI
BitSet for host.
HostConfiguration - Class in org.apache.commons.httpclient
Holds all of the variables needed to describe an HTTP connection to a host.
HostConfiguration() - Constructor for class org.apache.commons.httpclient.HostConfiguration
Constructor for HostConfiguration.
HostConfiguration(HostConfiguration) - Constructor for class org.apache.commons.httpclient.HostConfiguration
Copy constructor for HostConfiguration
hostEquals(HttpConnection) - Method in class org.apache.commons.httpclient.HostConfiguration
Tests if the host configuration equals the configuration set on the connection.
hostname - Static variable in class org.apache.commons.httpclient.URI
BitSet for hostname.
HostParams - Class in org.apache.commons.httpclient.params
This class represents a collection of HTTP protocol parameters applicable to instances of HostConfiguration.
HostParams() - Constructor for class org.apache.commons.httpclient.params.HostParams
Creates a new collection of parameters with the collection returned by DefaultHttpParams.getDefaultParams() as a parent.
HostParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.HostParams
Creates a new collection of parameters with the given parent.
hostport - Static variable in class org.apache.commons.httpclient.URI
BitSet for hostport.
HTTP_0_9 - Static variable in class org.apache.commons.httpclient.HttpVersion
HTTP protocol version 0.9
HTTP_1_0 - Static variable in class org.apache.commons.httpclient.HttpVersion
HTTP protocol version 1.0
HTTP_1_1 - Static variable in class org.apache.commons.httpclient.HttpVersion
HTTP protocol version 1.1
HTTP_CONTENT_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines the charset to be used for encoding content body.
HTTP_ELEMENT_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines the charset to be used for encoding HTTP protocol elements.
HttpClient - Class in org.apache.commons.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 in org.apache.commons.httpclient
Signals that an error has occurred.
HttpClientError() - Constructor for error org.apache.commons.httpclient.HttpClientError
Creates a new HttpClientError with a null detail message.
HttpClientError(String) - Constructor for error org.apache.commons.httpclient.HttpClientError
Creates a new HttpClientError with the specified detail message.
HttpClientParams - Class in org.apache.commons.httpclient.params
This class represents a collection of HTTP protocol parameters applicable to instances of HttpClient.
HttpClientParams() - Constructor for class org.apache.commons.httpclient.params.HttpClientParams
Creates a new collection of parameters with the collection returned by DefaultHttpParams.getDefaultParams() as a parent.
HttpClientParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.HttpClientParams
Creates a new collection of parameters with the given parent.
HttpConnection - Class in org.apache.commons.httpclient
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, 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, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpConnection
Creates a new HTTP connection for the given host with the virtual alias and port via the given proxy host and port using the given protocol.
httpConnection - Variable in class org.apache.commons.httpclient.SimpleHttpConnectionManager
The http connection
HttpConnectionManager - Interface in org.apache.commons.httpclient
An interface for classes that manage HttpConnections.
HttpConnectionManagerParams - Class in org.apache.commons.httpclient.params
This class represents a collection of HTTP protocol parameters applicable to HTTP connection managers.
HttpConnectionManagerParams() - Constructor for class org.apache.commons.httpclient.params.HttpConnectionManagerParams
 
HttpConnectionParams - Class in org.apache.commons.httpclient.params
This class represents a collection of HTTP protocol parameters applicable to HTTP connections.
HttpConnectionParams() - Constructor for class org.apache.commons.httpclient.params.HttpConnectionParams
Creates a new collection of parameters with the collection returned by DefaultHttpParams.getDefaultParams() as a parent.
HttpException - Exception in org.apache.commons.httpclient
Signals that an HTTP or HttpClient exception has occurred.
HttpException() - Constructor for exception org.apache.commons.httpclient.HttpException
Creates a new HttpException with a null detail message.
HttpException(String) - Constructor for exception org.apache.commons.httpclient.HttpException
Creates a new HttpException with the specified detail message.
HttpException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.HttpException
Creates a new HttpException with the specified detail message and cause.
HttpHost - Class in org.apache.commons.httpclient
Holds all of the variables needed to describe an HTTP connection to a host.
HttpHost(String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpHost
Constructor for HttpHost.
HttpHost(String, int) - Constructor for class org.apache.commons.httpclient.HttpHost
Constructor for HttpHost.
HttpHost(String) - Constructor for class org.apache.commons.httpclient.HttpHost
Constructor for HttpHost.
HttpHost(URI) - Constructor for class org.apache.commons.httpclient.HttpHost
URI constructor for HttpHost.
HttpHost(HttpHost) - Constructor for class org.apache.commons.httpclient.HttpHost
Copy constructor for HttpHost
HttpMethod - Interface in org.apache.commons.httpclient
HttpMethod interface represents a request to be sent via a HTTP connection and a corresponding response.
HttpMethodBase - Class in org.apache.commons.httpclient
An abstract base implementation of HttpMethod.
HttpMethodBase() - Constructor for class org.apache.commons.httpclient.HttpMethodBase
No-arg constructor.
HttpMethodBase(String) - Constructor for class org.apache.commons.httpclient.HttpMethodBase
Constructor specifying a URI.
HttpMethodParams - Class in org.apache.commons.httpclient.params
This class represents a collection of HTTP protocol parameters applicable to HTTP methods.
HttpMethodParams() - Constructor for class org.apache.commons.httpclient.params.HttpMethodParams
Creates a new collection of parameters with the collection returned by DefaultHttpParams.getDefaultParams() as a parent.
HttpMethodParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.HttpMethodParams
Creates a new collection of parameters with the given parent.
HttpMethodRetryHandler - Interface in org.apache.commons.httpclient
A handler for determining if an HttpMethod should be retried after a recoverable exception during execution.
HttpParams - Interface in org.apache.commons.httpclient.params
This interface represents a collection of HTTP protocol parameters.
HttpParamsFactory - Interface in org.apache.commons.httpclient.params
A factory for getting the default set of parameters to use when creating an instance of HttpParams.
HttpParser - Class in org.apache.commons.httpclient
A utility class for parsing http header values according to RFC-2616 Section 4 and 19.3.
HttpState - Class in org.apache.commons.httpclient
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 in org.apache.commons.httpclient
Constants enumerating the HTTP status codes.
HttpStatus() - Constructor for class org.apache.commons.httpclient.HttpStatus
 
HttpsURL - Class in org.apache.commons.httpclient
The HTTPS URL.
HttpsURL() - Constructor for class org.apache.commons.httpclient.HttpsURL
Create an instance as an internal use.
HttpsURL(char[], 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(String, String, String, int, String, String, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
Construct a HTTP URL from given components.
HttpsURL(HttpsURL, String) - Constructor for class org.apache.commons.httpclient.HttpsURL
Construct a HTTPS URL with a given relative HTTPS URL string.
HttpsURL(HttpsURL, HttpsURL) - Constructor for class org.apache.commons.httpclient.HttpsURL
Construct a HTTPS URL with a given relative URL.
HttpURL - Class in org.apache.commons.httpclient
The HTTP URL.
HttpURL() - Constructor for class org.apache.commons.httpclient.HttpURL
Create an instance as an internal use.
HttpURL(char[], 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(String, 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 in org.apache.commons.httpclient.util
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 in org.apache.commons.httpclient
HTTP version, as specified in RFC 2616.
HttpVersion(int, int) - Constructor for class org.apache.commons.httpclient.HttpVersion
Create an HTTP protocol version designator.

I

IdleConnectionHandler - Class in org.apache.commons.httpclient.util
A helper class for connection managers to track idle connections.
IdleConnectionHandler() - Constructor for class org.apache.commons.httpclient.util.IdleConnectionHandler
 
IdleConnectionTimeoutThread - Class in org.apache.commons.httpclient.util
A utility class for periodically closing idle connections.
IdleConnectionTimeoutThread() - Constructor for class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
Construct a new daemon thread.
IGNORE_COOKIES - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
The policy that ignores cookies.
IgnoreCookiesSpec - Class in org.apache.commons.httpclient.cookie
A cookie spec that does nothing.
IgnoreCookiesSpec() - Constructor for class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
IN_BODY - Static variable in class org.apache.commons.httpclient.WireLog
selector for logging the response body
IN_HEAD - Static variable in class org.apache.commons.httpclient.WireLog
selector for logging the response header
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.
InputStreamRequestEntity - Class in org.apache.commons.httpclient.methods
A RequestEntity that contains an InputStream.
InputStreamRequestEntity(InputStream) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
Creates a new InputStreamRequestEntity with the given content and a content type of InputStreamRequestEntity.CONTENT_LENGTH_AUTO.
InputStreamRequestEntity(InputStream, String) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
Creates a new InputStreamRequestEntity with the given content, content type, and a content length of InputStreamRequestEntity.CONTENT_LENGTH_AUTO.
InputStreamRequestEntity(InputStream, long) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
Creates a new InputStreamRequestEntity with the given content and content length.
InputStreamRequestEntity(InputStream, long, String) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
Creates a new InputStreamRequestEntity with the given content, content length, and content type.
invalidate() - Method in class org.apache.commons.httpclient.auth.AuthState
Invalidates the authentication state by resetting its parameters.
InvalidCredentialsException - Exception in org.apache.commons.httpclient.auth
Authentication credentials required to respond to a authentication challenge are invalid
InvalidCredentialsException() - Constructor for exception org.apache.commons.httpclient.auth.InvalidCredentialsException
Creates a new InvalidCredentialsException with a null detail message.
InvalidCredentialsException(String) - Constructor for exception org.apache.commons.httpclient.auth.InvalidCredentialsException
Creates a new InvalidCredentialsException with the specified message.
InvalidCredentialsException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.auth.InvalidCredentialsException
Creates a new InvalidCredentialsException with the specified detail message and cause.
IPv4address - Static variable in class org.apache.commons.httpclient.URI
Bitset that combines digit and dot fo IPv$address.
IPv6address - Static variable in class org.apache.commons.httpclient.URI
RFC 2373.
IPv6reference - Static variable in class org.apache.commons.httpclient.URI
RFC 2732, 2373.
isAborted() - Method in class org.apache.commons.httpclient.HttpMethodBase
Tests whether the execution of this method has been aborted
isAbsoluteURI() - Method in class org.apache.commons.httpclient.URI
Tell whether or not this URI is absolute.
isAbsPath() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the relativeURI or hier_part of this URI is abs_path.
isAllowed(String) - Method in class org.apache.commons.httpclient.methods.OptionsMethod
Is the specified method allowed ?
isAlwaysUseQuotes() - Method in class org.apache.commons.httpclient.util.ParameterFormatter
Determines whether all parameter values must be enclosed in quotation marks, even if they do not contain any special characters
isAuthAttempted() - Method in class org.apache.commons.httpclient.auth.AuthState
Tests whether authenication challenge has been responsed to
isAuthenticationPreemptive() - Method in class org.apache.commons.httpclient.params.HttpClientParams
Returns true if authentication should be attempted preemptively, false otherwise.
isAuthRequested() - Method in class org.apache.commons.httpclient.auth.AuthState
Tests whether authenication challenge has been received
isAutogenerated() - Method in class org.apache.commons.httpclient.Header
Returns the value of the auto-generated header flag.
isComplete() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
Authentication process may involve a series of challenge-response exchanges.
isComplete() - Method in class org.apache.commons.httpclient.auth.BasicScheme
Tests if the Basic authentication process has been completed.
isComplete() - Method in class org.apache.commons.httpclient.auth.DigestScheme
Tests if the Digest authentication process has been completed.
isComplete() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
Tests if the NTLM authentication process has been completed.
isConnectionBased() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
Tests if the authentication scheme is provides authorization on a per connection basis instead of usual per request basis
isConnectionBased() - Method in class org.apache.commons.httpclient.auth.BasicScheme
Returns false.
isConnectionBased() - Method in class org.apache.commons.httpclient.auth.DigestScheme
Returns false.
isConnectionBased() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
Returns true.
isConnectionCloseForced() - Method in class org.apache.commons.httpclient.HttpMethodBase
Tests if the connection should be force-closed when no longer needed.
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.
isEnabled(int) - Method in class org.apache.commons.httpclient.WireLog
Check, whether the given part should be logged.
isExpired() - Method in class org.apache.commons.httpclient.Cookie
Returns true if this cookie has expired.
isExpired(Date) - Method in class org.apache.commons.httpclient.Cookie
Returns true if this cookie has expired according to the time passed in.
isHierPart() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the absoluteURI of this URI is hier_part.
isHostname() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the host part of this URI is hostname.
isIPv4address() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the host part of this URI is IPv4address.
isIPv6reference() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the host part of this URI is IPv6reference.
isLocked() - Method in class org.apache.commons.httpclient.HttpConnection
Tests if the connection is locked.
isNetPath() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the relativeURI or heir_part of this URI is net_path.
isOpaquePart() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the absoluteURI of this URI is opaque_part.
isOpen - Variable in class org.apache.commons.httpclient.HttpConnection
Whether or not the connection is connected.
isOpen() - Method in class org.apache.commons.httpclient.HttpConnection
Tests if the connection is open.
isParameterFalse(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Returns true if the parameter is either not set or is false, false otherwise.
isParameterFalse(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
Returns true if the parameter is either not set or is false, false otherwise.
isParameterSet(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Returns true if the parameter is set at any level, false otherwise.
isParameterSet(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
Returns true if the parameter is set at any level, false otherwise.
isParameterSetLocally(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Returns true if the parameter is set locally, false otherwise.
isParameterSetLocally(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
Returns true if the parameter is set locally, false otherwise.
isParameterTrue(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Returns true if the parameter is set and is true, false otherwise.
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.
isRegName() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the authority component of this URI is reg_name.
isRelativeURI() - Method in class org.apache.commons.httpclient.URI
Tell whether or not this URI is relative.
isRelPath() - Method in class org.apache.commons.httpclient.URI
Tell whether or not the relativeURI of this URI is rel_path.
isRepeatable() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
 
isRepeatable() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
Tests if this method is repeatable.
isRepeatable() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
Returns true if all parts are repeatable, false otherwise.
isRepeatable() - Method in class org.apache.commons.httpclient.methods.multipart.Part
Tests if this part can be sent more than once.
isRepeatable() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
Tests if RequestEntity.writeRequest(OutputStream) can be called more than once.
isRepeatable() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
 
isRequestSent() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns true if the HTTP has been transmitted to the target server in its entirety, false otherwise.
isRequestSent() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns true if the HTTP has been transmitted to the target server in its entirety, false otherwise.
isRequestSentRetryEnabled() - Method in class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
 
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.
isSocketTimeoutException(InterruptedIOException) - Static method in class org.apache.commons.httpclient.util.ExceptionUtil
If SocketTimeoutExceptionClass is defined, returns true only if the exception is an instance of SocketTimeoutExceptionClass.
isStale() - Method in class org.apache.commons.httpclient.HttpConnection
Determines whether this connection is "stale", which is to say that either it is no longer open, or an attempt to read the connection would fail.
isStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Tests whether stale connection check is to be used.
isTransparent() - Method in class org.apache.commons.httpclient.HttpConnection
Indicates if the connection is completely transparent from end to end.

L

LangUtils - Class in org.apache.commons.httpclient.util
A set of utility methods to help produce consistent Object#equals(Object) and Object#hashCode methods.
length() - Method in class org.apache.commons.httpclient.methods.multipart.Part
Return the full length of all the data.
lengthOfData() - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
Return the length of the data.
lengthOfData() - Method in class org.apache.commons.httpclient.methods.multipart.Part
Return the length of the main content
lengthOfData() - Method in class org.apache.commons.httpclient.methods.multipart.StringPart
Return the length of the data.
lessEquals(HttpVersion) - Method in class org.apache.commons.httpclient.HttpVersion
Test if the HTTP protocol version is less or equal to the given number.
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
log(String) - Method in class org.apache.commons.httpclient.WireLogInputStream
Log the given string to the logfile

M

makeLenient() - Method in class org.apache.commons.httpclient.params.HttpClientParams
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).
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
Makes the HTTP methods strictly follow the HTTP protocol specification (RFC 2616 and other relevant RFCs).
makeStrict() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Makes the HTTP methods strictly follow the HTTP protocol specification (RFC 2616 and other relevant RFCs).
MalformedChallengeException - Exception in org.apache.commons.httpclient.auth
Signals that authentication challenge is in some way invalid or illegal in the given context
MalformedChallengeException() - Constructor for exception org.apache.commons.httpclient.auth.MalformedChallengeException
Creates a new MalformedChallengeException with a null detail message.
MalformedChallengeException(String) - Constructor for exception org.apache.commons.httpclient.auth.MalformedChallengeException
Creates a new MalformedChallengeException with the specified message.
MalformedChallengeException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.auth.MalformedChallengeException
Creates a new MalformedChallengeException with the specified detail message and cause.
MalformedCookieException - Exception in org.apache.commons.httpclient.cookie
Signals that a cookie is in some way invalid or illegal in a given context
MalformedCookieException() - Constructor for exception org.apache.commons.httpclient.cookie.MalformedCookieException
Creates a new MalformedCookieException with a null detail message.
MalformedCookieException(String) - Constructor for exception org.apache.commons.httpclient.cookie.MalformedCookieException
Creates a new MalformedCookieException with a specified message string.
MalformedCookieException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.cookie.MalformedCookieException
Creates a new MalformedCookieException with the specified detail message and cause.
mark - Static variable in class org.apache.commons.httpclient.URI
BitSet for mark.
markSupported() - Method in class org.apache.commons.httpclient.WireLogInputStream
This class does not support marks.
match(AuthScope) - Method in class org.apache.commons.httpclient.auth.AuthScope
Tests if the authentication scopes match.
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, List<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, List<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, List<Cookie>) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
Returns an empty cookie array.
MAX_HOST_CONNECTIONS - Static variable in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Defines the maximum number of connections allowed per host configuration.
MAX_REDIRECTS - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
Defines the maximum number of redirects to be followed.
MAX_TOTAL_CONNECTIONS - Static variable in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Defines the maximum number of connections allowed overall.
MULTIPART_BOUNDARY - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Sets the value to use as the multipart boundary.
MultipartRequestEntity - Class in org.apache.commons.httpclient.methods.multipart
Implements a request entity suitable for an HTTP multipart POST method.
MultipartRequestEntity(Part[], HttpMethodParams) - Constructor for class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
Creates a new multipart entity containing the given parts.
MultiThreadedHttpConnectionManager - Class in org.apache.commons.httpclient
Manages a set of HttpConnections for various HostConfigurations.
MultiThreadedHttpConnectionManager() - Constructor for class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
No-args constructor

N

NAME - Static variable in class org.apache.commons.httpclient.ConnectMethod
the name of this method
NameValuePair - Class in org.apache.commons.httpclient
A simple class encapsulating a name/value pair.
NameValuePair() - Constructor for class org.apache.commons.httpclient.NameValuePair
Default constructor.
NameValuePair(String, String) - Constructor for class org.apache.commons.httpclient.NameValuePair
Constructor.
net_path - Static variable in class org.apache.commons.httpclient.URI
BitSet for net_path.
NETSCAPE - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
The Netscape cookie draft compliant policy.
NetscapeDraftSpec - Class in org.apache.commons.httpclient.cookie
Netscape cookie draft specific cookie management functions
NetscapeDraftSpec() - Constructor for class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
Default constructor
NoHttpResponseException - Exception in org.apache.commons.httpclient
Signals that the target server failed to respond with a valid HTTP response.
NoHttpResponseException() - Constructor for exception org.apache.commons.httpclient.NoHttpResponseException
Creates a new NoHttpResponseException with a null detail message.
NoHttpResponseException(String) - Constructor for exception org.apache.commons.httpclient.NoHttpResponseException
Creates a new NoHttpResponseException with the specified detail message.
NoHttpResponseException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.NoHttpResponseException
Creates a new NoHttpResponseException with the specified detail message and cause.
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.
NTCredentials - Class in org.apache.commons.httpclient
Credentials for use with the NTLM authentication scheme which requires additional information.
NTCredentials(String, String, String, String) - Constructor for class org.apache.commons.httpclient.NTCredentials
Constructor.
NTLM - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
The NTLM scheme is a proprietary Microsoft Windows Authentication protocol (considered to be the most secure among currently supported authentication schemes).
NTLMScheme - Class in org.apache.commons.httpclient.auth
An implementation of the Microsoft proprietary NTLM authentication scheme.
NTLMScheme() - Constructor for class org.apache.commons.httpclient.auth.NTLMScheme
Default constructor for the NTLM authentication scheme.
NTLMScheme(String) - Constructor for class org.apache.commons.httpclient.auth.NTLMScheme
Constructor for the NTLM authentication scheme.

O

opaque_part - Static variable in class org.apache.commons.httpclient.URI
URI bitset that combines uric_no_slash and uric.
open() - Method in class org.apache.commons.httpclient.HttpConnection
Establishes a connection to the specified host and port (via a proxy if specified).
OptionsMethod - Class in org.apache.commons.httpclient.methods
Implements the HTTP OPTIONS method.
OptionsMethod() - Constructor for class org.apache.commons.httpclient.methods.OptionsMethod
Method constructor.
OptionsMethod(String) - Constructor for class org.apache.commons.httpclient.methods.OptionsMethod
Constructor specifying a URI.
org.apache.commons.httpclient - package org.apache.commons.httpclient
Classes and interfaces supporting the client side of the HTTP protocol.
org.apache.commons.httpclient.auth - package org.apache.commons.httpclient.auth
Provides implementation of various authentication schemes as well as utility classes that can be used to authenticate HTTP requests.
org.apache.commons.httpclient.cookie - package org.apache.commons.httpclient.cookie
Provides cookie handling in conjunction with Cookie.
org.apache.commons.httpclient.methods - package org.apache.commons.httpclient.methods
Classes implementing HttpMethod for the base HTTP methods.
org.apache.commons.httpclient.methods.multipart - package org.apache.commons.httpclient.methods.multipart
Provides Multipart support classes for the MultipartRequestEntity.
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.
OUT_BODY - Static variable in class org.apache.commons.httpclient.WireLog
selector for logging the request body
OUT_HEAD - Static variable in class org.apache.commons.httpclient.WireLog
selector for logging the request header

P

param - Static variable in class org.apache.commons.httpclient.URI
BitSet for param (alias for pchar).
ParameterFormatter - Class in org.apache.commons.httpclient.util
This formatter produces a textual representation of attribute/value pairs.
ParameterFormatter() - Constructor for class org.apache.commons.httpclient.util.ParameterFormatter
Default ParameterFormatter constructor
ParameterParser - Class in org.apache.commons.httpclient.util
A simple parser intended to parse sequences of name/value pairs.
ParameterParser() - Constructor for class org.apache.commons.httpclient.util.ParameterParser
Default ParameterParser constructor
parse(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) - Static method in class org.apache.commons.httpclient.HttpVersion
Parses the textual representation of the given HTTP protocol version.
parse(String, char) - Method in class org.apache.commons.httpclient.util.ParameterParser
Extracts a list of 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.DateUtil
Parses a date value.
parseDate(String, Collection) - Static method in class org.apache.commons.httpclient.util.DateUtil
Parses the date value using the given date formats.
parseDate(String, Collection, Date) - Static method in class org.apache.commons.httpclient.util.DateUtil
Parses the date value using the given date formats.
parseElements(char[]) - Static method in class org.apache.commons.httpclient.HeaderElement
This parses the value part of a header.
parseElements(String) - Static method in class org.apache.commons.httpclient.HeaderElement
This parses the value part of a header.
parseHeaders(InputStream, String) - Static method in class org.apache.commons.httpclient.HttpParser
Parses headers from the given stream.
parseUriReference(String, boolean) - Method in class org.apache.commons.httpclient.URI
In order to avoid any possilbity of conflict with non-ASCII characters, Parse a URI reference as a String with the character encoding of the local system or the document.
PARSING - Static variable in exception org.apache.commons.httpclient.URIException
The URI parsing error.
Part - Class in org.apache.commons.httpclient.methods.multipart
Abstract class for one Part of a multipart post object.
Part() - Constructor for class org.apache.commons.httpclient.methods.multipart.Part
 
PartBase - Class in org.apache.commons.httpclient.methods.multipart
Provides setters and getters for the basic Part properties.
PartBase(String, String, String, String) - Constructor for class org.apache.commons.httpclient.methods.multipart.PartBase
Constructor.
parts - Variable in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
The MIME parts as set by the constructor
PartSource - Interface in org.apache.commons.httpclient.methods.multipart
An interface for providing access to data when posting MultiPart messages.
path - Static variable in class org.apache.commons.httpclient.URI
URI bitset that combines absolute path and opaque part.
PATH_DELIM - Static variable in interface org.apache.commons.httpclient.cookie.CookieSpec
Path delimiter
PATH_DELIM_CHAR - Static variable in interface org.apache.commons.httpclient.cookie.CookieSpec
Path delimiting charachter
path_segments - Static variable in class org.apache.commons.httpclient.URI
BitSet for path segments.
pathMatch(String, String) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
Performs path-match as defined by the cookie specification.
pathMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
Performs path-match as implemented in common browsers.
pathMatch(String, String) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
 
PATTERN_ASCTIME - Static variable in class org.apache.commons.httpclient.util.DateUtil
Date format pattern used to parse HTTP date headers in ANSI C asctime() format.
PATTERN_RFC1036 - Static variable in class org.apache.commons.httpclient.util.DateUtil
Date format pattern used to parse HTTP date headers in RFC 1036 format.
PATTERN_RFC1123 - Static variable in class org.apache.commons.httpclient.util.DateUtil
Date format pattern used to parse HTTP date headers in RFC 1123 format.
pchar - Static variable in class org.apache.commons.httpclient.URI
BitSet for pchar.
percent - Static variable in class org.apache.commons.httpclient.URI
The percent "%" character always has the reserved purpose of being the escape indicator, it must be escaped as "%25" in order to be used as data within a URI.
port - Static variable in class org.apache.commons.httpclient.URI
Port, a logical alias for digit.
PostMethod - Class in org.apache.commons.httpclient.methods
Implements the HTTP POST method.
PostMethod() - Constructor for class org.apache.commons.httpclient.methods.PostMethod
No-arg constructor.
PostMethod(String) - Constructor for class org.apache.commons.httpclient.methods.PostMethod
Constructor specifying a URI.
PREEMPTIVE_AUTH_SCHEME - Static variable in class org.apache.commons.httpclient.auth.AuthState
"basic"
PREEMPTIVE_AUTHENTICATION - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
Defines whether authentication should be attempted preemptively.
prevalidate(String, BitSet) - Method in class org.apache.commons.httpclient.URI
Pre-validate the unescaped URI string within a specific component.
print(String, String) - Method in class org.apache.commons.httpclient.HttpConnection
Writes the specified String (as bytes) 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.
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.
Protocol - Class in org.apache.commons.httpclient.protocol
A class to encapsulate the specifics of a protocol.
Protocol(String, ProtocolSocketFactory, int) - Constructor for class org.apache.commons.httpclient.protocol.Protocol
Constructs a new Protocol.
PROTOCOL_CHARSET - Static variable in exception 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.
protocolCharset - Variable in class org.apache.commons.httpclient.URI
The charset of the protocol used by this URI instance.
ProtocolException - Exception in org.apache.commons.httpclient
Signals that an HTTP protocol violation has occurred.
ProtocolException() - Constructor for exception org.apache.commons.httpclient.ProtocolException
Creates a new ProtocolException with a null detail message.
ProtocolException(String) - Constructor for exception org.apache.commons.httpclient.ProtocolException
Creates a new ProtocolException with the specified detail message.
ProtocolException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.ProtocolException
Creates a new ProtocolException with the specified detail message and cause.
ProtocolSocketFactory - Interface in org.apache.commons.httpclient.protocol
A factory for creating Sockets.
PROVIDER - Static variable in interface org.apache.commons.httpclient.auth.CredentialsProvider
Sets the credentials provider parameter.
ProxyClient - Class in org.apache.commons.httpclient
A client that provides sockets for communicating through HTTP proxies via the HTTP CONNECT method.
ProxyClient() - Constructor for class org.apache.commons.httpclient.ProxyClient
Creates an instance of ProxyClient using default parameter set.
ProxyClient(HttpClientParams) - Constructor for class org.apache.commons.httpclient.ProxyClient
Creates an instance of ProxyClient using the given parameter set.
ProxyClient.ConnectResponse - Class in org.apache.commons.httpclient
Contains the method used to execute the connect along with the created socket.
proxyEquals(HttpConnection) - Method in class org.apache.commons.httpclient.HostConfiguration
Tests if the proxy configuration equals the configuration set on the connection.
ProxyHost - Class in org.apache.commons.httpclient
Holds all of the variables needed to describe an HTTP connection to a proxy.
ProxyHost(ProxyHost) - Constructor for class org.apache.commons.httpclient.ProxyHost
Copy constructor for HttpHost
ProxyHost(String, int) - Constructor for class org.apache.commons.httpclient.ProxyHost
Constructor for ProxyHost.
ProxyHost(String) - Constructor for class org.apache.commons.httpclient.ProxyHost
Constructor for HttpHost.
PUNYCODE - Static variable in exception org.apache.commons.httpclient.URIException
The DNS punycode encoding or decoding error.
purgeExpiredCookies() - Method in class org.apache.commons.httpclient.HttpState
Removes all of cookies in this HTTP state that have expired according to the current system time.
purgeExpiredCookies(Date) - Method in class org.apache.commons.httpclient.HttpState
Removes all of cookies in this HTTP state that have expired by the specified date.
PutMethod - Class in org.apache.commons.httpclient.methods
Implements the HTTP PUT method.
PutMethod() - Constructor for class org.apache.commons.httpclient.methods.PutMethod
No-arg constructor.
PutMethod(String) - Constructor for class org.apache.commons.httpclient.methods.PutMethod
Constructor specifying a URI.

Q

query - Static variable in class org.apache.commons.httpclient.URI
BitSet for query (alias for uric).
QUOTE - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content dispostion characters
QUOTE_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
Content dispostion as a byte array

R

read() - Method in class org.apache.commons.httpclient.ChunkedInputStream
Returns all the data in a chunked stream in coalesced form.
read(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.
read(byte[], int, int) - Method in class org.apache.commons.httpclient.WireLogInputStream
 
read() - Method in class org.apache.commons.httpclient.WireLogInputStream
 
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.
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.
reasonCode - Variable in exception org.apache.commons.httpclient.URIException
The reason code.
RedirectException - Exception in org.apache.commons.httpclient
Signals violation of HTTP specification caused by an invalid redirect
RedirectException() - Constructor for exception org.apache.commons.httpclient.RedirectException
Creates a new RedirectException with a null detail message.
RedirectException(String) - Constructor for exception org.apache.commons.httpclient.RedirectException
Creates a new RedirectException with the specified detail message.
RedirectException(String, Throwable) - Constructor for exception org.apache.commons.httpclient.RedirectException
Creates a new RedirectException with the specified detail message and cause.
ReflectionSocketFactory - Class in org.apache.commons.httpclient.protocol
This helper class uses refelction in order to execute Socket methods available in Java 1.4 and above
reg_name - Static variable in class org.apache.commons.httpclient.URI
BitSet for reg_name.
registerAuthScheme(String, Class) - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
Registers a class implementing an authentication scheme with the given identifier.
registerCookieSpec(String, Class) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Registers a new cookie specification with the given identifier.
registerProtocol(String, Protocol) - Static method in class org.apache.commons.httpclient.protocol.Protocol
Registers a new protocol with the given identifier.
REJECT_HEAD_BODY - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines whether the content body sent in response to HeadMethod should be rejected.
REJECT_RELATIVE_REDIRECT - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
Defines whether relative redirects should be rejected.
rel_path - Static variable in class org.apache.commons.httpclient.URI
BitSet for rel_path.
rel_segment - Static variable in class org.apache.commons.httpclient.URI
BitSet for rel_segment.
relativeURI - Static variable in class org.apache.commons.httpclient.URI
BitSet for relativeURI.
releaseConnection() - Method in class org.apache.commons.httpclient.HttpConnection
Releases the connection.
releaseConnection(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
 
remove(HttpConnection) - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
Removes the given connection from the list of connections to be closed when idle.
removeAll() - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
Removes all connections referenced by this handler.
removeConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
Removes the connection manager from this class.
removeFragmentIdentifier(char[]) - Method in class org.apache.commons.httpclient.URI
Remove the fragment identifier of the given component.
removeHeader(Header) - Method in class org.apache.commons.httpclient.HeaderGroup
Removes the given header.
removeParameter(String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Removes all parameters with the given paramName.
removeParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Removes all parameter with the given paramName and paramValue.
removeRequestHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Removes all request headers with the given name.
removeRequestHeader(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.
RequestEntity - Interface in org.apache.commons.httpclient.methods
 
reserved - Static variable in class org.apache.commons.httpclient.URI
BitSet for reserved.
resolvePath(char[], char[]) - Method in class org.apache.commons.httpclient.URI
Resolve the base and relative path.
resolvePort(int) - Method in class org.apache.commons.httpclient.protocol.Protocol
Resolves the correct port for this protocol.
responseBodyConsumed() - Method in class org.apache.commons.httpclient.HttpMethodBase
A response has been consumed.
RETRY_HANDLER - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Sets the method retry handler parameter.
retryMethod(HttpMethod, IOException, int) - Method in class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
Use retryCount and requestSentRetryEnabled to determine if the given method should be retried.
retryMethod(HttpMethod, IOException, int) - Method in interface org.apache.commons.httpclient.HttpMethodRetryHandler
Determines if a method should be retried after an HttpRecoverableException occurs during execution.
RFC2109Spec - Class in org.apache.commons.httpclient.cookie
RFC 2109 specific cookie management functions
RFC2109Spec() - Constructor for class org.apache.commons.httpclient.cookie.RFC2109Spec
Default constructor
RFC2617Scheme - Class in org.apache.commons.httpclient.auth
Abstract authentication scheme class that lays foundation for all RFC 2617 compliant authetication schemes and provides capabilities common to all authentication schemes defined in RFC 2617.
RFC2617Scheme() - Constructor for class org.apache.commons.httpclient.auth.RFC2617Scheme
Default constructor for RFC2617 compliant authetication schemes.
RFC_2109 - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
The RFC 2109 compliant policy.
rootPath - Static variable in class org.apache.commons.httpclient.URI
The root path.
run() - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
Execute the logic in this object and keep track of any exceptions.
run() - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
Closes idle connections.

S

SC_ACCEPTED - Static variable in class org.apache.commons.httpclient.HttpStatus
202 Accepted (HTTP/1.0 - RFC 1945)
SC_BAD_GATEWAY - Static variable in class org.apache.commons.httpclient.HttpStatus
502 Bad Gateway (HTTP/1.0 - RFC 1945)
SC_BAD_REQUEST - Static variable in class org.apache.commons.httpclient.HttpStatus
400 Bad Request (HTTP/1.1 - RFC 2616)
SC_CONFLICT - Static variable in class org.apache.commons.httpclient.HttpStatus
409 Conflict (HTTP/1.1 - RFC 2616)
SC_CONTINUE - Static variable in class org.apache.commons.httpclient.HttpStatus
100 Continue (HTTP/1.1 - RFC 2616)
SC_CREATED - Static variable in class org.apache.commons.httpclient.HttpStatus
201 Created (HTTP/1.0 - RFC 1945)
SC_EXPECTATION_FAILED - Static variable in class org.apache.commons.httpclient.HttpStatus
417 Expectation Failed (HTTP/1.1 - RFC 2616)
SC_FAILED_DEPENDENCY - Static variable in class org.apache.commons.httpclient.HttpStatus
424 Failed Dependency (WebDAV - RFC 2518)
SC_FORBIDDEN - Static variable in class org.apache.commons.httpclient.HttpStatus
403 Forbidden (HTTP/1.0 - RFC 1945)
SC_GATEWAY_TIMEOUT - Static variable in class org.apache.commons.httpclient.HttpStatus
504 Gateway Timeout (HTTP/1.1 - RFC 2616)
SC_GONE - Static variable in class org.apache.commons.httpclient.HttpStatus
410 Gone (HTTP/1.1 - RFC 2616)
SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in class org.apache.commons.httpclient.HttpStatus
505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616)
SC_INSUFFICIENT_SPACE_ON_RESOURCE - Static variable in class org.apache.commons.httpclient.HttpStatus
Static constant for a 419 error.
SC_INSUFFICIENT_STORAGE - Static variable in class org.apache.commons.httpclient.HttpStatus
507 Insufficient Storage (WebDAV - RFC 2518)
SC_INTERNAL_SERVER_ERROR - Static variable in class org.apache.commons.httpclient.HttpStatus
500 Server Error (HTTP/1.0 - RFC 1945)
SC_LENGTH_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
411 Length Required (HTTP/1.1 - RFC 2616)
SC_LOCKED - Static variable in class org.apache.commons.httpclient.HttpStatus
423 Locked (WebDAV - RFC 2518)
SC_METHOD_FAILURE - Static variable in class org.apache.commons.httpclient.HttpStatus
Static constant for a 420 error.
SC_METHOD_NOT_ALLOWED - Static variable in class org.apache.commons.httpclient.HttpStatus
405 Method Not Allowed (HTTP/1.1 - RFC 2616)
SC_MOVED_PERMANENTLY - Static variable in class org.apache.commons.httpclient.HttpStatus
301 Moved Permanently (HTTP/1.0 - RFC 1945)
SC_MOVED_TEMPORARILY - Static variable in class org.apache.commons.httpclient.HttpStatus
302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945)
SC_MULTI_STATUS - Static variable in class org.apache.commons.httpclient.HttpStatus
207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)
SC_MULTIPLE_CHOICES - Static variable in class org.apache.commons.httpclient.HttpStatus
300 Mutliple Choices (HTTP/1.1 - RFC 2616)
SC_NO_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
204 No Content (HTTP/1.0 - RFC 1945)
SC_NON_AUTHORITATIVE_INFORMATION - Static variable in class org.apache.commons.httpclient.HttpStatus
203 Non Authoritative Information (HTTP/1.1 - RFC 2616)
SC_NOT_ACCEPTABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
406 Not Acceptable (HTTP/1.1 - RFC 2616)
SC_NOT_FOUND - Static variable in class org.apache.commons.httpclient.HttpStatus
404 Not Found (HTTP/1.0 - RFC 1945)
SC_NOT_IMPLEMENTED - Static variable in class org.apache.commons.httpclient.HttpStatus
501 Not Implemented (HTTP/1.0 - RFC 1945)
SC_NOT_MODIFIED - Static variable in class org.apache.commons.httpclient.HttpStatus
304 Not Modified (HTTP/1.0 - RFC 1945)
SC_OK - Static variable in class org.apache.commons.httpclient.HttpStatus
200 OK (HTTP/1.0 - RFC 1945)
SC_PARTIAL_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
206 Partial Content (HTTP/1.1 - RFC 2616)
SC_PAYMENT_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
402 Payment Required (HTTP/1.1 - RFC 2616)
SC_PRECONDITION_FAILED - Static variable in class org.apache.commons.httpclient.HttpStatus
412 Precondition Failed (HTTP/1.1 - RFC 2616)
SC_PROCESSING - Static variable in class org.apache.commons.httpclient.HttpStatus
102 Processing (WebDAV - RFC 2518)
SC_PROXY_AUTHENTICATION_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
407 Proxy Authentication Required (HTTP/1.1 - RFC 2616)
SC_REQUEST_TIMEOUT - Static variable in class org.apache.commons.httpclient.HttpStatus
408 Request Timeout (HTTP/1.1 - RFC 2616)
SC_REQUEST_TOO_LONG - Static variable in class org.apache.commons.httpclient.HttpStatus
413 Request Entity Too Large (HTTP/1.1 - RFC 2616)
SC_REQUEST_URI_TOO_LONG - Static variable in class org.apache.commons.httpclient.HttpStatus
414 Request-URI Too Long (HTTP/1.1 - RFC 2616)
SC_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616)
SC_RESET_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
205 Reset Content (HTTP/1.1 - RFC 2616)
SC_SEE_OTHER - Static variable in class org.apache.commons.httpclient.HttpStatus
303 See Other (HTTP/1.1 - RFC 2616)
SC_SERVICE_UNAVAILABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
503 Service Unavailable (HTTP/1.0 - RFC 1945)
SC_SWITCHING_PROTOCOLS - Static variable in class org.apache.commons.httpclient.HttpStatus
101 Switching Protocols (HTTP/1.1 - RFC 2616)
SC_TEMPORARY_REDIRECT - Static variable in class org.apache.commons.httpclient.HttpStatus
307 Temporary Redirect (HTTP/1.1 - RFC 2616)
SC_UNAUTHORIZED - Static variable in class org.apache.commons.httpclient.HttpStatus
401 Unauthorized (HTTP/1.0 - RFC 1945)
SC_UNPROCESSABLE_ENTITY - Static variable in class org.apache.commons.httpclient.HttpStatus
422 Unprocessable Entity (WebDAV - RFC 2518)
SC_UNSUPPORTED_MEDIA_TYPE - Static variable in class org.apache.commons.httpclient.HttpStatus
415 Unsupported Media Type (HTTP/1.1 - RFC 2616)
SC_USE_PROXY - Static variable in class org.apache.commons.httpclient.HttpStatus
305 Use Proxy (HTTP/1.1 - RFC 2616)
scheme - Static variable in class org.apache.commons.httpclient.URI
BitSet for scheme.
SecureProtocolSocketFactory - Interface in org.apache.commons.httpclient.protocol
A ProtocolSocketFactory that is secure.
segment - Static variable in class org.apache.commons.httpclient.URI
BitSet for segment.
selectAuthScheme(Map) - Method in class org.apache.commons.httpclient.auth.AuthChallengeProcessor
Determines the preferred authentication scheme that can be used to respond to the given collection of challenges.
send(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
Write all the data to the output stream.
sendContentTypeHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
Write the content type header to the specified output stream
sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
Write the data in "source" to the specified stream.
sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
Write the data to the specified output stream
sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.StringPart
Writes the data to the given OutputStream.
sendDispositionHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
Write the disposition header to the output stream
sendDispositionHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
Write the content disposition header to the specified output stream
sendEnd(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
Write the end data to the output stream.
sendEndOfHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
Write the end of the header to the output stream
sendParts(OutputStream, Part[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
Write all parts and the last boundary to the specified output stream.
sendParts(OutputStream, Part[], byte[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
Write all parts and the last boundary to the specified output stream.
sendStart(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
Write the start to the specified output stream
sendTransferEncodingHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
Write the content transfer encoding header to the specified output stream
server - Static variable in class org.apache.commons.httpclient.URI
Bitset for server.
setAllowUserInteraction(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
setAlwaysUseQuotes(boolean) - Method in class org.apache.commons.httpclient.util.ParameterFormatter
Defines whether all parameter values must be enclosed in quotation marks, even if they do not contain any special characters
setAuthAttempted(boolean) - Method in class org.apache.commons.httpclient.auth.AuthState
Sets authentication attempt status
setAuthenticationPreemptive(boolean) - Method in class org.apache.commons.httpclient.params.HttpClientParams
Sets whether authentication should be attempted preemptively.
setAuthRequested(boolean) - Method in class org.apache.commons.httpclient.auth.AuthState
Sets authentication request status
setAuthScheme(AuthScheme) - Method in class org.apache.commons.httpclient.auth.AuthState
Assigns the given authentication scheme.
setBooleanParameter(String, boolean) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Assigns a Boolean to the parameter with the given name
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
Sets the character encoding.
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.
setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Sets the timeout until a connection is etablished.
setConnectionTimeout(long) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
Sets the timeout value to use when testing for idle connections.
setContentCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Sets the default charset to be used for writing content body, when no charset explicitly specified.
setContentChunked(boolean) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
Sets whether or not the content should be chunked.
setContentType(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
Sets the content type.
setCookiePolicy(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(AuthScope, Credentials) - Method in class org.apache.commons.httpclient.HttpState
Sets the credentials for the given authentication scope.
setDefaultDocumentCharset(String) - Static method in class org.apache.commons.httpclient.URI
Set the default charset of the document.
setDefaultMaxConnectionsPerHost(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Sets the default maximum number of connections allowed for a given host config.
setDefaultProtocolCharset(String) - Static method in class org.apache.commons.httpclient.URI
Set the default charset of the protocol.
setDefaults(HttpParams) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
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
setDefaults(HttpParams) - Method in interface org.apache.commons.httpclient.params.HttpParams
Assigns the parent collection that this collection will defer to for a default value if a particular parameter is not explicitly set in the collection itself
setDefaultUseCaches(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
setDoAuthentication(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
Sets whether or not the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.)
setDoAuthentication(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
Sets whether or not the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.)
setDoInput(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
setDomain(String) - Method in class org.apache.commons.httpclient.Cookie
Sets the domain attribute.
setDomainAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.Cookie
Indicates whether the cookie had a domain specified in a domain attribute of the Set-Cookie header.
setDoOutput(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
setDoubleParameter(String, double) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Assigns a Double to the parameter with the given name
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.
setFilter(WireLogInputStream, WireLogOutputStream) - Method in class org.apache.commons.httpclient.HttpConnection
Set the input and out filter to use.
setFilters(HttpConnection) - Method in interface org.apache.commons.httpclient.HttpMethod
Give a method the opportunity to setup input and out filters on the given connection, so that they get activated on the next open() call of the connection.
setFilters(HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Give a method the opportunity to setup input and out filters on the given connection, so that they get activated on the next open() call of the connection.
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(HttpHost) - Method in class org.apache.commons.httpclient.HostConfiguration
Sets the given host
setHost(String, int, String) - Method in class org.apache.commons.httpclient.HostConfiguration
Sets the given host, port and protocol
setHost(String, int, Protocol) - Method in class org.apache.commons.httpclient.HostConfiguration
Sets the given host, port and protocol.
setHost(String, 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.
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.ProxyClient
Assigns the host configuration to use with the ProxyClient.
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
Assigns an Integer to the parameter with the given name
setIntParameter(String, int) - Method in interface org.apache.commons.httpclient.params.HttpParams
Assigns an Integer to the parameter with the given name
setLastResponseInputStream(InputStream) - Method in class org.apache.commons.httpclient.HttpConnection
Set the state to keep track of the last response for the last request.
setLinger(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Returns linger-on-close timeout.
setLocalAddress(InetAddress) - Method in class org.apache.commons.httpclient.HostConfiguration
Set the local address to be used when creating connections.
setLocalAddress(InetAddress) - Method in class org.apache.commons.httpclient.HttpConnection
Set the local address used when creating the connection.
setLocked(boolean) - Method in class org.apache.commons.httpclient.HttpConnection
Locks or unlocks the connection.
setLogWire(WireLog) - Method in interface org.apache.commons.httpclient.HttpMethod
Set the wire used to log headers and bodies.
setLogWire(WireLog) - Method in class org.apache.commons.httpclient.HttpMethodBase
Set the wire used to log headers and bodies.
setLongParameter(String, long) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
Assigns a Long to the parameter with the given name
setLongParameter(String, long) - Method in interface org.apache.commons.httpclient.params.HttpParams
Assigns a Long to the parameter with the given name
setMaxConnectionsPerHost(HostConfiguration, int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Sets the maximum number of connections to be used for the given host config.
setMaxTotalConnections(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
Sets the maximum number of connections allowed.
setName(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
Sets the part name.
setName(String) - Method in class org.apache.commons.httpclient.NameValuePair
Set the name.
setParameter(String, 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
Assigns the value to the parameter with the given name
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(HostParams) - Method in class org.apache.commons.httpclient.HostConfiguration
Assigns HTTP protocol parameters specific to this host.
setParams(HttpClientParams) - Method in class org.apache.commons.httpclient.HttpClient
Assigns HTTP protocol parameters for this HttpClient.
setParams(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.
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(AuthScope, Credentials) - Method in class org.apache.commons.httpclient.HttpState
Sets the proxy credentials for the given authentication realm.
setProxyHost(ProxyHost) - Method in class org.apache.commons.httpclient.HostConfiguration
Sets the given proxy host
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.
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(Collection<NameValuePair>) - Method in class org.apache.commons.httpclient.methods.PostMethod
Sets an array of parameters to be used in the POST request body
setRequestEntity(RequestEntity) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
 
setRequestHeader(String, String) - Method in interface org.apache.commons.httpclient.HttpMethod
Sets the specified request header, overwriting any previous value.
setRequestHeader(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.
setResponseStream(InputStream) - Method in class org.apache.commons.httpclient.HttpMethodBase
Sets the response stream.
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.params.HttpConnectionParams
Sets a hint the size of the underlying buffers used by the platform for outgoing network I/O.
setSocket(Socket) - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
Set the socket.
setSocketTimeout(int) - Method in class org.apache.commons.httpclient.HttpConnection
Sets SO_TIMEOUT value directly on the underlying socket.
setSoTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Sets the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
setSoTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Sets the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
setStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.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.
setTcpNoDelay(boolean) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
Determines whether Nagle's algorithm is to be used.
setTimeoutInterval(long) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
Sets the interval used by this class between closing idle connections.
setTransferEncoding(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
Sets the transfer encoding.
setURI(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.
setUser(String) - Method in class org.apache.commons.httpclient.HttpURL
Set the user string.
setUserinfo(String, String) - Method in class org.apache.commons.httpclient.HttpURL
Set the user and password.
setValidDateFormats(Collection) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
Sets the Collection of date patterns used for parsing.
setValidDateFormats(Collection) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
Sets the Collection of date patterns used for parsing.
setValidDateFormats(Collection) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
Does nothing.
setValue(String) - Method in class org.apache.commons.httpclient.NameValuePair
Set the value.
setVersion(int) - Method in class org.apache.commons.httpclient.Cookie
Sets the version of the cookie specification to which this cookie conforms.
setVersion(HttpVersion) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Assigns the HTTP protocol version to be used by the HTTP methods that this collection of parameters applies to.
setVirtualHost(String) - Method in class org.apache.commons.httpclient.params.HostParams
Sets the virtual host name.
setVirtualHost(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
Sets the virtual host name.
shouldCloseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
Returns true if the status code is anything other than SC_OK, false otherwise.
shouldCloseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Tests if the connection should be closed after the method has been executed.
shutdown() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Shuts down the connection manager and releases all resources.
shutdown() - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
Stops the thread used to close idle connections.
shutdownAll() - Static method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
Shuts down and cleans up resources used by all instances of MultiThreadedHttpConnectionManager.
SimpleHttpConnectionManager - Class in org.apache.commons.httpclient
A connection manager that provides access to a single HttpConnection.
SimpleHttpConnectionManager() - Constructor for class org.apache.commons.httpclient.SimpleHttpConnectionManager
Do nothing constructor.
SINGLE_COOKIE_HEADER - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines whether cookies should be put on a single response header.
skip(long) - Method in class org.apache.commons.httpclient.ContentLengthInputStream
Skips and discards a number of bytes from the input stream.
SO_LINGER - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Sets SO_LINGER with the specified linger time in seconds.
SO_RCVBUF - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Determines a hint the size of the underlying buffers used by the platform for incoming network I/O.
SO_SNDBUF - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Determines a hint the size of the underlying buffers used by the platform for outgoing network I/O.
SO_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Defines the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
SO_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Sets the socket timeout (SO_TIMEOUT) in milliseconds to be used when executing the method.
space - Static variable in class org.apache.commons.httpclient.URI
BitSet for space.
SSLProtocolSocketFactory - Class in org.apache.commons.httpclient.protocol
A SecureProtocolSocketFactory that uses JSSE to create sockets.
SSLProtocolSocketFactory() - Constructor for class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
Constructor for SSLProtocolSocketFactory.
STALE_CONNECTION_CHECK - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Determines whether stale connection check is to be used.
startsWithHTTP(String) - Static method in class org.apache.commons.httpclient.StatusLine
Tests if the string starts with 'HTTP' signature.
STATUS_LINE_GARBAGE_LIMIT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines the maximum number of ignorable lines before we expect a HTTP response's status code.
StatusLine - Class in org.apache.commons.httpclient
Represents a Status-Line as returned from a HTTP server.
StatusLine(String) - Constructor for class org.apache.commons.httpclient.StatusLine
Default constructor.
STRICT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines whether responses with an invalid Transfer-Encoding header should be rejected.
StringPart - Class in org.apache.commons.httpclient.methods.multipart
Simple string parameter for a multipart post
StringPart(String, String, 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.
StringRequestEntity - Class in org.apache.commons.httpclient.methods
A RequestEntity that contains a String.
StringRequestEntity(String) - Constructor for class org.apache.commons.httpclient.methods.StringRequestEntity
Creates a new entity with the given content.
StringRequestEntity(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.StringRequestEntity
Creates a new entity with the given content, content type, and charset.

T

TCP_NODELAY - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
Determines whether Nagle's algorithm is to be used.
TimeoutController - Class in org.apache.commons.httpclient.util
Executes a task with a specified timeout.
TimeoutController.TimeoutException - Exception in org.apache.commons.httpclient.util
Signals that the task timed out.
TimeoutController.TimeoutException() - Constructor for exception org.apache.commons.httpclient.util.TimeoutController.TimeoutException
Create an instance
toExternalForm() - Method in class org.apache.commons.httpclient.Cookie
Return a textual representation of the cookie.
toExternalForm() - Method in class org.apache.commons.httpclient.Header
Returns a String representation of the header.
toplabel - Static variable in class org.apache.commons.httpclient.URI
BitSet for toplabel.
toString() - Method in class org.apache.commons.httpclient.auth.AuthScope
toString() - Method in class org.apache.commons.httpclient.auth.AuthState
toString() - Method in class org.apache.commons.httpclient.Cookie
Return a textual representation of the cookie.
toString() - Method in class org.apache.commons.httpclient.Header
Returns a String representation of the header.
toString() - Method in class org.apache.commons.httpclient.HostConfiguration
 
toString() - Method in class org.apache.commons.httpclient.HttpHost
 
toString() - Method in class org.apache.commons.httpclient.HttpState
Returns a string representation of this HTTP state.
toString() - Method in class org.apache.commons.httpclient.HttpVersion
 
toString() - Method in class org.apache.commons.httpclient.methods.multipart.Part
Return a string representation of this object.
toString() - Method in class org.apache.commons.httpclient.NameValuePair
Get a String representation of this pair.
toString() - Method in class org.apache.commons.httpclient.NTCredentials
Return a string representation of this object.
toString() - Method in class org.apache.commons.httpclient.protocol.Protocol
Return a string representation of this object.
toString() - Method in class org.apache.commons.httpclient.StatusLine
Return a string representation of this object.
toString() - Method in class org.apache.commons.httpclient.URI
Get the escaped URI string.
toString() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
Get this object string.
toURI() - Method in class org.apache.commons.httpclient.HttpHost
Return the host uri.
toUserinfo(String, String) - Static method in class org.apache.commons.httpclient.HttpURL
 
TraceMethod - Class in org.apache.commons.httpclient.methods
Implements the HTTP TRACE method.
TraceMethod(String) - Constructor for class org.apache.commons.httpclient.methods.TraceMethod
Constructor specifying a URI.
tunnelCreated() - Method in class org.apache.commons.httpclient.HttpConnection
Instructs the proxy to establish a secure tunnel to the host.

U

UNAMBIGUOUS_STATUS_LINE - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines whether HTTP methods should reject ambiguous HTTP status line.
UNKNOWN - Static variable in exception org.apache.commons.httpclient.URI.DefaultCharsetChanged
No specified reason code.
UNKNOWN - Static variable in exception org.apache.commons.httpclient.URIException
No specified reason code.
unregisterAuthScheme(String) - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
Unregisters the class implementing an authentication scheme with the given ID.
unregisterCookieSpec(String) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
Unregisters the cookie specification with the given ID.
unregisterProtocol(String) - Static method in class org.apache.commons.httpclient.protocol.Protocol
Unregisters the protocol with the given ID.
unreserved - Static variable in class org.apache.commons.httpclient.URI
Data characters that are allowed in a URI but do not have a reserved purpose are called unreserved.
UNSUPPORTED_ENCODING - Static variable in exception org.apache.commons.httpclient.URIException
The unsupported character encoding.
unwise - Static variable in class org.apache.commons.httpclient.URI
BitSet for unwise.
URI - Class in org.apache.commons.httpclient
The interface for the URI(Uniform Resource Identifiers) version of RFC 2396.
URI() - Constructor for class org.apache.commons.httpclient.URI
Create an instance as an internal use
URI(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(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, 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 in org.apache.commons.httpclient
The charset-changed normal operation to represent to be required to alert to user the fact the default charset is changed.
URI.DefaultCharsetChanged(int, String) - Constructor for exception org.apache.commons.httpclient.URI.DefaultCharsetChanged
The constructor with a reason string and its code arguments.
URI.LocaleToCharsetMap - Class in org.apache.commons.httpclient
A mapping to determine the (somewhat arbitrarily) preferred charset for a given locale.
URI.LocaleToCharsetMap() - Constructor for class org.apache.commons.httpclient.URI.LocaleToCharsetMap
 
URI_reference - Static variable in class org.apache.commons.httpclient.URI
BitSet for URI-reference.
uric - Static variable in class org.apache.commons.httpclient.URI
BitSet for uric.
uric_no_slash - Static variable in class org.apache.commons.httpclient.URI
URI bitset for encoding typical non-slash characters.
URIException - Exception in org.apache.commons.httpclient
The URI parsing and escape encoding exception.
URIException() - Constructor for exception org.apache.commons.httpclient.URIException
Default constructor.
URIException(int) - Constructor for exception org.apache.commons.httpclient.URIException
The constructor with a reason code argument.
URIException(int, String) - Constructor for exception org.apache.commons.httpclient.URIException
The constructor with a reason string and its code arguments.
URIException(String) - Constructor for exception org.apache.commons.httpclient.URIException
The constructor with a reason string argument.
URIUtil - Class in org.apache.commons.httpclient.util
The URI escape and character encoding and decoding utility.
URIUtil() - Constructor for class org.apache.commons.httpclient.util.URIUtil
 
USE_EXPECT_CONTINUE - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Activates 'Expect: 100-Continue' handshake for the entity enclosing methods.
USER_AGENT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines the content of the User-Agent header used by HTTP methods.
userinfo - Static variable in class org.apache.commons.httpclient.URI
Bitset for userinfo.
UsernamePasswordCredentials - Class in org.apache.commons.httpclient
Username and password Credentials.
UsernamePasswordCredentials(String) - Constructor for class org.apache.commons.httpclient.UsernamePasswordCredentials
The constructor with the username and password combined string argument.
UsernamePasswordCredentials(String, String) - Constructor for class org.apache.commons.httpclient.UsernamePasswordCredentials
The constructor with the username and password arguments.
usingProxy() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.

V

validate(String, int, String, boolean, Cookie) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
Validate the cookie according to validation rules defined by the cookie specification.
validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
Performs most common Cookie validation
validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
Does nothing.
validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
Performs Netscape draft compliant Cookie validation
validate(String, int, String, boolean, Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
Performs RFC 2109 compliant Cookie validation
validate() - 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.
VIRTUAL_HOST - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines the virtual host name.

W

WARN_EXTRA_INPUT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
Defines HttpClient's behavior when a response provides more bytes than expected (specified with Content-Length, for example).
WireLog - Class in org.apache.commons.httpclient
Logs data to the wire LOG.
WireLog(OutputStream, int) - Constructor for class org.apache.commons.httpclient.WireLog
Create a new logger.
WireLogInputStream - Class in org.apache.commons.httpclient
Logs all data read to the wire LOG.
WireLogInputStream(OutputStream) - Constructor for class org.apache.commons.httpclient.WireLogInputStream
Create an instance that wraps the specified input stream.
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 the specified byte to our output stream.
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.
writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
Writes the request entity to the given stream.
writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
Writes the request entity to the given stream.
writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
Writes the request entity to the given stream.
writeRequest(OutputStream) - Method in interface org.apache.commons.httpclient.methods.RequestEntity
Writes the request entity to the given stream.
writeRequest(OutputStream) - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
Writes the request entity to the given stream.
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.
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.
_fragment - Variable in class org.apache.commons.httpclient.URI
The fragment.
_host - Variable in class org.apache.commons.httpclient.URI
The host.
_is_abs_path - Variable in class org.apache.commons.httpclient.URI
 
_is_hier_part - Variable in class org.apache.commons.httpclient.URI
 
_is_hostname - Variable in class org.apache.commons.httpclient.URI
 
_is_IPv4address - Variable in class org.apache.commons.httpclient.URI
 
_is_IPv6reference - Variable in class org.apache.commons.httpclient.URI
 
_is_net_path - Variable in class org.apache.commons.httpclient.URI
 
_is_opaque_part - Variable in class org.apache.commons.httpclient.URI
 
_is_reg_name - Variable in class org.apache.commons.httpclient.URI
 
_is_rel_path - Variable in class org.apache.commons.httpclient.URI
 
_is_server - Variable in class org.apache.commons.httpclient.URI
 
_opaque - Variable in class org.apache.commons.httpclient.URI
The opaque.
_path - Variable in class org.apache.commons.httpclient.URI
The path.
_port - Variable in class org.apache.commons.httpclient.URI
The port.
_query - Variable in class org.apache.commons.httpclient.URI
The query.
_scheme - Variable in class org.apache.commons.httpclient.URI
The scheme.
_uri - Variable in class org.apache.commons.httpclient.URI
This Uniform Resource Identifier (URI).
_userinfo - Variable in class org.apache.commons.httpclient.URI
The userinfo.

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

Copyright (c) 1999-2005 - Apache Software Foundation