- abort() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Aborts the execution of the HTTP method.
- abort() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Aborts the execution of this method.
- abs_path - Static variable in class org.apache.commons.httpclient.URI
-
URI absolute path.
- absoluteURI - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for absoluteURI.
- add(HttpConnection) - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
-
Registers the given connection with this handler.
- addConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Adds a connection manager to be handled by this class.
- addContentLengthRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Generates Content-Length or Transfer-Encoding: Chunked
request header, as long as no Content-Length request header
already exists.
- addContentLengthRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Adds a Content-Length request header, as long as no
Content-Length request header already exists.
- addContentTypeRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Adds a Content-Type request header.
- addCookie(Cookie) - Method in class org.apache.commons.httpclient.HttpState
-
Adds an
HTTP cookie
, replacing any existing equivalent cookies.
- addCookieRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
-
This method does nothing.
- addCookieRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates
Cookie request headers for those
cookie
s
that match the given host, port and path.
- addCookies(Cookie[]) - Method in class org.apache.commons.httpclient.HttpState
-
- addHeader(Header) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Adds the given header to the group.
- addHostRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates Host request header, as long as no Host request
header already exists.
- addParameter(String, String) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Adds a text field part
- addParameter(String, File) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Adds a binary file part
- addParameter(String, String, File) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Adds a binary file part with the given file name
- addParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Adds a new parameter to be used in the POST request body.
- addParameter(NameValuePair) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Adds a new parameter to be used in the POST request body.
- addParameters(NameValuePair[]) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Adds an array of parameters to be used in the POST request body.
- addPart(Part) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Adds a part.
- addProxyConnectionHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates Proxy-Connection: Keep-Alive request header when
communicating via a proxy server.
- addRequestHeader(String, String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Adds the specified request header, not overwriting any previous value.
- addRequestHeader(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Adds the specified request header, not overwriting any previous value.
- addRequestHeader(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Adds the specified request header, NOT overwriting any previous value.
- addRequestHeader(String, String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Adds the specified request header, NOT overwriting any previous value.
- addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
-
Populates the request headers map to with additional
headers
to be submitted to the given
HttpConnection
.
- addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates all the required request
header
s
to be submitted via the given
connection
.
- addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Populates the request headers map to with additional
headers
to be submitted to
the given
HttpConnection
.
- addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
Sets the Expect header if it has not already been set,
in addition to the "standard" set of headers.
- addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Populates the request headers map to with additional
headers
to be submitted to
the given
HttpConnection
.
- 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
-
- assertOpen() - Method in class org.apache.commons.httpclient.HttpConnection
-
- AUTH_SCHEME_PRIORITY - Static variable in class org.apache.commons.httpclient.auth.AuthPolicy
-
- 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, String, String) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
- authenticate(Credentials, HttpMethod) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Produces an authorization string for the given set of
Credentials
.
- authenticate(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
- authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Produces basic authorization string for the given set of
Credentials
.
- authenticate(UsernamePasswordCredentials) - Static method in class org.apache.commons.httpclient.auth.BasicScheme
-
- authenticate(UsernamePasswordCredentials, String) - Static method in class org.apache.commons.httpclient.auth.BasicScheme
-
- authenticate(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
- authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Produces a digest authorization string for the given set of
Credentials
, method name and URI.
- authenticate(AuthScheme, HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
- authenticate(NTCredentials, String) - Static method in class org.apache.commons.httpclient.auth.NTLMScheme
-
- authenticate(NTCredentials, String, String) - Static method in class org.apache.commons.httpclient.auth.NTLMScheme
-
- authenticate(Credentials, String, String) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
- authenticate(Credentials, HttpMethod) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Produces NTLM authorization string for the given set of
Credentials
.
- authenticateDefault(HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
- authenticateProxy(AuthScheme, HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
- authenticateProxyDefault(HttpMethod, HttpConnection, HttpState) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
- 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.
- AuthSchemeBase - Class in org.apache.commons.httpclient.auth
-
- AuthSchemeBase(String) - Constructor for class org.apache.commons.httpclient.auth.AuthSchemeBase
-
- 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.
- available() - Method in class org.apache.commons.httpclient.ContentLengthInputStream
-
- CHARSET - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content charset
- CHARSET_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content charset as a byte array
- checkNotUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- checkUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- checkValid() - Method in class org.apache.commons.httpclient.HttpsURL
-
Verify the valid class use for construction.
- checkValid() - Method in class org.apache.commons.httpclient.HttpURL
-
Verify the valid class use for construction.
- ChunkedInputStream - Class in org.apache.commons.httpclient
-
Transparently coalesces chunks of a HTTP stream that uses
Transfer-Encoding chunked.
- ChunkedInputStream(InputStream, 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
-
- closeIdleConnections(long) - Method in class org.apache.commons.httpclient.util.IdleConnectionHandler
-
Closes connections that have been idle for at least the given amount of time.
- closeIfStale() - Method in class org.apache.commons.httpclient.HttpConnection
-
Closes the connection if stale.
- closeSocketAndStreams() - Method in class org.apache.commons.httpclient.HttpConnection
-
Closes everything out.
- Coder() - Constructor for class org.apache.commons.httpclient.util.URIUtil.Coder
-
Deprecated.
- COMMENT - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
-
- COMMENTURL - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
-
- compare(Object, Object) - Method in class org.apache.commons.httpclient.Cookie
-
Compares two cookies to determine order for cookie header.
- compare(Object, Object) - Method in class org.apache.commons.httpclient.cookie.CookiePathComparator
-
- compareTo(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.
- COMPATIBILITY - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
- 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
-
- CONNECTION_MANAGER_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
-
- 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
-
- ConnectMethod(HttpMethod) - Constructor for class org.apache.commons.httpclient.ConnectMethod
-
- ConnectMethod(HostConfiguration) - 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.EntityEnclosingMethod
-
- CONTENT_LENGTH_AUTO - Static variable in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
The content length will be calculated automatically.
- CONTENT_LENGTH_CHUNKED - Static variable in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
- CONTENT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content type header
- CONTENT_TRANSFER_ENCODING_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content type header as a byte array
- CONTENT_TYPE - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content type header
- CONTENT_TYPE_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Content type header as a byte array
- ContentLengthInputStream - Class in org.apache.commons.httpclient
-
Cuts the wrapped InputStream off after a specified number of bytes.
- ContentLengthInputStream(InputStream, int) - Constructor for class org.apache.commons.httpclient.ContentLengthInputStream
-
- ContentLengthInputStream(InputStream, long) - Constructor for class org.apache.commons.httpclient.ContentLengthInputStream
-
Creates a new length limited stream
- control - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for control.
- ControllerThreadSocketFactory - Class in org.apache.commons.httpclient.protocol
-
This helper class is intedned to help work around the limitation of older Java versions
(older than 1.4) that prevents from specifying a connection timeout when creating a
socket.
- ControllerThreadSocketFactory.SocketTask - Class in org.apache.commons.httpclient.protocol
-
Helper class for wrapping socket based tasks.
- Cookie - Class in org.apache.commons.httpclient
-
HTTP "magic-cookie" represents a piece of state information
that the HTTP agent and the target server can exchange to maintain
a session.
- Cookie() - Constructor for class org.apache.commons.httpclient.Cookie
-
Default constructor.
- Cookie(String, String, String) - Constructor for class org.apache.commons.httpclient.Cookie
-
Creates a cookie with the given name, value and domain attribute.
- Cookie(String, String, String, String, 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
- Cookie2 - Class in org.apache.commons.httpclient.cookie
-
- Cookie2() - Constructor for class org.apache.commons.httpclient.cookie.Cookie2
-
Default constructor.
- Cookie2(String, String, String) - Constructor for class org.apache.commons.httpclient.cookie.Cookie2
-
Creates a cookie with the given name, value and domain attribute.
- Cookie2(String, String, String, String, Date, boolean) - Constructor for class org.apache.commons.httpclient.cookie.Cookie2
-
Creates a cookie with the given name, value, domain attribute,
path attribute, expiration attribute, and secure attribute
- Cookie2(String, String, String, String, Date, boolean, int[]) - Constructor for class org.apache.commons.httpclient.cookie.Cookie2
-
Creates a cookie with the given name, value, domain attribute,
path attribute, expiration attribute, secure attribute, and ports
attribute.
- COOKIE_POLICY - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
- CookieAttributeHandler - Interface in org.apache.commons.httpclient.cookie
-
Ths interface represents a cookie attribute handler responsible
for parsing, validating, and matching a specific cookie attribute,
such as path, domain, port, etc.
- CookieOrigin - Class in org.apache.commons.httpclient.cookie
-
CookieOrigin class incapsulates details of an origin server that
are relevant when parsing, validating or matching HTTP cookies.
- CookieOrigin(String, int, String, boolean) - Constructor for class org.apache.commons.httpclient.cookie.CookieOrigin
-
- CookiePathComparator - Class in org.apache.commons.httpclient.cookie
-
This cookie comparator ensures that multiple cookies satisfying
a common criteria are ordered in the Cookie header such
that those with more specific Path attributes precede those with
less specific.
- CookiePathComparator() - Constructor for class org.apache.commons.httpclient.cookie.CookiePathComparator
-
- CookiePolicy - Class in org.apache.commons.httpclient.cookie
-
Cookie management policy class.
- CookiePolicy() - Constructor for class org.apache.commons.httpclient.cookie.CookiePolicy
-
- cookies - Variable in class org.apache.commons.httpclient.HttpState
-
Array of
cookies
that this HTTP state contains.
- CookieSpec - Interface in org.apache.commons.httpclient.cookie
-
Defines the cookie management specification.
- CookieSpecBase - Class in org.apache.commons.httpclient.cookie
-
Cookie management functions shared by all specification.
- CookieSpecBase() - Constructor for class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Default constructor
- CookieVersionSupport - Interface in org.apache.commons.httpclient.cookie
-
Defines cookie specification specific capabilities
- createCnonce() - Static method in class org.apache.commons.httpclient.auth.DigestScheme
-
Creates a random cnonce value based on the current time.
- createInputStream() - Method in class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
-
- createInputStream() - Method in class org.apache.commons.httpclient.methods.multipart.FilePartSource
-
- createInputStream() - Method in interface org.apache.commons.httpclient.methods.multipart.PartSource
-
Gets a new InputStream for reading this source.
- createParams() - Method in class org.apache.commons.httpclient.params.DefaultHttpParamsFactory
-
- createSocket(ProtocolSocketFactory, String, int, InetAddress, int, int) - Static method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory
-
This method spawns a controller thread overseeing the process of socket
initialisation.
- createSocket(ControllerThreadSocketFactory.SocketTask, int) - Static method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory
-
- createSocket(String, int, InetAddress, int) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
-
- createSocket(String, int, InetAddress, int, HttpConnectionParams) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
-
Attempts to get a new socket connection to the given host within the given time limit.
- createSocket(String, int) - Method in class org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
-
- createSocket(String, int, InetAddress, int) - Method in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
-
Gets a new socket connection to the given host.
- createSocket(String, int, InetAddress, int, HttpConnectionParams) - Method in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
-
Gets a new socket connection to the given host.
- createSocket(String, int) - Method in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
-
Gets a new socket connection to the given host.
- createSocket(String, String, int, InetAddress, int, int) - Static method in class org.apache.commons.httpclient.protocol.ReflectionSocketFactory
-
This method attempts to execute Socket method available since Java 1.4
using reflection.
- createSocket(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.
- credMap - Variable in class org.apache.commons.httpclient.HttpState
-
Map of
credentials
by realm that this
HTTP state contains.
- CRLF - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Carriage return/linefeed
- CRLF_BYTES - Static variable in class org.apache.commons.httpclient.methods.multipart.Part
-
Carriage return/linefeed as a byte array
- generateRequestBody() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Generates the request body.
- generateRequestEntity() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
- generateRequestEntity() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Generates a request entity from the post parameters, if present.
- generateRequestLine(HttpConnection, String, String, String, String) - Static method in class org.apache.commons.httpclient.HttpMethodBase
-
Generates HTTP request line according to the specified attributes.
- getAboveHierPath() - Method in class org.apache.commons.httpclient.URI
-
Get the level above the this hierarchy level.
- getAllHeaders() - Method in class org.apache.commons.httpclient.HeaderGroup
-
Gets all of the headers contained within this group.
- getAllowedMethods() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
-
Get a list of allowed methods.
- getAllowUserInteraction() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getAsciiBytes(String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the specified string to byte array of ASCII characters.
- getAsciiBytes(String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the specified string to byte array of ASCII characters.
- getAsciiString(byte[], int, int) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the byte array of ASCII characters to a string.
- getAsciiString(byte[]) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the byte array of ASCII characters to a string.
- getAsciiString(byte[], int, int) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the byte array of ASCII characters to a string.
- getAsciiString(byte[]) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the byte array of ASCII characters to a string.
- getAttribHandler(String) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
- getAttribHandlerIterator() - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
- getAuthenticationRealm() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- getAuthority() - Method in class org.apache.commons.httpclient.URI
-
Get the authority.
- getAuthScheme(String) - Static method in class org.apache.commons.httpclient.auth.AuthPolicy
-
- getAuthScheme() - Method in class org.apache.commons.httpclient.auth.AuthState
-
- getBodyCheckTimeout() - Method in class org.apache.commons.httpclient.methods.HeadMethod
-
- getBooleanParameter(String, boolean) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- getBooleanParameter(String, boolean) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns a
Boolean
parameter value with the given name.
- getBoundary() - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
- getBytes(String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the specified string to a byte array of HTTP element characters.
- getBytes(String, String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the specified string to a byte array.
- getCause() - Method in exception org.apache.commons.httpclient.HttpException
-
Return the Throwable that caused this exception, or null
if the cause is unavailable, unknown, or not a Throwable.
- getCharSet() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the character encoding of this part.
- getCharSet() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Return the character encoding of this part.
- getCharset() - 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.
- getCommentURL() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described by the information at this URL.
- getCompatibilitySpec() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
- 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, long) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
- getConnection(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- getConnection(HostConfiguration, long) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- getConnection(HostConfiguration) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
- getConnection(HostConfiguration, long) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
- getConnectionManagerClass() - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
- getConnectionManagerTimeout() - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
- 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.
- getConnectionsInUse(HostConfiguration) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- getConnectionsInUse() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- getConnectionTimeout() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns the timeout until a connection is etablished.
- getConnectionWithTimeout(HostConfiguration, long) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
Gets an HttpConnection for a given host configuration.
- getConnectionWithTimeout(HostConfiguration, long) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Gets a connection or waits if one is not available.
- getConnectionWithTimeout(HostConfiguration, long) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
This method always returns the same connection object.
- getConnectMethod() - Method in class org.apache.commons.httpclient.ProxyClient.ConnectResponse
-
Gets the method that was used to execute the connect.
- getContent() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
-
- getContent() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
- getContent() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
-
- getContent() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getContent(Class[]) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getContentBytes(String, String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the specified string to a byte array of HTTP content charachetrs
This method is to be used when encoding content of HTTP request/response
If the specified charset is not supported, default HTTP content encoding
(ISO-8859-1) is applied
- getContentBytes(String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the specified string to a byte array of HTTP content characters
using default HTTP content encoding (ISO-8859-1) This method is to be
used when encoding content of HTTP request/response
- getContentCharSet(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the character set from the Content-Type header.
- getContentCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the default charset to be used for writing content body,
when no charset explicitly specified.
- getContentLength() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
-
- getContentLength() - Method in class org.apache.commons.httpclient.methods.FileRequestEntity
-
- getContentLength() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
Gets the content length.
- getContentLength() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
-
- getContentLength() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
-
Gets the request entity's length.
- getContentLength() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
-
- getContentString(byte[], int, int, String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the byte array of HTTP content characters to a string This
method is to be used when decoding content of HTTP request/response If
the specified charset is not supported, default HTTP content encoding
(ISO-8859-1) is applied
- getContentString(byte[], String) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the byte array of HTTP content characters to a string This
method is to be used when decoding content of HTTP request/response If
the specified charset is not supported, default HTTP content encoding
(ISO-8859-1) is applied
- getContentString(byte[], int, int) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the byte array of HTTP content characters to a string using
default HTTP content encoding (ISO-8859-1) This method is to be used when
decoding content of HTTP request/response
- getContentString(byte[]) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the byte array of HTTP content characters to a string using
default HTTP content encoding (ISO-8859-1) This method is to be used when
decoding content of HTTP request/response
- getContentType() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
-
- getContentType() - Method in class org.apache.commons.httpclient.methods.FileRequestEntity
-
- getContentType() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
- getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
-
- getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Returns the content type of this part.
- getContentType() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Returns the content type of this part.
- getContentType() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
-
Gets the entity's content type.
- getContentType() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
-
- getCookiePolicy() - Method in class org.apache.commons.httpclient.HttpState
-
- getCookiePolicy() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
- getCookies() - Method in class org.apache.commons.httpclient.HttpState
-
Returns an array of
cookies
that this HTTP
state currently contains.
- getCookies(String, int, String, boolean) - Method in class org.apache.commons.httpclient.HttpState
-
- getCookieSpec(String) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
- getCredentialCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
- getCredentials(AuthScheme, String, int, boolean) - Method in interface org.apache.commons.httpclient.auth.CredentialsProvider
-
- getCredentials(String, String) - Method in class org.apache.commons.httpclient.HttpState
-
- 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
-
- getDefaultDocumentCharset() - Static method in class org.apache.commons.httpclient.URI
-
Get the recommended default charset of the document.
- getDefaultDocumentCharsetByLocale() - Static method in class org.apache.commons.httpclient.URI
-
Get the default charset of the document by locale.
- getDefaultDocumentCharsetByPlatform() - Static method in class org.apache.commons.httpclient.URI
-
Get the default charset of the document by platform.
- getDefaultMaxConnectionsPerHost() - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Gets the default maximum number of connections allowed for a given
host config.
- getDefaultParams() - Static method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
Gets the default HttpParams to be used.
- getDefaultParams() - Method in class org.apache.commons.httpclient.params.DefaultHttpParamsFactory
-
- getDefaultParams() - Method in interface org.apache.commons.httpclient.params.HttpParamsFactory
-
Gets the default parameters.
- getDefaultPolicy() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
- getDefaultPort() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Returns the defaultPort.
- getDefaultProtocolCharset() - Static method in class org.apache.commons.httpclient.URI
-
Get the default charset of the protocol.
- getDefaults() - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- getDefaults() - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns the parent collection that this collection will defer to
for a default value if a particular parameter is not explicitly
set in the collection itself
- getDefaultSpec() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
- getDefaultUseCaches() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- getDoAuthentication() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns true if the HTTP method should automatically handle HTTP
authentication challenges (status code 401, etc.), false otherwise
- getDoAuthentication() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns true if the HTTP method should automatically handle HTTP
authentication challenges (status code 401, etc.), false otherwise
- getDoInput() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getDomain() - Method in class org.apache.commons.httpclient.Cookie
-
Returns domain attribute of the cookie.
- getDomain() - Method in class org.apache.commons.httpclient.NTCredentials
-
Retrieves the name to authenticate with.
- getDoOutput() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getDoubleParameter(String, double) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- getDoubleParameter(String, double) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns a
Double
parameter value with the given name.
- getEffectiveVersion() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the HTTP version used with this method (may be null
if undefined, that is, the method has not been executed)
- getElements() - Method in class org.apache.commons.httpclient.Header
-
- 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.cookie.CookieOrigin
-
- getHost() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns the host.
- getHost() - Method in class org.apache.commons.httpclient.HttpClient
-
- 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
-
- getHostAuthState() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- getHostConfiguration() - Method in class org.apache.commons.httpclient.HttpClient
-
- getHostConfiguration() - Method in interface org.apache.commons.httpclient.HttpMethod
-
- getHostConfiguration() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- getHostConfiguration() - Method in class org.apache.commons.httpclient.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
-
- getHttpConnectionManager() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the httpConnectionManager.
- getHttpElementCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the charset to be used for writing HTTP headers.
- getHttpVersion() - Method in class org.apache.commons.httpclient.StatusLine
-
- getID() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
- getID() - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
- getID() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
- getID() - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
- getIfModifiedSince() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getInputStream() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Gets an input stream for the HttpMethod response body.
- getInstanceFollowRedirects() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getIntParameter(String, int) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- getIntParameter(String, int) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns an
Integer
parameter value with the given name.
- getIterator() - Method in class org.apache.commons.httpclient.HeaderGroup
-
Returns an iterator over this group of headers.
- getLastHeader(String) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Gets the last header with the given name.
- getLastResponseInputStream() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the stream used to read the last response's body.
- getLength() - Method in class org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource
-
- getLength() - Method in class org.apache.commons.httpclient.methods.multipart.FilePartSource
-
Return the length of the file
- getLength() - Method in interface org.apache.commons.httpclient.methods.multipart.PartSource
-
Gets the number of bytes contained in this source.
- getLengthOfParts(Part[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the total sum of all parts and that of the last boundary
- getLengthOfParts(Part[], byte[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Gets the length of the multipart message including the given parts.
- getLinger() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns linger-on-close timeout.
- getLocalAddress() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Return the local address to be used when creating connections.
- getLocalAddress() - Method in class org.apache.commons.httpclient.HttpConnection
-
Return the local address used when creating the connection.
- getLocation() - Method in exception org.apache.commons.httpclient.InvalidRedirectLocationException
-
- getLongParameter(String, long) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- getLongParameter(String, long) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns a
Long
parameter value with the given name.
- getMajor() - Method in class org.apache.commons.httpclient.HttpVersion
-
Returns the major version number of the HTTP protocol.
- getMaxConnectionsPerHost() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- getMaxConnectionsPerHost(HostConfiguration) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Gets the maximum number of connections to be used for a particular host config.
- getMaxLength() - Method in exception org.apache.commons.httpclient.HttpContentTooLargeException
-
- getMaxTotalConnections() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- getMaxTotalConnections() - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Gets the maximum number of connections allowed.
- GetMethod - Class in org.apache.commons.httpclient.methods
-
Implements the HTTP GET method.
- GetMethod() - Constructor for class org.apache.commons.httpclient.methods.GetMethod
-
No-arg constructor.
- GetMethod(String) - Constructor for class org.apache.commons.httpclient.methods.GetMethod
-
Constructor specifying a URI.
- getMethodRetryHandler() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- getMinor() - Method in class org.apache.commons.httpclient.HttpVersion
-
Returns the minor version number of the HTTP protocol.
- getMultipartBoundary() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
-
Returns the MIME boundary string that is used to demarcate boundaries of
this part.
- getName() - Method in class org.apache.commons.httpclient.ConnectMethod
-
Provide the
name
of this method.
- getName() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Obtains the name of the HTTP method as used in the HTTP request line,
for example "GET" or "POST".
- getName() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Obtains the name of the HTTP method as used in the HTTP request line,
for example "GET" or "POST".
- getName() - Method in class org.apache.commons.httpclient.methods.DeleteMethod
-
Returns "DELETE".
- getName() - Method in class org.apache.commons.httpclient.methods.GetMethod
-
Returns "GET".
- getName() - Method in class org.apache.commons.httpclient.methods.HeadMethod
-
Returns "HEAD".
- getName() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the name of this part.
- getName() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Returns the name.
- getName() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Returns "POST".
- getName() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
-
Get the name.
- getName() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Returns "POST".
- getName() - Method in class org.apache.commons.httpclient.methods.PutMethod
-
Return "PUT".
- getName() - Method in class org.apache.commons.httpclient.methods.TraceMethod
-
Returns "TRACE".
- getName() - Method in class org.apache.commons.httpclient.NameValuePair
-
Return the name.
- getName() - Method in class org.apache.commons.httpclient.URI
-
Get the basename of the path.
- getName(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the basename of an URI.
- getOutputStream() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
- getParameter(String) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Returns authentication parameter with the given name, if available.
- getParameter(String) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Returns the authentication parameter with the given name, if available.
- getParameter(String) - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Returns authentication parameter with the given name, if available.
- getParameter(String) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Gets the parameter of the specified name.
- getParameter(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- getParameter(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns a parameter value with the given name.
- getParameterByName(String) - Method in class org.apache.commons.httpclient.HeaderElement
-
Returns parameter with the given name, if found.
- getParameters() - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Returns authentication parameters map.
- getParameters() - Method in class org.apache.commons.httpclient.HeaderElement
-
Get parameters, if any.
- getParameters() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Gets the parameters currently added to the PostMethod.
- getParams() - Method in class org.apache.commons.httpclient.HostConfiguration
-
- getParams() - Method in class org.apache.commons.httpclient.HttpClient
-
- getParams() - Method in class org.apache.commons.httpclient.HttpConnection
-
- 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
-
- getParams() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- 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
-
- getParams() - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
Returns
parameters
associated
with this connection manager.
- getPartBoundary() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Gets the part boundary to be used.
- getParts() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Returns all parts.
- getPassword() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the password.
- getPassword() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
Password property getter.
- getPath() - Method in class org.apache.commons.httpclient.ConnectMethod
-
- getPath() - Method in class org.apache.commons.httpclient.cookie.CookieOrigin
-
- getPath() - Method in class org.apache.commons.httpclient.Cookie
-
Returns the path attribute of the cookie
- getPath() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the path of the HTTP method.
- getPath() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the path of this HTTP method.
- getPath() - Method in class org.apache.commons.httpclient.URI
-
Get the path.
- getPath(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the path of an URI.
- getPathQuery() - Method in class org.apache.commons.httpclient.URI
-
Get the path and query.
- getPathQuery(String) - Static method in class org.apache.commons.httpclient.util.URIUtil
-
Get the path and query of an URI.
- getPermission() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getPort() - Method in class org.apache.commons.httpclient.auth.AuthScope
-
- getPort() - Method in class org.apache.commons.httpclient.cookie.CookieOrigin
-
- getPort() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns the port.
- getPort() - Method in class org.apache.commons.httpclient.HttpClient
-
- getPort() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the port of the host.
- getPort() - Method in class org.apache.commons.httpclient.HttpHost
-
Returns the port.
- getPort() - Method in class org.apache.commons.httpclient.HttpsURL
-
Get the port number.
- getPort() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the port number.
- getPort() - Method in class org.apache.commons.httpclient.URI
-
Get the port.
- getPorts() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Get the Port attribute.
- getProtocol() - Method in class org.apache.commons.httpclient.HostConfiguration
-
Returns the protocol.
- getProtocol() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the protocol used to establish the connection.
- getProtocol() - Method in class org.apache.commons.httpclient.HttpHost
-
Returns the protocol.
- getProtocol(String) - Static method in class org.apache.commons.httpclient.protocol.Protocol
-
Gets the protocol with the given ID.
- getProtocolCharset() - Method in class org.apache.commons.httpclient.URI
-
Get the protocol charset used by this current URI instance.
- getProxyAuthenticationRealm() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- getProxyAuthState() - Method in interface org.apache.commons.httpclient.HttpMethod
-
- getProxyAuthState() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- getProxyCredentials(String, String) - Method in class org.apache.commons.httpclient.HttpState
-
- getProxyCredentials(AuthScope) - Method in class org.apache.commons.httpclient.HttpState
-
- 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.HttpException
-
- getReason() - Method in exception org.apache.commons.httpclient.URI.DefaultCharsetChanged
-
Get the reason message.
- getReason() - Method in exception org.apache.commons.httpclient.URIException
-
- getReasonCode() - Method in exception org.apache.commons.httpclient.HttpException
-
- 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.
- getRecoverableExceptionCount() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- getRegisteredCookieSpecs() - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
Obtains the currently registered cookie policy names.
- getRequestCharSet() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the character encoding of the request from the Content-Type header.
- getRequestCharSet() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Returns the request's charset.
- getRequestContentLength() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Returns the length of the request body.
- getRequestContentLength() - Method in class org.apache.commons.httpclient.methods.MultipartPostMethod
-
Deprecated.
Return the length of the request body.
- getRequestEntity() - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
- getRequestHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Gets the request header with the given name.
- getRequestHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the specified request header.
- getRequestHeaderGroup() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- 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
-
- getRequestProperty(String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getResponseBody() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response body of the HTTP method, if any, as an array of bytes.
- getResponseBody() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as an array of bytes.
- getResponseBody(int) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as an array of bytes.
- getResponseBodyAsStream() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response body of the HTTP method, if any, as an InputStream.
- getResponseBodyAsStream() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as an
InputStream
.
- getResponseBodyAsString() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response body of the HTTP method, if any, as a
String
.
- getResponseBodyAsString() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as a
String
.
- getResponseBodyAsString(int) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response body of the HTTP method, if any, as a
String
.
- getResponseCharSet() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the character encoding of the response from the Content-Type header.
- getResponseCode() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the response code.
- getResponseContentLength() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Return the length (in bytes) of the response body, as specified in a
Content-Length header.
- getResponseFooter(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Return the specified response footer.
- getResponseFooter(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the response footer associated with the given name.
- getResponseFooters() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the response footers from the most recent execution of this request.
- getResponseFooters() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns an array of the response footers that the HTTP method currently has
in the order in which they were read.
- getResponseHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the specified response header.
- getResponseHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Gets the response header associated with the given name.
- getResponseHeaderGroup() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- 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
-
- getRetryCount() - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- getScheme() - Method in class org.apache.commons.httpclient.auth.AuthScope
-
- getScheme() - Method in class org.apache.commons.httpclient.HttpsURL
-
Get the scheme.
- getScheme() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the scheme.
- getScheme() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Returns the scheme.
- getScheme() - Method in class org.apache.commons.httpclient.URI
-
Get the scheme.
- getSchemeName() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Returns textual designation of the given authentication scheme.
- getSchemeName() - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Returns textual designation of the basic authentication scheme.
- getSchemeName() - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Returns textual designation of the digest authentication scheme.
- getSchemeName() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Returns textual designation of the NTLM authentication scheme.
- getSecure() - Method in class org.apache.commons.httpclient.Cookie
-
- getSendBufferSize() - Method in class org.apache.commons.httpclient.HttpConnection
-
Gets the socket's sendBufferSize.
- getSendBufferSize() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns a hint the size of the underlying buffers used by the platform for
outgoing network I/O.
- getSocket() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns the connection socket.
- getSocket() - Method in class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
-
Return the socket.
- getSocket() - Method in class org.apache.commons.httpclient.ProxyClient.ConnectResponse
-
Gets the socket connected and authenticated (if appropriate) to the configured
HTTP proxy, or null
if a connection could not be made.
- getSocketFactory() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Returns the socketFactory.
- getSoTimeout() - Method in class org.apache.commons.httpclient.HttpConnection
-
- getSoTimeout() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns the default socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data.
- getSoTimeout() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the default socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data.
- getSource() - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Returns the source of the file part.
- getSpecByPolicy(int) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
- getSpecByVersion(int) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
- getState() - Method in class org.apache.commons.httpclient.HttpClient
-
Returns
HTTP state
associated with the HttpClient.
- getState() - Method in class org.apache.commons.httpclient.ProxyClient
-
Returns
HTTP state
associated with the ProxyClient.
- getStatusCode() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the status code associated with the latest response.
- getStatusCode() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the response status code.
- getStatusCode() - Method in class org.apache.commons.httpclient.StatusLine
-
- getStatusLine() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the Status-Line from the most recent response for this method,
or null
if the method has not been executed.
- getStatusLine() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Provides access to the response status line.
- getStatusText() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the status text (or "reason phrase") associated with the latest
response.
- getStatusText() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the status text (or "reason phrase") associated with the latest
response.
- getStatusText(int) - Static method in class org.apache.commons.httpclient.HttpStatus
-
Get the reason phrase for a particular status code.
- getString(byte[], int, int) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the byte array of HTTP element characters to a string This
method is to be used when decoding content of HTTP elements (such as
response headers)
- getString(byte[]) - Static method in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Converts the byte array of HTTP element characters to a string This
method is to be used when decoding content of HTTP elements (such as
response headers)
- getString(byte[], int, int, String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the byte array of HTTP content characters to a string.
- getString(byte[], String) - Static method in class org.apache.commons.httpclient.util.EncodingUtil
-
Converts the byte array of HTTP content characters to a string.
- getTcpNoDelay() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Tests if Nagle's algorithm is to be used.
- getTransferEncoding() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Return the transfer encoding of this part.
- getTransferEncoding() - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Returns the transfer encoding of this part.
- getURI() - Method in class org.apache.commons.httpclient.ConnectMethod
-
- getURI() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns the URI for this method.
- getURI() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns the URI of the HTTP method
- getURI() - Method in class org.apache.commons.httpclient.URI
-
It can be gotten the URI character sequence.
- getUriCharset() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Returns the charset to be used for parsing URIs.
- getURIReference() - Method in class org.apache.commons.httpclient.URI
-
Get the original URI reference string.
- getURL() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Return the URL
- getUseCaches() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not yet implemented.
- getUseExpectHeader() - Method in class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
- getUser() - Method in class org.apache.commons.httpclient.HttpURL
-
Get the user.
- getUserinfo() - Method in class org.apache.commons.httpclient.URI
-
Get the userinfo.
- getUserName() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
User name property getter.
- getValidDateFormats() - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Returns the
Collection
of date patterns used for parsing.
- getValidDateFormats() - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
- getValidDateFormats() - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
- getValue() - Method in class org.apache.commons.httpclient.NameValuePair
-
Return the current value.
- getValues() - Method in class org.apache.commons.httpclient.Header
-
- getVersion() - Method in interface org.apache.commons.httpclient.cookie.CookieVersionSupport
-
- getVersion() - Method in class org.apache.commons.httpclient.Cookie
-
Returns the version of the cookie specification to which this
cookie conforms.
- getVersion() - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
- getVersion() - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
- getVersionHeader() - Method in interface org.apache.commons.httpclient.cookie.CookieVersionSupport
-
- getVersionHeader() - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
- getVirtualHost() - Method in class org.apache.commons.httpclient.HostConfiguration
-
- getVirtualHost() - Method in class org.apache.commons.httpclient.HttpConnection
-
- 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.
- handleCloseIdleConnections(HttpConnectionManager) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
- hasAuthority() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI has authority.
- hasBeenUsed() - Method in interface org.apache.commons.httpclient.HttpMethod
-
- hasBeenUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- hasFragment() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI has fragment.
- hash - Variable in class org.apache.commons.httpclient.URI
-
Cache the hash code for this URI.
- HASH_OFFSET - Static variable in class org.apache.commons.httpclient.util.LangUtils
-
- HASH_SEED - Static variable in class org.apache.commons.httpclient.util.LangUtils
-
- hashCode() - Method in class org.apache.commons.httpclient.auth.AuthSchemeBase
-
Deprecated.
- hashCode() - Method in class org.apache.commons.httpclient.auth.AuthScope
-
- hashCode() - Method in class org.apache.commons.httpclient.Cookie
-
- 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.MultipartPostMethod
-
Deprecated.
Returns true
- hasRequestContent() - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Returns true if there is a request body to be sent.
- hasUserinfo() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI has userinfo.
- HEAD_BODY_CHECK_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets period of time in milliseconds to wait for a content body sent in response to
HEAD method
from a
non-compliant server.
- Header - Class in org.apache.commons.httpclient
-
An HTTP header.
- Header() - Constructor for class org.apache.commons.httpclient.Header
-
Default constructor.
- Header(String, String) - Constructor for class org.apache.commons.httpclient.Header
-
Constructor with name and value
- Header(String, String, boolean) - Constructor for class org.apache.commons.httpclient.Header
-
Constructor with name and value
- HeaderElement - Class in org.apache.commons.httpclient
-
One element of an HTTP header's value.
- HeaderElement() - Constructor for class org.apache.commons.httpclient.HeaderElement
-
Default constructor.
- HeaderElement(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
-
- HostParams() - Constructor for class org.apache.commons.httpclient.params.HostParams
-
- HostParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.HostParams
-
Creates a new collection of parameters with the given parent.
- hostport - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for hostport.
- HTTP_0_9 - Static variable in class org.apache.commons.httpclient.HttpVersion
-
HTTP protocol version 0.9
- HTTP_1_0 - Static variable in class org.apache.commons.httpclient.HttpVersion
-
HTTP protocol version 1.0
- HTTP_1_1 - Static variable in class org.apache.commons.httpclient.HttpVersion
-
HTTP protocol version 1.1
- HTTP_CONTENT_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the charset to be used for encoding content body.
- HTTP_ELEMENT_CHARSET - Static variable in class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
Character set used to encode HTTP protocol elements
- HTTP_ELEMENT_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the charset to be used for encoding HTTP protocol elements.
- HTTP_URI_CHARSET - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the charset to be used for parsing URIs.
- HttpAuthenticator - Class in org.apache.commons.httpclient.auth
-
- HttpAuthenticator() - Constructor for class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.
- HttpAuthRealm - Class in org.apache.commons.httpclient.auth
-
- HttpAuthRealm(String, String) - Constructor for class org.apache.commons.httpclient.auth.HttpAuthRealm
-
Deprecated.
Creates a new HttpAuthRealm for the given domain and
realm.
- HttpClient - Class in org.apache.commons.httpclient
-
- HttpClient() - Constructor for class org.apache.commons.httpclient.HttpClient
-
- HttpClient(HttpClientParams) - Constructor for class org.apache.commons.httpclient.HttpClient
-
- HttpClient(HttpClientParams, HttpConnectionManager) - Constructor for class org.apache.commons.httpclient.HttpClient
-
- HttpClient(HttpConnectionManager) - Constructor for class org.apache.commons.httpclient.HttpClient
-
- 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
-
- HttpClientParams() - Constructor for class org.apache.commons.httpclient.params.HttpClientParams
-
- 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
-
- HttpConnection(String, int) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host and port.
- HttpConnection(String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host and port
using the given protocol.
- HttpConnection(String, String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host with the virtual
alias and port using given protocol.
- HttpConnection(String, int, String, int) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host and port via the
given proxy host and port using the default protocol.
- HttpConnection(HostConfiguration) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
Creates a new HTTP connection for the given host configuration.
- HttpConnection(String, int, String, String, int, Protocol) - Constructor for class org.apache.commons.httpclient.HttpConnection
-
- 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
-
- 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
-
- HttpConstants - Class in org.apache.commons.httpclient
-
- HttpConstants() - Constructor for class org.apache.commons.httpclient.HttpConstants
-
Deprecated.
- HttpContentTooLargeException - Exception in org.apache.commons.httpclient
-
Signals that the response content was larger than anticipated.
- HttpContentTooLargeException(String, int) - Constructor for exception org.apache.commons.httpclient.HttpContentTooLargeException
-
- 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
-
- HttpMethodParams(HttpParams) - Constructor for class org.apache.commons.httpclient.params.HttpMethodParams
-
Creates a new collection of parameters with the given parent.
- HttpMethodRetryHandler - Interface in org.apache.commons.httpclient
-
A handler for determining if an HttpMethod should be retried after a
recoverable exception during execution.
- HttpParams - Interface in org.apache.commons.httpclient.params
-
This interface represents a collection of HTTP protocol parameters.
- HttpParamsFactory - Interface in org.apache.commons.httpclient.params
-
A factory for getting the default set of parameters to use when creating an instance of
HttpParams
.
- HttpParser - Class in org.apache.commons.httpclient
-
A utility class for parsing http header values according to
RFC-2616 Section 4 and 19.3.
- HttpRecoverableException - Exception in org.apache.commons.httpclient
-
- HttpRecoverableException() - Constructor for exception org.apache.commons.httpclient.HttpRecoverableException
-
Deprecated.
Creates a new HttpRecoverableException with a null detail message.
- HttpRecoverableException(String) - Constructor for exception org.apache.commons.httpclient.HttpRecoverableException
-
Deprecated.
Creates a new HttpRecoverableException with the specified detail message.
- HttpState - Class in org.apache.commons.httpclient
-
A container for HTTP attributes that may persist from request
to request, such as
cookies
and 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.
- IdleConnectionHandler - Class in org.apache.commons.httpclient.util
-
A helper class for connection managers to track idle connections.
- IdleConnectionHandler() - Constructor for class org.apache.commons.httpclient.util.IdleConnectionHandler
-
- IdleConnectionTimeoutThread - Class in org.apache.commons.httpclient.util
-
A utility class for periodically closing idle connections.
- IdleConnectionTimeoutThread() - Constructor for class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
- IGNORE_COOKIES - Static variable in class org.apache.commons.httpclient.cookie.CookiePolicy
-
The policy that ignores cookies.
- IgnoreCookiesSpec - Class in org.apache.commons.httpclient.cookie
-
A cookie spec that does nothing.
- IgnoreCookiesSpec() - Constructor for class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
- indexFirstOf(String, String) - Method in class org.apache.commons.httpclient.URI
-
Get the earlier index that to be searched for the first occurrance in
one of any of the given string.
- indexFirstOf(String, String, int) - Method in class org.apache.commons.httpclient.URI
-
Get the earlier index that to be searched for the first occurrance in
one of any of the given string.
- indexFirstOf(char[], char) - Method in class org.apache.commons.httpclient.URI
-
Get the earlier index that to be searched for the first occurrance in
one of any of the given array.
- indexFirstOf(char[], char, int) - Method in class org.apache.commons.httpclient.URI
-
Get the earlier index that to be searched for the first occurrance in
one of any of the given array.
- initCause(Throwable, Throwable) - Static method in class org.apache.commons.httpclient.util.ExceptionUtil
-
If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
- 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
-
- InputStreamRequestEntity(InputStream, String) - Constructor for class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
- 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.
- InvalidRedirectLocationException - Exception in org.apache.commons.httpclient
-
Signals violation of HTTP specification caused by an invalid redirect
location
- InvalidRedirectLocationException(String, String) - Constructor for exception org.apache.commons.httpclient.InvalidRedirectLocationException
-
Creates a new InvalidRedirectLocationException with the specified detail message.
- InvalidRedirectLocationException(String, String, Throwable) - Constructor for exception org.apache.commons.httpclient.InvalidRedirectLocationException
-
Creates a new RedirectException with the specified detail message and cause.
- IPv4address - Static variable in class org.apache.commons.httpclient.URI
-
Bitset that combines digit and dot fo IPv$address.
- IPv6address - Static variable in class org.apache.commons.httpclient.URI
-
RFC 2373.
- IPv6reference - Static variable in class org.apache.commons.httpclient.URI
-
RFC 2732, 2373.
- isAborted() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Tests whether the execution of this method has been aborted
- isAbsoluteURI() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI is absolute.
- isAbsPath() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the relativeURI or hier_part of this URI is abs_path.
- isAllowed(String) - Method in class org.apache.commons.httpclient.methods.OptionsMethod
-
Is the specified method allowed ?
- isAlwaysUseQuotes() - Method in class org.apache.commons.httpclient.util.ParameterFormatter
-
Determines whether all parameter values must be enclosed in quotation
marks, even if they do not contain any special characters
- isAuthAttempted() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Tests whether authenication challenge has been responsed to
- isAuthenticationPreemptive() - Method in class org.apache.commons.httpclient.HttpState
-
- isAuthenticationPreemptive() - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
Returns true if authentication should be attempted preemptively,
false otherwise.
- isAuthRequested() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Tests whether authenication challenge has been received
- isAutogenerated() - Method in class org.apache.commons.httpclient.Header
-
Returns the value of the auto-generated header flag.
- isComplete() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Authentication process may involve a series of challenge-response exchanges.
- isComplete() - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Tests if the Basic authentication process has been completed.
- isComplete() - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Tests if the Digest authentication process has been completed.
- isComplete() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Tests if the NTLM authentication process has been completed.
- isConnectionBased() - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Tests if the authentication scheme is provides authorization on a per
connection basis instead of usual per request basis
- isConnectionBased() - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Returns false.
- isConnectionBased() - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Returns false.
- isConnectionBased() - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Returns true.
- isConnectionCloseForced() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Tests if the connection should be force-closed when no longer needed.
- isConnectionStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- isConnectionStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
- isDomainAttributeSpecified() - Method in class org.apache.commons.httpclient.Cookie
-
Returns true if cookie's domain was set via a domain
attribute in the Set-Cookie header.
- isExpired() - Method in class org.apache.commons.httpclient.Cookie
-
Returns true if this cookie has expired.
- isExpired(Date) - Method in class org.apache.commons.httpclient.Cookie
-
Returns true if this cookie has expired according to the time passed in.
- isHierPart() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the absoluteURI of this URI is hier_part.
- isHostname() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the host part of this URI is hostname.
- isHostSet() - Method in class org.apache.commons.httpclient.HostConfiguration
-
- isHttp11() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- isIPv4address() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the host part of this URI is IPv4address.
- isIPv6reference() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the host part of this URI is IPv6reference.
- isLocked() - Method in class org.apache.commons.httpclient.HttpConnection
-
Tests if the connection is locked.
- isNetPath() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the relativeURI or heir_part of this URI is net_path.
- isOpaquePart() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the absoluteURI of this URI is opaque_part.
- isOpen - Variable in class org.apache.commons.httpclient.HttpConnection
-
Whether or not the connection is connected.
- isOpen() - Method in class org.apache.commons.httpclient.HttpConnection
-
Tests if the connection is open.
- isParameterFalse(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- isParameterFalse(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns true if the parameter is either not set or is false,
false otherwise.
- isParameterSet(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- isParameterSet(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns true if the parameter is set at any level, false otherwise.
- isParameterSetLocally(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- isParameterSetLocally(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns true if the parameter is set locally, false otherwise.
- isParameterTrue(String) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- isParameterTrue(String) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Returns true if the parameter is set and is true, false
otherwise.
- isPathAttributeSpecified() - Method in class org.apache.commons.httpclient.Cookie
-
Returns true if cookie's path was set via a path attribute
in the Set-Cookie header.
- isPersistent() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Returns false if the cookie should be discarded at the end
of the "session"; true otherwise.
- isPersistent() - Method in class org.apache.commons.httpclient.Cookie
-
Returns false if the cookie should be discarded at the end
of the "session"; true otherwise.
- isPortAttributeBlank() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
- isPortAttributeSpecified() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
- isPreemptive() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Tests if preemptive authentication is used.
- isProxied() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns true if the connection is established via a proxy,
false otherwise.
- isProxySet() - Method in class org.apache.commons.httpclient.HostConfiguration
-
- isRegName() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the authority component of this URI is reg_name.
- isRelativeURI() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not this URI is relative.
- isRelPath() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the relativeURI of this URI is rel_path.
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.ByteArrayRequestEntity
-
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.FileRequestEntity
-
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.InputStreamRequestEntity
-
Tests if this method is repeatable.
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
-
Returns true
if all parts are repeatable, false
otherwise.
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Tests if this part can be sent more than once.
- isRepeatable() - Method in interface org.apache.commons.httpclient.methods.RequestEntity
-
- isRepeatable() - Method in class org.apache.commons.httpclient.methods.StringRequestEntity
-
- isRequestSent() - Method in interface org.apache.commons.httpclient.HttpMethod
-
Returns true if the HTTP has been transmitted to the target
server in its entirety, false otherwise.
- isRequestSent() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Returns true if the HTTP has been transmitted to the target
server in its entirety, false otherwise.
- isRequestSentRetryEnabled() - Method in class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler
-
- isRequestSentRetryEnabled() - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- isResponseAvailable() - Method in class org.apache.commons.httpclient.HttpConnection
-
Tests if input data avaialble.
- isResponseAvailable(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Tests if input data becomes available within the given period time in milliseconds.
- isSecure() - Method in class org.apache.commons.httpclient.cookie.CookieOrigin
-
- isSecure() - Method in class org.apache.commons.httpclient.HttpConnection
-
Returns true if the connection is established over
a secure protocol.
- isSecure() - Method in class org.apache.commons.httpclient.protocol.Protocol
-
Returns true if this protocol is secure
- isServer() - Method in class org.apache.commons.httpclient.URI
-
Tell whether or not the authority component of this URI is server.
- isSocketTimeoutException(InterruptedIOException) - Static method in class org.apache.commons.httpclient.util.ExceptionUtil
-
If SocketTimeoutExceptionClass is defined, returns true only if the
exception is an instance of SocketTimeoutExceptionClass.
- isStale() - Method in class org.apache.commons.httpclient.HttpConnection
-
Determines whether this connection is "stale", which is to say that either
it is no longer open, or an attempt to read the connection would fail.
- isStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.HttpConnection
-
- isStaleCheckingEnabled() - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Tests whether stale connection check is to be used.
- isStrictMode() - Method in class org.apache.commons.httpclient.HttpClient
-
- isStrictMode() - Method in interface org.apache.commons.httpclient.HttpMethod
-
- isStrictMode() - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- isTransparent() - Method in class org.apache.commons.httpclient.HttpConnection
-
Indicates if the connection is completely transparent from end to end.
- isVersionAttributeSpecified() - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
- 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(Cookie, String) - Method in interface org.apache.commons.httpclient.cookie.CookieAttributeHandler
-
Parse the given cookie attribute value and update the corresponding
Cookie
property.
- 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(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, int, String, boolean, Header) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Parses the Set-Cookie2 value into an array of Cookies.
- parse(String, int, String, boolean, String) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
- parse(String) - Static method in class org.apache.commons.httpclient.HeaderElement
-
- 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
-
- parse(char[], char) - Method in class org.apache.commons.httpclient.util.ParameterParser
-
Extracts a list of
NameValuePair
s from the given array of
characters.
- parse(char[], int, int, char) - Method in class org.apache.commons.httpclient.util.ParameterParser
-
Extracts a list of
NameValuePair
s from the given array of
characters.
- parseAttribute(NameValuePair, Cookie) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Parse the cookie attribute and update the corresponsing Cookie
properties.
- parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
Parse the cookie attribute and update the corresponsing
Cookie
properties.
- parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
Does nothing.
- parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.NetscapeDraftSpec
-
Parse the cookie attribute and update the corresponsing
Cookie
properties as defined by the Netscape draft specification
- parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Parse RFC 2109 specific cookie attribute and update the corresponsing
Cookie
properties.
- parseAttribute(NameValuePair, Cookie) - Method in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Parse RFC 2965 specific cookie attribute and update the corresponsing
Cookie
properties.
- parseAuthority(String, boolean) - Method in class org.apache.commons.httpclient.URI
-
Parse the authority component.
- parseChallenges(Header[]) - Static method in class org.apache.commons.httpclient.auth.AuthChallengeParser
-
Extracts a map of challenges ordered by authentication scheme name
- parseDate(String) - Static method in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.
Parses a date value.
- parseDate(String, Collection) - Static method in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.
Parses the date value using the given date formats.
- 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.
- parseHeaders(InputStream) - Static method in class org.apache.commons.httpclient.HttpParser
-
- 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.cookie.Cookie2
-
- 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.DateParser
-
Deprecated.
Date format pattern used to parse HTTP date headers in ANSI C
asctime()
format.
- PATTERN_ASCTIME - Static variable in class org.apache.commons.httpclient.util.DateUtil
-
Date format pattern used to parse HTTP date headers in ANSI C
asctime()
format.
- PATTERN_RFC1036 - Static variable in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.
Date format pattern used to parse HTTP date headers in RFC 1036 format.
- PATTERN_RFC1036 - Static variable in class org.apache.commons.httpclient.util.DateUtil
-
Date format pattern used to parse HTTP date headers in RFC 1036 format.
- PATTERN_RFC1123 - Static variable in class org.apache.commons.httpclient.util.DateParser
-
Deprecated.
Date format pattern used to parse HTTP date headers in RFC 1123 format.
- PATTERN_RFC1123 - Static variable in class org.apache.commons.httpclient.util.DateUtil
-
Date format pattern used to parse HTTP date headers in RFC 1123 format.
- pchar - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for pchar.
- percent - Static variable in class org.apache.commons.httpclient.URI
-
The percent "%" character always has the reserved purpose of being the
escape indicator, it must be escaped as "%25" in order to be used as
data within a URI.
- PORT - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
-
- 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
-
- PREEMPTIVE_AUTHENTICATION - Static variable in class org.apache.commons.httpclient.params.HttpClientParams
-
Defines whether authentication should be attempted preemptively.
- PREEMPTIVE_DEFAULT - Static variable in class org.apache.commons.httpclient.HttpState
-
- PREEMPTIVE_PROPERTY - Static variable in class org.apache.commons.httpclient.HttpState
-
- prevalidate(String, BitSet) - Method in class org.apache.commons.httpclient.URI
-
Pre-validate the unescaped URI string within a specific component.
- print(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
- print(String, String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes the specified String (as bytes) to the output stream.
- printLine(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
- printLine(String, String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes the specified String (as bytes), followed by
"\r\n".getBytes() to the output stream.
- printLine() - Method in class org.apache.commons.httpclient.HttpConnection
-
Writes "\r\n".getBytes() to the output stream.
- printStackTrace() - Method in exception org.apache.commons.httpclient.HttpException
-
Print this HttpException and its stack trace to the standard error stream.
- printStackTrace(PrintStream) - Method in exception org.apache.commons.httpclient.HttpException
-
Print this HttpException and its stack trace to the specified print stream.
- printStackTrace(PrintWriter) - Method in exception org.apache.commons.httpclient.HttpException
-
Print this HttpException and its stack trace to the specified print writer.
- processChallenge(AuthState, Map) - Method in class org.apache.commons.httpclient.auth.AuthChallengeProcessor
-
Processes the given collection of challenges and updates the
state
of the authentication process.
- processChallenge(String) - Method in interface org.apache.commons.httpclient.auth.AuthScheme
-
Processes the given challenge token.
- processChallenge(String) - Method in class org.apache.commons.httpclient.auth.BasicScheme
-
Processes the Basic challenge.
- processChallenge(String) - Method in class org.apache.commons.httpclient.auth.DigestScheme
-
Processes the Digest challenge.
- processChallenge(String) - Method in class org.apache.commons.httpclient.auth.NTLMScheme
-
Processes the NTLM challenge.
- processChallenge(String) - Method in class org.apache.commons.httpclient.auth.RFC2617Scheme
-
Processes the given challenge token.
- processCookieHeaders(CookieSpec, Header[], HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
This method processes the specified cookie headers.
- processResponseBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- processResponseHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- 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
-
- Protocol - Class in org.apache.commons.httpclient.protocol
-
A class to encapsulate the specifics of a protocol.
- Protocol(String, ProtocolSocketFactory, int) - Constructor for class org.apache.commons.httpclient.protocol.Protocol
-
Constructs a new Protocol.
- Protocol(String, SecureProtocolSocketFactory, int) - Constructor for class org.apache.commons.httpclient.protocol.Protocol
-
- 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
-
- 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.
- PROXY_AUTH - Static variable in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.
The proxy authenticate challange header.
- PROXY_AUTH_RESP - Static variable in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
Deprecated.
The proxy authenticate response header.
- ProxyClient - Class in org.apache.commons.httpclient
-
A client that provides
sockets
for communicating through HTTP proxies
via the HTTP CONNECT method.
- ProxyClient() - Constructor for class org.apache.commons.httpclient.ProxyClient
-
- ProxyClient(HttpClientParams) - Constructor for class org.apache.commons.httpclient.ProxyClient
-
Creates an instance of ProxyClient using the given
parameter set
.
- ProxyClient.ConnectResponse - Class in org.apache.commons.httpclient
-
Contains the method used to execute the connect along with the created socket.
- proxyCred - Variable in class org.apache.commons.httpclient.HttpState
-
- 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.
- SC_ACCEPTED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
202 Accepted (HTTP/1.0 - RFC 1945)
- SC_BAD_GATEWAY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
502 Bad Gateway (HTTP/1.0 - RFC 1945)
- SC_BAD_REQUEST - Static variable in class org.apache.commons.httpclient.HttpStatus
-
400 Bad Request (HTTP/1.1 - RFC 2616)
- SC_CONFLICT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
409 Conflict (HTTP/1.1 - RFC 2616)
- SC_CONTINUE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
100 Continue (HTTP/1.1 - RFC 2616)
- SC_CREATED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
201 Created (HTTP/1.0 - RFC 1945)
- SC_EXPECTATION_FAILED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
417 Expectation Failed (HTTP/1.1 - RFC 2616)
- SC_FAILED_DEPENDENCY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
424 Failed Dependency (WebDAV - RFC 2518)
- SC_FORBIDDEN - Static variable in class org.apache.commons.httpclient.HttpStatus
-
403 Forbidden (HTTP/1.0 - RFC 1945)
- SC_GATEWAY_TIMEOUT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
504 Gateway Timeout (HTTP/1.1 - RFC 2616)
- SC_GONE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
410 Gone (HTTP/1.1 - RFC 2616)
- SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616)
- SC_INSUFFICIENT_SPACE_ON_RESOURCE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
Static constant for a 419 error.
- SC_INSUFFICIENT_STORAGE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
507 Insufficient Storage (WebDAV - RFC 2518)
- SC_INTERNAL_SERVER_ERROR - Static variable in class org.apache.commons.httpclient.HttpStatus
-
500 Server Error (HTTP/1.0 - RFC 1945)
- SC_LENGTH_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
411 Length Required (HTTP/1.1 - RFC 2616)
- SC_LOCKED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
423 Locked (WebDAV - RFC 2518)
- SC_METHOD_FAILURE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
Static constant for a 420 error.
- SC_METHOD_NOT_ALLOWED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
405 Method Not Allowed (HTTP/1.1 - RFC 2616)
- SC_MOVED_PERMANENTLY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
301 Moved Permanently (HTTP/1.0 - RFC 1945)
- SC_MOVED_TEMPORARILY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945)
- SC_MULTI_STATUS - Static variable in class org.apache.commons.httpclient.HttpStatus
-
207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update
OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)
- SC_MULTIPLE_CHOICES - Static variable in class org.apache.commons.httpclient.HttpStatus
-
300 Mutliple Choices (HTTP/1.1 - RFC 2616)
- SC_NO_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
204 No Content (HTTP/1.0 - RFC 1945)
- SC_NON_AUTHORITATIVE_INFORMATION - Static variable in class org.apache.commons.httpclient.HttpStatus
-
203 Non Authoritative Information (HTTP/1.1 - RFC 2616)
- SC_NOT_ACCEPTABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
406 Not Acceptable (HTTP/1.1 - RFC 2616)
- SC_NOT_FOUND - Static variable in class org.apache.commons.httpclient.HttpStatus
-
404 Not Found (HTTP/1.0 - RFC 1945)
- SC_NOT_IMPLEMENTED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
501 Not Implemented (HTTP/1.0 - RFC 1945)
- SC_NOT_MODIFIED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
304 Not Modified (HTTP/1.0 - RFC 1945)
- SC_OK - Static variable in class org.apache.commons.httpclient.HttpStatus
-
200 OK (HTTP/1.0 - RFC 1945)
- SC_PARTIAL_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
206 Partial Content (HTTP/1.1 - RFC 2616)
- SC_PAYMENT_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
402 Payment Required (HTTP/1.1 - RFC 2616)
- SC_PRECONDITION_FAILED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
412 Precondition Failed (HTTP/1.1 - RFC 2616)
- SC_PROCESSING - Static variable in class org.apache.commons.httpclient.HttpStatus
-
102 Processing (WebDAV - RFC 2518)
- SC_PROXY_AUTHENTICATION_REQUIRED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
407 Proxy Authentication Required (HTTP/1.1 - RFC 2616)
- SC_REQUEST_TIMEOUT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
408 Request Timeout (HTTP/1.1 - RFC 2616)
- SC_REQUEST_TOO_LONG - Static variable in class org.apache.commons.httpclient.HttpStatus
-
413 Request Entity Too Large (HTTP/1.1 - RFC 2616)
- SC_REQUEST_URI_TOO_LONG - Static variable in class org.apache.commons.httpclient.HttpStatus
-
414 Request-URI Too Long (HTTP/1.1 - RFC 2616)
- SC_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616)
- SC_RESET_CONTENT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
205 Reset Content (HTTP/1.1 - RFC 2616)
- SC_SEE_OTHER - Static variable in class org.apache.commons.httpclient.HttpStatus
-
303 See Other (HTTP/1.1 - RFC 2616)
- SC_SERVICE_UNAVAILABLE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
503 Service Unavailable (HTTP/1.0 - RFC 1945)
- SC_SWITCHING_PROTOCOLS - Static variable in class org.apache.commons.httpclient.HttpStatus
-
101 Switching Protocols (HTTP/1.1 - RFC 2616)
- SC_TEMPORARY_REDIRECT - Static variable in class org.apache.commons.httpclient.HttpStatus
-
307 Temporary Redirect (HTTP/1.1 - RFC 2616)
- SC_UNAUTHORIZED - Static variable in class org.apache.commons.httpclient.HttpStatus
-
401 Unauthorized (HTTP/1.0 - RFC 1945)
- SC_UNPROCESSABLE_ENTITY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
422 Unprocessable Entity (WebDAV - RFC 2518)
- SC_UNSUPPORTED_MEDIA_TYPE - Static variable in class org.apache.commons.httpclient.HttpStatus
-
415 Unsupported Media Type (HTTP/1.1 - RFC 2616)
- SC_USE_PROXY - Static variable in class org.apache.commons.httpclient.HttpStatus
-
305 Use Proxy (HTTP/1.1 - RFC 2616)
- scheme - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for scheme.
- SECURE - Static variable in class org.apache.commons.httpclient.cookie.Cookie2
-
- SecureProtocolSocketFactory - Interface in org.apache.commons.httpclient.protocol
-
A ProtocolSocketFactory that is secure.
- segment - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for segment.
- selectAuthScheme(Map) - Method in class org.apache.commons.httpclient.auth.AuthChallengeProcessor
-
Determines the preferred
authentication scheme
that can be used
to respond to the given collection of challenges.
- selectAuthScheme(Header[]) - Static method in class org.apache.commons.httpclient.auth.HttpAuthenticator
-
- send(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write all the data to the output stream.
- sendContentTypeHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the content type header to the specified output stream
- sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Write the data in "source" to the specified stream.
- sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the data to the specified output stream
- sendData(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.StringPart
-
Writes the data to the given OutputStream.
- sendDispositionHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.FilePart
-
Write the disposition header to the output stream
- sendDispositionHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the content disposition header to the specified output stream
- sendEnd(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the end data to the output stream.
- sendEndOfHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the end of the header to the output stream
- sendParts(OutputStream, Part[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write all parts and the last boundary to the specified output stream.
- sendParts(OutputStream, Part[], byte[]) - Static method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write all parts and the last boundary to the specified output stream.
- sendStart(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the start to the specified output stream
- sendTransferEncodingHeader(OutputStream) - Method in class org.apache.commons.httpclient.methods.multipart.Part
-
Write the content transfer encoding header to the specified
output stream
- server - Static variable in class org.apache.commons.httpclient.URI
-
Bitset for server.
- SET_COOKIE2_KEY - Static variable in class org.apache.commons.httpclient.cookie.RFC2965Spec
-
Cookie Response Header name for cookies processed
by this spec.
- SET_COOKIE_KEY - Static variable in class org.apache.commons.httpclient.cookie.RFC2109Spec
-
Cookie Response Header name for cookies processed
by this spec.
- setAllowUserInteraction(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setAlwaysUseQuotes(boolean) - Method in class org.apache.commons.httpclient.util.ParameterFormatter
-
Defines whether all parameter values must be enclosed in quotation
marks, even if they do not contain any special characters
- setAuthAttempted(boolean) - Method in class org.apache.commons.httpclient.auth.AuthState
-
Sets authentication attempt status
- setAuthenticationPreemptive(boolean) - Method in class org.apache.commons.httpclient.HttpState
-
- 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
-
- setBodyCheckTimeout(int) - Method in class org.apache.commons.httpclient.methods.HeadMethod
-
- setBooleanParameter(String, boolean) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- setBooleanParameter(String, boolean) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns a
Boolean
to the parameter with the given name
- setCharSet(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Sets the character encoding.
- setCharSet(String) - Method in class org.apache.commons.httpclient.methods.multipart.StringPart
-
- setComment(String) - Method in class org.apache.commons.httpclient.Cookie
-
If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described using this comment.
- setCommentURL(String) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described by the information at this URL.
- setConnectionCloseForced(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets whether or not the connection should be force-closed when no longer
needed.
- setConnectionManagerClass(Class) - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
- setConnectionManagerTimeout(long) - Method in class org.apache.commons.httpclient.params.HttpClientParams
-
- setConnectionStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- setConnectionStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
- setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.HttpClient
-
- setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
- setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets the timeout until a connection is etablished.
- setConnectionTimeout(long) - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Sets the timeout value to use when testing for idle connections.
- setContentCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the default charset to be used for writing content body,
when no charset explicitly specified.
- setContentChunked(boolean) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Sets whether or not the content should be chunked.
- setContentType(String) - Method in class org.apache.commons.httpclient.methods.multipart.PartBase
-
Sets the content type.
- setCookiePolicy(int) - Method in class org.apache.commons.httpclient.HttpState
-
- setCookiePolicy(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
- setCredentialCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the charset to be used for writing HTTP headers.
- setCredentials(String, String, Credentials) - Method in class org.apache.commons.httpclient.HttpState
-
- setCredentials(AuthScope, Credentials) - Method in class org.apache.commons.httpclient.HttpState
-
Sets the
credentials
for the given authentication
scope.
- setDefaultDocumentCharset(String) - Static method in class org.apache.commons.httpclient.URI
-
Set the default charset of the document.
- setDefaultMaxConnectionsPerHost(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Sets the default maximum number of connections allowed for a given
host config.
- setDefaultPolicy(int) - Static method in class org.apache.commons.httpclient.cookie.CookiePolicy
-
- setDefaultProtocolCharset(String) - Static method in class org.apache.commons.httpclient.URI
-
Set the default charset of the protocol.
- setDefaults(HttpParams) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- setDefaults(HttpParams) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns the parent collection that this collection will defer to
for a default value if a particular parameter is not explicitly
set in the collection itself
- setDefaultUseCaches(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setDiscard(boolean) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Set the Discard attribute.
- setDoAuthentication(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets whether or not the HTTP method should automatically handle HTTP
authentication challenges (status code 401, etc.)
- setDoAuthentication(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets whether or not the HTTP method should automatically handle HTTP
authentication challenges (status code 401, etc.)
- setDoInput(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setDomain(String) - Method in class org.apache.commons.httpclient.Cookie
-
Sets the domain attribute.
- setDomain(String) - Method in class org.apache.commons.httpclient.NTCredentials
-
- setDomainAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.Cookie
-
Indicates whether the cookie had a domain specified in a
domain attribute of the Set-Cookie header.
- setDoOutput(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setDoubleParameter(String, double) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- setDoubleParameter(String, double) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns a
Double
to the parameter with the given name
- setEscapedAuthority(String) - Method in class org.apache.commons.httpclient.URI
-
Set the authority.
- setEscapedFragment(String) - Method in class org.apache.commons.httpclient.URI
-
Set the escaped fragment string.
- setEscapedPassword(String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the escaped password string.
- setEscapedPath(String) - Method in class org.apache.commons.httpclient.URI
-
Set the escaped path.
- setEscapedQuery(String) - Method in class org.apache.commons.httpclient.URI
-
Set the escaped query string.
- setEscapedUser(String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the escaped user string.
- setEscapedUserinfo(String, String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the raw-escaped user and password.
- setExpiryDate(Date) - Method in class org.apache.commons.httpclient.Cookie
-
Sets expiration date.
- setFollowRedirects(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets whether or not the HTTP method should automatically follow HTTP redirects
(status code 302, etc.)
- setFollowRedirects(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets whether or not the HTTP method should automatically follow HTTP redirects
(status code 302, etc.)
- setFollowRedirects(boolean) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
Entity enclosing requests cannot be redirected without user intervention
according to RFC 2616.
- setFragment(String) - Method in class org.apache.commons.httpclient.URI
-
Set the fragment.
- setHeaders(Header[]) - Method in class org.apache.commons.httpclient.HeaderGroup
-
Sets all of the headers contained within this group overriding any
existing headers.
- setHost(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, String, int, Protocol) - Method in class org.apache.commons.httpclient.HostConfiguration
-
- setHost(String, int, Protocol) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the given host, port and protocol.
- setHost(String, int) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the given host and port.
- setHost(String) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Set the given host.
- setHost(URI) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Sets the protocol, host and port from the given URI.
- setHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the host to connect to.
- setHost(String) - Method in class org.apache.commons.httpclient.NTCredentials
-
- setHostConfiguration(HostConfiguration) - Method in class org.apache.commons.httpclient.HttpClient
-
- setHostConfiguration(HostConfiguration) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- setHostConfiguration(HostConfiguration) - Method in class org.apache.commons.httpclient.ProxyClient
-
- setHttp11(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- setHttpConnectionFactoryTimeout(long) - Method in class org.apache.commons.httpclient.HttpClient
-
- setHttpConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.HttpClient
-
- setHttpConnectionManager(HttpConnectionManager) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the httpConnectionManager.
- setHttpElementCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the charset to be used for writing HTTP headers.
- setHttpParamsFactory(HttpParamsFactory) - Static method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
Sets the factory that will provide the default HttpParams.
- setIfModifiedSince(long) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setInstanceFollowRedirects(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setIntParameter(String, int) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- setIntParameter(String, int) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns an
Integer
to the parameter with the given name
- setLastResponseInputStream(InputStream) - Method in class org.apache.commons.httpclient.HttpConnection
-
Set the state to keep track of the last response for the last request.
- setLinger(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Returns linger-on-close timeout.
- setLocalAddress(InetAddress) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Set the local address to be used when creating connections.
- setLocalAddress(InetAddress) - Method in class org.apache.commons.httpclient.HttpConnection
-
Set the local address used when creating the connection.
- setLocked(boolean) - Method in class org.apache.commons.httpclient.HttpConnection
-
Locks or unlocks the connection.
- setLongParameter(String, long) - Method in class org.apache.commons.httpclient.params.DefaultHttpParams
-
- setLongParameter(String, long) - Method in interface org.apache.commons.httpclient.params.HttpParams
-
Assigns a
Long
to the parameter with the given name
- setMaxConnectionsPerHost(int) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- setMaxConnectionsPerHost(HostConfiguration, int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Sets the maximum number of connections to be used for the given host config.
- setMaxTotalConnections(int) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- setMaxTotalConnections(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionManagerParams
-
Sets the maximum number of connections allowed.
- setMethodRetryHandler(MethodRetryHandler) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- 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
-
- 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
-
- setParams(HttpClientParams) - Method in class org.apache.commons.httpclient.HttpClient
-
- setParams(HttpConnectionParams) - Method in class org.apache.commons.httpclient.HttpConnection
-
- setParams(HttpConnectionManagerParams) - Method in interface org.apache.commons.httpclient.HttpConnectionManager
-
- setParams(HttpMethodParams) - Method in interface org.apache.commons.httpclient.HttpMethod
-
- setParams(HttpMethodParams) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- setParams(HttpConnectionManagerParams) - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
- setParams(HttpClientParams) - Method in class org.apache.commons.httpclient.ProxyClient
-
- setParams(HttpConnectionManagerParams) - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
- setPassword(String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the password string.
- setPassword(String) - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
- setPath(String) - Method in class org.apache.commons.httpclient.Cookie
-
Sets the path attribute.
- setPath(String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the path of the HTTP method.
- setPath(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the path of the HTTP method.
- setPath(String) - Method in class org.apache.commons.httpclient.URI
-
Set the path.
- setPathAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.Cookie
-
Indicates whether the cookie had a path specified in a
path attribute of the Set-Cookie header.
- setPort(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the port to connect to.
- setPortAttributeBlank(boolean) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Indicates whether the Port attribute in Set-Cookie2 header
contains no value (is of the form Port="").
- setPortAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Indicates whether the cookie had a port attribute specified in the
Set-Cookie2 response header.
- setPorts(int[]) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Set the Port attribute.
- setPreemptive() - Method in class org.apache.commons.httpclient.auth.AuthState
-
Preemptively assigns Basic authentication scheme.
- setProtocol(Protocol) - Method in class org.apache.commons.httpclient.HttpConnection
-
Sets the protocol used to establish the connection
- setProxy(String, int) - Method in class org.apache.commons.httpclient.HostConfiguration
-
Set the proxy settings.
- setProxyCredentials(String, String, Credentials) - Method in class org.apache.commons.httpclient.HttpState
-
- setProxyCredentials(AuthScope, Credentials) - Method in class org.apache.commons.httpclient.HttpState
-
- 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.
- setReason(String) - Method in exception org.apache.commons.httpclient.HttpException
-
- setReason(String) - Method in exception org.apache.commons.httpclient.URIException
-
- setReasonCode(int) - Method in exception org.apache.commons.httpclient.HttpException
-
- setReasonCode(int) - Method in exception org.apache.commons.httpclient.URIException
-
- setReceiveBufferSize(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets a hint the size of the underlying buffers used by the platform
for incoming network I/O.
- setRequestBody(InputStream) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
- setRequestBody(String) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
- setRequestBody(NameValuePair[]) - Method in class org.apache.commons.httpclient.methods.PostMethod
-
Sets an array of parameters to be used in the POST request body
- setRequestContentLength(int) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
- setRequestContentLength(long) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
- setRequestEntity(RequestEntity) - Method in class org.apache.commons.httpclient.methods.EntityEnclosingMethod
-
- setRequestHeader(String, String) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the specified request header, overwriting any
previous value.
- setRequestHeader(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
-
Sets the specified request header, overwriting any
previous value.
- setRequestHeader(String, String) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Set the specified request header, overwriting any previous value.
- setRequestHeader(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the specified request header, overwriting any previous value.
- setRequestMethod(String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setRequestProperty(String, String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setRequestSentRetryEnabled(boolean) - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- setResponseStream(InputStream) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Sets the response stream.
- setRetryCount(int) - Method in class org.apache.commons.httpclient.DefaultMethodRetryHandler
-
Deprecated.
- setSecure(boolean) - Method in class org.apache.commons.httpclient.Cookie
-
Sets the secure attribute of the cookie.
- setSendBufferSize(int) - Method in class org.apache.commons.httpclient.HttpConnection
-
- 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.HttpConnection
-
- setSoTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets the default socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data.
- setSoTimeout(int) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the default socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data.
- setStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.HttpConnection
-
- setStaleCheckingEnabled(boolean) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Defines whether stale connection check is to be used.
- setState(HttpState) - Method in class org.apache.commons.httpclient.HttpClient
-
- setState(HttpState) - Method in class org.apache.commons.httpclient.ProxyClient
-
- setStrictMode(boolean) - Method in class org.apache.commons.httpclient.HttpClient
-
- setStrictMode(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
-
- setStrictMode(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
- setTcpNoDelay(boolean) - Method in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines whether Nagle's algorithm is to be used.
- setTimeout(int) - Method in class org.apache.commons.httpclient.HttpClient
-
- 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.HttpURL
-
Once it's parsed successfully, set this URI.
- setURI() - Method in class org.apache.commons.httpclient.URI
-
Once it's parsed successfully, set this URI.
- setUriCharset(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the charset to be used for parsing URIs.
- setUseCaches(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
-
Not available: the data must have already been retrieved.
- setUseExpectHeader(boolean) - Method in class org.apache.commons.httpclient.methods.ExpectContinueMethod
-
- setUser(String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the user string.
- setUserinfo(String, String) - Method in class org.apache.commons.httpclient.HttpURL
-
Set the user and password.
- setUserName(String) - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
-
- setValidDateFormats(Collection) - Method in interface org.apache.commons.httpclient.cookie.CookieSpec
-
Sets the
Collection
of date patterns used for parsing.
- setValidDateFormats(Collection) - Method in class org.apache.commons.httpclient.cookie.CookieSpecBase
-
- setValidDateFormats(Collection) - Method in class org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
-
Does nothing.
- setValue(String) - Method in class org.apache.commons.httpclient.NameValuePair
-
Set the value.
- setVersion(int) - Method in class org.apache.commons.httpclient.Cookie
-
Sets the version of the cookie specification to which this
cookie conforms.
- setVersion(HttpVersion) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
- setVersionAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.cookie.Cookie2
-
Indicates whether the cookie had a version attribute specified in the
Set-Cookie2 response header.
- setVirtualHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
-
- setVirtualHost(String) - Method in class org.apache.commons.httpclient.params.HostParams
-
Sets the virtual host name.
- setVirtualHost(String) - Method in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the virtual host name.
- shouldCloseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
-
Returns true
if the status code is anything other than
SC_OK, false
otherwise.
- shouldCloseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
-
Tests if the connection should be closed after the method has been executed.
- shutdown() - Method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Shuts down the connection manager and releases all resources.
- shutdown() - Method in class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
since 3.1
- shutdown() - Method in class org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
-
Stops the thread used to close idle connections.
- shutdownAll() - Static method in class org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
-
Shuts down and cleans up resources used by all instances of
MultiThreadedHttpConnectionManager.
- shutdownOutput() - Method in class org.apache.commons.httpclient.HttpConnection
-
- SimpleHttpConnectionManager - Class in org.apache.commons.httpclient
-
A connection manager that provides access to a single HttpConnection.
- SimpleHttpConnectionManager(boolean) - Constructor for class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
The connection manager created with this constructor will try to keep the
connection open (alive) between consecutive requests if the alwaysClose
parameter is set to false.
- SimpleHttpConnectionManager() - Constructor for class org.apache.commons.httpclient.SimpleHttpConnectionManager
-
The connection manager created with this constructor will always try to keep
the connection open (alive) between consecutive requests.
- SINGLE_COOKIE_HEADER - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
- skip(long) - Method in class org.apache.commons.httpclient.ContentLengthInputStream
-
Skips and discards a number of bytes from the input stream.
- SO_LINGER - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Sets SO_LINGER with the specified linger time in seconds.
- SO_RCVBUF - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines a hint the size of the underlying buffers used by the platform
for incoming network I/O.
- SO_SNDBUF - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines a hint the size of the underlying buffers used by the platform
for outgoing network I/O.
- SO_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Defines the default socket timeout (SO_TIMEOUT) in milliseconds which is the
timeout for waiting for data.
- SO_TIMEOUT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Sets the socket timeout (SO_TIMEOUT) in milliseconds to be used when executing the method.
- SocketTask() - Constructor for class org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
-
- space - Static variable in class org.apache.commons.httpclient.URI
-
BitSet for space.
- SSLProtocolSocketFactory - Class in org.apache.commons.httpclient.protocol
-
A SecureProtocolSocketFactory that uses JSSE to create sockets.
- SSLProtocolSocketFactory() - Constructor for class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
-
Constructor for SSLProtocolSocketFactory.
- STALE_CONNECTION_CHECK - Static variable in class org.apache.commons.httpclient.params.HttpConnectionParams
-
Determines whether stale connection check is to be used.
- startsWithHTTP(String) - Static method in class org.apache.commons.httpclient.StatusLine
-
Tests if the string starts with 'HTTP' signature.
- STATUS_LINE_GARBAGE_LIMIT - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines the maximum number of ignorable lines before we expect
a HTTP response's status code.
- statusLine - Variable in class org.apache.commons.httpclient.HttpMethodBase
-
The Status-Line from the response.
- StatusLine - Class in org.apache.commons.httpclient
-
Represents a Status-Line as returned from a HTTP server.
- StatusLine(String) - Constructor for class org.apache.commons.httpclient.StatusLine
-
Default constructor.
- STRICT_TRANSFER_ENCODING - Static variable in class org.apache.commons.httpclient.params.HttpMethodParams
-
Defines whether responses with an invalid Transfer-Encoding header should be
rejected.
- StringPart - Class in org.apache.commons.httpclient.methods.multipart
-
Simple string parameter for a multipart post
- StringPart(String, String, 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
-
- 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.