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

A

addAuthorizationRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Adds an Authorization request if needed, as long as no Authorization request header already exists.
addContentLengthRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Adds a Content-Length or Transer-Encoding: Chunked request header, as long as no Content-Length request header already exists.
addCookie(Cookie) - Method in class org.apache.commons.httpclient.HttpState
Add a cookie.
addCookie(Cookie) - Method in class org.apache.commons.httpclient.HttpSharedState
Synchronizes HttpState.addCookie().
addCookieRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Adds a Cookie request containing the matching Cookies.
addCookies(Cookie[]) - Method in class org.apache.commons.httpclient.HttpState
Add zero or more cookies If any given cookie has already expired, deletes the corresponding existing cookie (if any).
addCookies(Cookie[]) - Method in class org.apache.commons.httpclient.HttpSharedState
Synchronizes HttpState.addCookies().
addHostRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Adds a Host request header, as long as no Host request header already exists.
addParameter(NameValuePair) - Method in class org.apache.commons.httpclient.methods.PostMethod
Add a new parameter to be used in the POST request body.
addParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Add a new parameter to be used in the POST request body.
addParameters(NameValuePair[]) - Method in class org.apache.commons.httpclient.methods.PostMethod
Add an Array of parameters to be used in the POST request body.
addProxyAuthorizationRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Adds a Proxy-Authorization request if needed, as long as no Proxy-Authorization request header already exists.
addRequestHeader(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
Add the specified request header.
addRequestHeader(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
Adds the specified request header, NOT overwriting any previous value.
addRequestHeader(String, String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Add the specified request header, NOT overwriting any previous value.
addRequestHeader(String, String) - Method in interface org.apache.commons.httpclient.HttpMethod
Adds the specified request header, NOT overwriting any previous value.
addRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
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.PutMethod
Override the method of HttpMethodBase to set 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.PostMethod
Override method of HttpMethodBase to also add Content-Type header when appropriate.
addResponseFooter(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
adds a response footer to the internal list
addResponseFooter(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
Use this method internally to add footers.
addUserAgentRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Adds a default User-Agent request header, as long as no User-Agent request header already exists.
assertNotOpen() - Method in class org.apache.commons.httpclient.HttpConnection
Throw an IllegalStateException if I am connected.
assertOpen() - Method in class org.apache.commons.httpclient.HttpConnection
Throw an IllegalStateException if I am not connected.

B

Base64 - class org.apache.commons.httpclient.Base64.
Base64 encoder and decoder.
Base64() - Constructor for class org.apache.commons.httpclient.Base64
 

C

checkNotUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Throws an IllegalStateException if used but not recycled.
checkUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Throws an IllegalStateException if not used since last recycle.
ChunkedInputStream - class org.apache.commons.httpclient.ChunkedInputStream.
Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.
ChunkedInputStream(InputStream, HttpMethod) - Constructor for class org.apache.commons.httpclient.ChunkedInputStream
 
close() - Method in class org.apache.commons.httpclient.RequestOutputStream
Close this output stream, causing any buffered data to be flushed and any further output data to throw an IOException.
close() - Method in class org.apache.commons.httpclient.HttpConnection
Close my socket and streams.
close() - Method in class org.apache.commons.httpclient.ChunkedInputStream
 
close() - Method in class org.apache.commons.httpclient.ResponseInputStream
Close this input stream.
closeSocketAndStreams() - Method in class org.apache.commons.httpclient.HttpConnection
Close everything out.
compare(Object, Object) - Method in class org.apache.commons.httpclient.Cookie
Compares two cookies to determine order for cookie header.
connect() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
ConnectMethod - class org.apache.commons.httpclient.ConnectMethod.
Wraps another method to tunnel through a proxy.
ConnectMethod(HttpMethod) - Constructor for class org.apache.commons.httpclient.ConnectMethod
Create a connect method wrapping the existing method
CONTENT_LENGTH_AUTO - Static variable in class org.apache.commons.httpclient.methods.PostMethod
The content length will be calculated automatically.
CONTENT_LENGTH_CHUNKED - Static variable in class org.apache.commons.httpclient.methods.PostMethod
The request will use chunked transfer encoding.
ContentLengthInputStream - class org.apache.commons.httpclient.ContentLengthInputStream.
Cuts the wrapped InputStream off after a specified number of bytes.
ContentLengthInputStream(InputStream, int) - Constructor for class org.apache.commons.httpclient.ContentLengthInputStream
Creates a new length limited stream
Cookie - class org.apache.commons.httpclient.Cookie.
An HTTP "magic-cookie", as specified in RFC 2109.
Cookie(String, String, String) - Constructor for class org.apache.commons.httpclient.Cookie
Create a cookie.
Cookie(String, String, String, String, Date, boolean) - Constructor for class org.apache.commons.httpclient.Cookie
Create a cookie.
Cookie(String, String, String, String, int, boolean) - Constructor for class org.apache.commons.httpclient.Cookie
Create a cookie.
createCookieHeader(String, int, String, boolean, Cookie[]) - Static method in class org.apache.commons.httpclient.Cookie
Create a Cookie header containing all non-expired cookies in cookies, associated with the given domain, port, path and https setting.
createCookieHeader(String, int, String, boolean, Date, Cookie[]) - Static method in class org.apache.commons.httpclient.Cookie
Create a Cookie header containing all cookies in cookies, associated with the given domain, port, path and https setting, and which are not expired according to the given date.
createCookieHeader(String, String, boolean, Cookie[]) - Static method in class org.apache.commons.httpclient.Cookie
Deprecated. use the version which includes port number and date
createCookieHeader(String, String, Cookie[]) - Static method in class org.apache.commons.httpclient.Cookie
Create a Cookie header containing all non-expired cookies in cookies, associated with the given domain and path, assuming the connection is not secure.
Credentials - interface org.apache.commons.httpclient.Credentials.
Authentication credentials.

D

decode(byte[]) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape the given byte array by first converting all '%', 'H', 'H' sequences into the byte 0xHH, and then converting the bytes into characters using the default encoding.
decode(byte[]) - Static method in class org.apache.commons.httpclient.Base64
Decodes Base64 data into octects
decode(byte[], boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape the given byte array by first converting all '%', 'H', 'H' sequences into the byte 0xHH, and then converting the bytes into characters using the default encoding.
decode(byte[], int, int) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape a fragment of the given byte array, by first converting all '%', 'H', 'H' sequences into the byte 0xHH, and then converting the bytes into characters using the default encoding.
decode(byte[], int, int, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape a fragment of the given byte array, by first converting all '%', 'H', 'H' sequences into the byte 0xHH, and then converting the bytes into characters using the default encoding.
decode(byte[], int, int, String) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape a fragment of the given byte array by first converting all '%', 'H', 'H' sequences into the byte 0xHH, and then converting the bytes into characters using the specified encoding.
decode(byte[], int, int, String, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape a fragment of the given byte array by first converting all '%', 'H', 'H' sequences into the byte 0xHH, and then converting the bytes into characters using the specified encoding.
decode(byte[], String) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape the given byte array by first converting all '%', 'H', 'H' sequences into the byte 0xHH, and then converting the bytes into characters using the default encoding.
decode(byte[], String, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape the given byte array by first converting all '%', 'H', 'H' sequences into the byte 0xHH, and then converting the bytes into characters using the default encoding.
decode(String) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape the given String, converting all %HH sequences into the UTF-8 character 0xHH.
decode(String, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Unescape the given String, converting all %HH sequences into the UTF-8 character 0xHH.
DeleteMethod - class org.apache.commons.httpclient.methods.DeleteMethod.
DELETE Method.
DeleteMethod() - Constructor for class org.apache.commons.httpclient.methods.DeleteMethod
No-arg constructor.
DeleteMethod(String) - Constructor for class org.apache.commons.httpclient.methods.DeleteMethod
Path-setting constructor.
disconnect() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.

E

encode(byte[]) - Static method in class org.apache.commons.httpclient.Base64
Encodes hex octects into Base64
encode(byte[], BitSet) - Static method in class org.apache.commons.httpclient.URIUtil
Escape the given byte array by first converting all bytes not in the given set of "safe" bytes to the sequence '%', 'H', 'H' (where HH is the hex value of the byte), and then converting the bytes into characters using the default encoding.
encode(byte[], BitSet, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Escape the given byte array by first converting all bytes not in the given set of "safe" bytes to the sequence '%', 'H', 'H' (where HH is the hex value of the byte), and then converting the bytes into characters using the default encoding.
encode(byte[], int, int, BitSet) - Static method in class org.apache.commons.httpclient.URIUtil
Escape a fragment of the given byte array by first converting all bytes not in the given set of "safe" bytes to the sequence '%', 'H', 'H' (where HH is the hex value of the byte), and then converting the bytes into characters using the default encoding.
encode(byte[], int, int, BitSet, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Escape a fragment of the given byte array by first converting all bytes not in the given set of "safe" bytes to the sequence '%', 'H', 'H' (where HH is the hex value of the byte), and then converting the bytes into characters using the default encoding.
encode(String) - Static method in class org.apache.commons.httpclient.URIUtil
Escape the given String by replacing all characters not in the default set of safe characters (URIUtil.unreserved()) into the sequence %HH (where HH is the hex value of the character in the default encoding).
encode(String, BitSet) - Static method in class org.apache.commons.httpclient.URIUtil
Escape the given String by replacing all characters not in the given set of safe characters into the sequence %HH (where HH is the hex value of the character in the default encoding).
encode(String, BitSet, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Escape the given String by replacing all characters not in the given set of safe characters into the sequence %HH (where HH is the hex value of the character in the default encoding).
encode(String, BitSet, String) - Static method in class org.apache.commons.httpclient.URIUtil
Escape the given String, first converting the String to bytes using the specified encoding, then replacing all bytes not in the given set of safe bytes into the sequence %HH (where HH is the hex value of the byte).
encode(String, BitSet, String, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Escape the given String, first converting the String to bytes using the specified encoding, then replacing all bytes not in the given set of safe bytes into the sequence %HH (where HH is the hex value of the byte).
encode(String, boolean) - Static method in class org.apache.commons.httpclient.URIUtil
Escape the given String by replacing all characters not in the default set of safe characters (URIUtil.unreserved()) into the sequence %HH (where HH is the hex value of the character in the default encoding).
endSession() - Method in class org.apache.commons.httpclient.HttpClient
End the current session, closing my the associated connection if any.
equals(Object) - Method in class org.apache.commons.httpclient.NameValuePair
Test if the given object is equal to me.
equals(Object) - Method in class org.apache.commons.httpclient.Cookie
Two cookies are equal if the name, path and domain match.
execute(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Execute this method.
execute(HttpState, HttpConnection) - Method in interface org.apache.commons.httpclient.HttpMethod
Execute this method.
execute(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
Execute this method by tunnelling and then executing the wrapped method.
executeMethod(HttpMethod) - Method in class org.apache.commons.httpclient.HttpClient
Execute the given HttpMethod using my current connection and HttpState.
executeMethod(HttpUrlMethod) - Method in class org.apache.commons.httpclient.HttpMultiClient
Execute the given HttpUrlMethod using my current connection and HttpState.

G

generateRequestLine(HttpConnection, String, String, String, String) - Static method in class org.apache.commons.httpclient.HttpMethodBase
Generate an HTTP/S request line according to the specified attributes.
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.
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.
getConnection(String) - Method in class org.apache.commons.httpclient.HttpConnectionManager
Get an HttpConnection for a given URL.
getConnection(String, long) - Method in class org.apache.commons.httpclient.HttpConnectionManager
Get an HttpConnection for a given URL.
getConnectionsInUse(String) - Method in class org.apache.commons.httpclient.HttpConnectionManager
Get the number of connections in use for the key
getConnectionTimeout() - Method in class org.apache.commons.httpclient.HttpMultiClient
Returns the value of connection timeout.
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.
getCookies() - Method in class org.apache.commons.httpclient.HttpState
Obtain an array of my Cookies.
getCookies() - Method in class org.apache.commons.httpclient.HttpSharedState
Synchronizes HttpState.getCookies().
getCookies(String, int, String, boolean, Date) - Method in class org.apache.commons.httpclient.HttpState
Obtain an array of my Cookies that match the given request parameters.
getCookies(String, int, String, boolean, Date) - Method in class org.apache.commons.httpclient.HttpSharedState
Synchronizes HttpState.getCookies().
getCredentials(String) - Method in class org.apache.commons.httpclient.HttpState
Get the Credentials for the given authentication realm.
getCredentials(String) - Method in class org.apache.commons.httpclient.HttpSharedState
Synchronizes HttpState.getCredentials().
getDefaultUseCaches() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
getDoInput() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getDomain() - Method in class org.apache.commons.httpclient.Cookie
Returns my domain.
getDoOutput() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getErrorStream() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getExpiryDate() - Method in class org.apache.commons.httpclient.Cookie
Returns my expiration Date, or null if none exists.
getFileData() - Method in class org.apache.commons.httpclient.methods.GetMethod
File data getter.
getFollowRedirects() - Method in class org.apache.commons.httpclient.HttpMethodBase
Whether or not I should automatically follow HTTP redirects (status code 302, etc.)
getFollowRedirects() - Method in interface org.apache.commons.httpclient.HttpMethod
Whether or not I should automatically follow HTTP redirects (status code 302, etc.)
getFollowRedirects() - Method in class org.apache.commons.httpclient.methods.PostMethod
A POST request can only be redirected if input is buffered.
getHeaderField(int) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
 
getHeaderField(String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
 
getHeaderFieldKey(int) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
 
getHost() - Method in class org.apache.commons.httpclient.HttpConnection
Return my host.
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.
getMaxConnectionsPerHost() - Method in class org.apache.commons.httpclient.HttpConnectionManager
Get the maximum number of connections allowed for a given host:port.
GetMethod - class org.apache.commons.httpclient.methods.GetMethod.
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
Path-setting constructor.
GetMethod(String, File) - Constructor for class org.apache.commons.httpclient.methods.GetMethod
Constructor.
GetMethod(String, String) - Constructor for class org.apache.commons.httpclient.methods.GetMethod
Constructor.
GetMethod(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.GetMethod
Constructor.
getName() - Method in class org.apache.commons.httpclient.NameValuePair
Name property getter.
getName() - Method in class org.apache.commons.httpclient.HttpMethodBase
Obtain the name of this method, suitable for use in the "request line", for example GET or POST.
getName() - Method in interface org.apache.commons.httpclient.HttpMethod
Obtain the name of this method, suitable for use in the "request line", for example "GET" or "POST".
getName() - Method in class org.apache.commons.httpclient.ConnectMethod
Provide the name of this method.
getName() - Method in class org.apache.commons.httpclient.methods.GetMethod
Returns "GET".
getName() - Method in class org.apache.commons.httpclient.methods.PutMethod
Return "PUT".
getName() - Method in class org.apache.commons.httpclient.methods.HeadMethod
Returns "HEAD".
getName() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
 
getName() - Method in class org.apache.commons.httpclient.methods.DeleteMethod
Returns "DELETE".
getName() - Method in class org.apache.commons.httpclient.methods.PostMethod
Returns "POST".
getName() - Method in class org.apache.commons.httpclient.methods.TraceMethod
Returns "TRACE".
getOutputStream() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
 
getParameter(String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Gets the parameter of the specified name.
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.
getPassword() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
Password property getter.
getPath() - Method in class org.apache.commons.httpclient.HttpMethodBase
Get the path part of my request.
getPath() - Method in interface org.apache.commons.httpclient.HttpMethod
Get the path part of my request.
getPath() - Method in class org.apache.commons.httpclient.Cookie
 
getPath(String) - Static method in class org.apache.commons.httpclient.URIUtil
Returns the path portion of the given URL.
getPermission() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getPort() - Method in class org.apache.commons.httpclient.HttpConnection
Return my port.
getProtocol() - Method in class org.apache.commons.httpclient.HttpConnection
Get the protocol.
getProxyCredentials(String) - Method in class org.apache.commons.httpclient.HttpState
Get the Credentials for the proxy with the given authentication realm.
getProxyHost() - Method in class org.apache.commons.httpclient.HttpConnectionManager
Get the proxy host.
getProxyHost() - Method in class org.apache.commons.httpclient.HttpConnection
Return my proxy host.
getProxyHost() - Method in class org.apache.commons.httpclient.HttpMultiClient
Returns the hostname for the HTTP proxy server in use for all requests.
getProxyPort() - Method in class org.apache.commons.httpclient.HttpConnectionManager
Get the proxy port number.
getProxyPort() - Method in class org.apache.commons.httpclient.HttpConnection
Return my proxy port.
getProxyPort() - Method in class org.apache.commons.httpclient.HttpMultiClient
Returns the HTTP proxy server port number
getQueryString() - Method in class org.apache.commons.httpclient.HttpMethodBase
Get my query string.
getQueryString() - Method in interface org.apache.commons.httpclient.HttpMethod
Get my query string.
getQueryString(String) - Static method in class org.apache.commons.httpclient.URIUtil
Returns the query string for the given URL.
getRequestBody() - Method in class org.apache.commons.httpclient.methods.PostMethod
Gets the requestBody as it would be if it was executed.
getRequestBodyAsString() - Method in class org.apache.commons.httpclient.methods.PostMethod
DOCUMENT ME!
getRequestContentLength() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return the length (in bytes) of my request body, suitable for use in a Content-Length header.
getRequestContentLength() - Method in class org.apache.commons.httpclient.methods.PutMethod
Override the method of HttpMethodBase to return the appropriate content length.
getRequestContentLength() - Method in class org.apache.commons.httpclient.methods.PostMethod
Override method of HttpMethodBase to return the length of the request body.
getRequestHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Get the request header associated with the given name.
getRequestHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Get the request header associated with the given name.
getRequestHeaders() - Method in class org.apache.commons.httpclient.HttpMethodBase
Provides access to the request headers.
getRequestHeaders() - Method in interface org.apache.commons.httpclient.HttpMethod
Return an array of my request headers.
getRequestMethod() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
 
getRequestOutputStream() - Method in class org.apache.commons.httpclient.HttpConnection
Return a RequestOutputStream suitable for writing (possibly chunked) bytes to my OutputStream.
getRequestOutputStream(boolean) - Method in class org.apache.commons.httpclient.HttpConnection
Return a RequestOutputStream suitable for writing (possibly chunked) bytes to my OutputStream.
getRequestProperty(String) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getRequestTimeout() - Method in class org.apache.commons.httpclient.HttpMultiClient
Returns the value of the request timeout.
getResponseBody() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return my response body, if any, as a byte array.
getResponseBody() - Method in interface org.apache.commons.httpclient.HttpMethod
Return my response body, if any, as a byte array.
getResponseBody() - Method in class org.apache.commons.httpclient.methods.GetMethod
Return my response body, if any, as a byte array.
getResponseBodyAsStream() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return my response body, if any, as an InputStream.
getResponseBodyAsStream() - Method in interface org.apache.commons.httpclient.HttpMethod
Return my response body, if any, as an InputStream.
getResponseBodyAsStream() - Method in class org.apache.commons.httpclient.methods.GetMethod
Return my response body, if any, as an InputStream.
getResponseBodyAsString() - Method in class org.apache.commons.httpclient.HttpMethodBase
Gets the response body as a string.
getResponseBodyAsString() - Method in interface org.apache.commons.httpclient.HttpMethod
Return my response body, if any, as a String.
getResponseCode() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
 
getResponseFooter(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Get the response footer associated with the given name.
getResponseFooter(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Return the specified response footer.
getResponseFooters() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return an array of response footers.
getResponseFooters() - Method in interface org.apache.commons.httpclient.HttpMethod
Return an array of my response footers
getResponseHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Get the response header associated with the given name.
getResponseHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Return the specified response header.
getResponseHeaders() - Method in class org.apache.commons.httpclient.HttpMethodBase
Provide access to the response headers
getResponseHeaders() - Method in interface org.apache.commons.httpclient.HttpMethod
Return an array of my response headers.
getResponseInputStream(HttpMethod) - Method in class org.apache.commons.httpclient.HttpConnection
Return a ResponseInputStream suitable for reading (possibly chunked) bytes from my InputStream.
getResponseMessage() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
 
getSecure() - Method in class org.apache.commons.httpclient.Cookie
 
getState() - Method in class org.apache.commons.httpclient.HttpMultiClient
Get the shared state
getState() - Method in class org.apache.commons.httpclient.HttpClient
Get my state.
getStatusCode() - Method in class org.apache.commons.httpclient.HttpMethodBase
Provide access to the status code.
getStatusCode() - Method in interface org.apache.commons.httpclient.HttpMethod
Return the status code associated with the latest response.
getStatusText() - Method in class org.apache.commons.httpclient.HttpMethodBase
Provide access to the status text
getStatusText() - Method in interface org.apache.commons.httpclient.HttpMethod
Return 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" associated with the given HTTP status code, or null if no such reason phrase can be found.
getTempDir() - Method in class org.apache.commons.httpclient.methods.GetMethod
Temporary directory getter.
getTempFile() - Method in class org.apache.commons.httpclient.methods.GetMethod
Temporary file getter.
getUrl() - Method in interface org.apache.commons.httpclient.HttpUrlMethod
Returns this request's URL.
getUrl() - Method in class org.apache.commons.httpclient.methods.UrlPutMethod
Returns this request's URL.
getUrl() - Method in class org.apache.commons.httpclient.methods.UrlOptionsMethod
Returns this request's URL.
getUrl() - Method in class org.apache.commons.httpclient.methods.UrlHeadMethod
Returns this request's URL.
getUrl() - Method in class org.apache.commons.httpclient.methods.UrlDeleteMethod
Gets the Url.
getUrl() - Method in class org.apache.commons.httpclient.methods.UrlGetMethod
Returns this request's URL.
getUrl() - Method in class org.apache.commons.httpclient.methods.UrlPostMethod
Returns this request's URL.
getURL() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
 
getUseCaches() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.
getUseDisk() - Method in class org.apache.commons.httpclient.methods.GetMethod
Tells if the response will be buffered in a file.
getUserName() - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
User name property getter.
getValue() - Method in class org.apache.commons.httpclient.NameValuePair
Value property getter.
getValues() - Method in class org.apache.commons.httpclient.Header
Returns an array of HeaderElements constructed from my value.
getVersion() - Method in class org.apache.commons.httpclient.Cookie
 

H

hasBeenUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Whether the object has been used and not recycled.
hasBeenUsed() - Method in interface org.apache.commons.httpclient.HttpMethod
Return true if I have been executed but not recycled.
hashCode() - Method in class org.apache.commons.httpclient.NameValuePair
Returns a hash code for this object such that if a.equals(b) then a.hashCode() == b.hashCode().
hashCode() - Method in class org.apache.commons.httpclient.Cookie
Returns a hash code in keeping with the general hashCode contract.
Header - class org.apache.commons.httpclient.Header.
An HTTP header.
Header() - Constructor for class org.apache.commons.httpclient.Header
Default constructor.
Header(String, String) - Constructor for class org.apache.commons.httpclient.Header
Constructor with name and value
HeaderElement - class org.apache.commons.httpclient.HeaderElement.
One element of an HTTP header's value.
HeaderElement() - Constructor for class org.apache.commons.httpclient.HeaderElement
Default constructor.
HeaderElement(String, String) - Constructor for class org.apache.commons.httpclient.HeaderElement
Constructor.
HeaderElement(String, String, NameValuePair[]) - Constructor for class org.apache.commons.httpclient.HeaderElement
Constructor with name, value and parameters.
HeadMethod - class org.apache.commons.httpclient.methods.HeadMethod.
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
Path-setting constructor.
HttpClient - class org.apache.commons.httpclient.HttpClient.
An HTTP "user-agent", containing an HttpState and one or more HttpConnections, to which HttpMethods can be applied.
HttpClient() - Constructor for class org.apache.commons.httpclient.HttpClient
Constructor.
HttpConnection - class org.apache.commons.httpclient.HttpConnection.
An abstraction of an HTTP InputStream and OutputStream pair, together with the relevant attributes.
HttpConnection(String, int) - Constructor for class org.apache.commons.httpclient.HttpConnection
Constructor.
HttpConnection(String, int, boolean) - Constructor for class org.apache.commons.httpclient.HttpConnection
Constructor.
HttpConnection(String, int, String, int) - Constructor for class org.apache.commons.httpclient.HttpConnection
Constructor.
HttpConnection(String, int, String, int, boolean) - Constructor for class org.apache.commons.httpclient.HttpConnection
Fully-specified constructor.
HttpConnectionManager - class org.apache.commons.httpclient.HttpConnectionManager.
Manages a set of HttpConnections for various host:ports.
HttpConnectionManager() - Constructor for class org.apache.commons.httpclient.HttpConnectionManager
No-args constructor
HttpException - exception org.apache.commons.httpclient.HttpException.
Signals that an HTTP or HttpClient exception has occurred.
HttpException() - Constructor for class org.apache.commons.httpclient.HttpException
Creates a new HttpException.
HttpException(String) - Constructor for class org.apache.commons.httpclient.HttpException
Creates a new HttpException with the specified message.
HttpMethod - interface org.apache.commons.httpclient.HttpMethod.
A request to be applied to an HttpConnection, and a container for the associated response.
HttpMethodBase - class org.apache.commons.httpclient.HttpMethodBase.
An abstract base implementation of HttpMethod.
HttpMethodBase() - Constructor for class org.apache.commons.httpclient.HttpMethodBase
No-arg constructor.
HttpMethodBase(String) - Constructor for class org.apache.commons.httpclient.HttpMethodBase
Path-specifying constructor.
HttpMultiClient - class org.apache.commons.httpclient.HttpMultiClient.
An Http user-agent that supports multiple connections to Http servers.
HttpMultiClient() - Constructor for class org.apache.commons.httpclient.HttpMultiClient
No-args constructor.
HttpMultiClient(String, int) - Constructor for class org.apache.commons.httpclient.HttpMultiClient
Constructor that uses proxy host and port.
HttpRecoverableException - exception org.apache.commons.httpclient.HttpRecoverableException.
Signals that an HTTP or HttpClient exception has occurred.
HttpRecoverableException() - Constructor for class org.apache.commons.httpclient.HttpRecoverableException
Creates a new HttpRecoverableException.
HttpRecoverableException(String) - Constructor for class org.apache.commons.httpclient.HttpRecoverableException
Creates a new HttpRecoverableException with the specified message.
HttpSharedState - class org.apache.commons.httpclient.HttpSharedState.
HttpSharedState provides synchronized access to HttpState so that the state can be used in calls to HttpMultiClient.executeMethod() on multiple threads.
HttpSharedState() - Constructor for class org.apache.commons.httpclient.HttpSharedState
No-args constructor.
HttpState - class org.apache.commons.httpclient.HttpState.
A container for HTTP attributes that may persist from request to request, such as Cookies and authentication Credentials.
HttpState() - Constructor for class org.apache.commons.httpclient.HttpState
 
HttpStatus - class org.apache.commons.httpclient.HttpStatus.
Constants enumerating the HTTP status codes.
HttpStatus() - Constructor for class org.apache.commons.httpclient.HttpStatus
 
HttpURLConnection - class org.apache.commons.httpclient.util.HttpURLConnection.
Provides a HttpURLConnection wrapper around HttpClient's HttpMethod.
HttpURLConnection(HttpMethod, URL) - Constructor for class org.apache.commons.httpclient.util.HttpURLConnection
Creates an HttpURLConnection from a HttpMethod.
HttpURLConnection(URL) - Constructor for class org.apache.commons.httpclient.util.HttpURLConnection
 
HttpUrlMethod - interface org.apache.commons.httpclient.HttpUrlMethod.
HttpUrlMethod extends HttpMethod.

I

isAllowed(String) - Method in class org.apache.commons.httpclient.methods.OptionsMethod
Is the specified method allowed ?
isArrayByteBase64(byte[]) - Static method in class org.apache.commons.httpclient.Base64
 
isBase64(String) - Static method in class org.apache.commons.httpclient.Base64
 
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
 
isExpired(Date) - Method in class org.apache.commons.httpclient.Cookie
 
isHttp11() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return true if I should use the HTTP/1.1 protocol.
isOpen() - Method in class org.apache.commons.httpclient.HttpConnection
Return true if I am connected, false otherwise.
isPathAttributeSpecified() - Method in class org.apache.commons.httpclient.Cookie
Returns true if cookie's path was set via a Path attribute in the set-cookie header.
isPersistent() - Method in class org.apache.commons.httpclient.Cookie
Returns false if I should be discarded at the end of the "session"; true otherwise.
isProxied() - Method in class org.apache.commons.httpclient.HttpConnection
Return true if I am (or I will be) connected via a proxy, false otherwise.
isSecure() - Method in class org.apache.commons.httpclient.HttpConnection
Return true if I will (or I am) connected over a secure (HTTPS/SSL) protocol.
isStrictMode() - Method in class org.apache.commons.httpclient.HttpMethodBase
Returns the value of strictMode.
isStrictMode() - Method in interface org.apache.commons.httpclient.HttpMethod
Returns the value of strictMode.
isStrictMode() - Method in class org.apache.commons.httpclient.HttpMultiClient
 
isTransparent() - Method in class org.apache.commons.httpclient.HttpConnection
Indicates if the connection is completely transparent from end to end.
isUseChunking() - Method in class org.apache.commons.httpclient.RequestOutputStream
Use chunking flag getter.

L

log - Static variable in class org.apache.commons.httpclient.ResponseInputStream
Log object for this class.
log - Static variable in class org.apache.commons.httpclient.HttpState
Log object for this class.

M

matches(String, int, String, boolean) - Method in class org.apache.commons.httpclient.Cookie
Return true if I should be submitted with a request with given attributes, false otherwise.
matches(String, int, String, boolean, Date) - Method in class org.apache.commons.httpclient.Cookie
Return true if I should be submitted with a request with given attributes, false otherwise.

N

NAME - Static variable in class org.apache.commons.httpclient.ConnectMethod
the name of this method
NameValuePair - class org.apache.commons.httpclient.NameValuePair.
A simple class encapsulating a name/value pair.
NameValuePair() - Constructor for class org.apache.commons.httpclient.NameValuePair
Default constructor.
NameValuePair(String, String) - Constructor for class org.apache.commons.httpclient.NameValuePair
Constructor.
needContentLength() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
Return true if the method needs a content-length header in the request.

O

open() - Method in class org.apache.commons.httpclient.HttpConnection
Open this connection to the current host and port (via a proxy if so configured).
OptionsMethod - class org.apache.commons.httpclient.methods.OptionsMethod.
OPTIONS Method.
OptionsMethod() - Constructor for class org.apache.commons.httpclient.methods.OptionsMethod
Method constructor.
OptionsMethod(String) - Constructor for class org.apache.commons.httpclient.methods.OptionsMethod
Method constructor.
org.apache.commons.httpclient - package org.apache.commons.httpclient
Classes and interfaces supporting the client side of the HTTP protocol.
org.apache.commons.httpclient.methods - package org.apache.commons.httpclient.methods
Classes implementing HttpMethod for the base HTTP methods.
org.apache.commons.httpclient.util - package org.apache.commons.httpclient.util
 

P

parameters - Variable in class org.apache.commons.httpclient.HeaderElement
My parameters, if any.
parse(String) - Static method in class org.apache.commons.httpclient.HeaderElement
This parses the value part of a header.
parse(String, int, String, boolean, Header) - Static method in class org.apache.commons.httpclient.Cookie
Parses the Set-Cookie Header into an array of Cookies.
parse(String, int, String, Header) - Static method in class org.apache.commons.httpclient.Cookie
Parses the Set-Cookie Header into an array of Cookies, assuming that the cookies were recieved on an insecure channel.
parse(String, String, boolean, Header) - Static method in class org.apache.commons.httpclient.Cookie
Parses the Set-Cookie Header into an array of Cookies.
parse(String, String, Header) - Static method in class org.apache.commons.httpclient.Cookie
Parses the Set-Cookie Header into an array of Cookies, assuming that the cookies were recieved on an insecure channel.
pathSafe() - Static method in class org.apache.commons.httpclient.URIUtil
 
PostMethod - class org.apache.commons.httpclient.methods.PostMethod.
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
Path-setting constructor.
PostMethod(String, String) - Constructor for class org.apache.commons.httpclient.methods.PostMethod
Path and temp directory constructor.
PostMethod(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.PostMethod
Path, temp directory and temp file constructor.
print(String) - Method in class org.apache.commons.httpclient.RequestOutputStream
Writes a String to the client, without a carriage return line feed (CRLF) character at the end.
print(String) - Method in class org.apache.commons.httpclient.HttpConnection
Write the specified String (as bytes) to my output stream.
printLine() - Method in class org.apache.commons.httpclient.HttpConnection
Write "\r\n".getBytes() to my output stream.
printLine(String) - Method in class org.apache.commons.httpclient.HttpConnection
Write the specified String (as bytes), followed by "\r\n".getBytes() to my output stream.
println() - Method in class org.apache.commons.httpclient.RequestOutputStream
Writes a carriage return-line feed (CRLF) to the client.
println(String) - Method in class org.apache.commons.httpclient.RequestOutputStream
Writes a String to the client, followed by a carriage return-line feed (CRLF).
processResponseBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
When this method is invoked, readResponseBody(HttpState,HttpConnection) will have been invoked.
processResponseHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
When this method is invoked, the response headers map will have been populated with the response headers (in other words, readResponseHeaders(HttpState,HttpConnection) will have been invoked).
processResponseHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.OptionsMethod
 
processStatusLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
When this method is invoked, the status code and status text values will have been set (in other words, readStatusLine(HttpState,HttpConnection will have been invoked).
purgeExpiredCookies() - Method in class org.apache.commons.httpclient.HttpState
Remove all of my Cookies that have expired according to the current system time.
purgeExpiredCookies(Date) - Method in class org.apache.commons.httpclient.HttpState
Remove all of my Cookies that have expired by the specified date.
purgeExpiredCookies(Date) - Method in class org.apache.commons.httpclient.HttpSharedState
Synchronizes HttpState.purgeExpiredCookies(Date).
PutMethod - class org.apache.commons.httpclient.methods.PutMethod.
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
Path-setting constructor.

Q

queryStringValueSafe() - Static method in class org.apache.commons.httpclient.URIUtil
 

R

read() - Method in class org.apache.commons.httpclient.ContentLengthInputStream
 
read() - Method in class org.apache.commons.httpclient.ChunkedInputStream
Returns all the data in a chunked stream in coalesced form.
read() - Method in class org.apache.commons.httpclient.ResponseInputStream
Read and return a single byte from this input stream, or -1 if end of file has been encountered.
read() - Method in class org.apache.commons.httpclient.WireLogInputStream
 
read(byte[]) - Method in class org.apache.commons.httpclient.ContentLengthInputStream
 
read(byte[]) - Method in class org.apache.commons.httpclient.ChunkedInputStream
 
read(byte[]) - Method in class org.apache.commons.httpclient.WireLogInputStream
 
read(byte[], int, int) - Method in class org.apache.commons.httpclient.ContentLengthInputStream
 
read(byte[], int, int) - Method in class org.apache.commons.httpclient.ChunkedInputStream
 
read(byte[], int, int) - Method in class org.apache.commons.httpclient.ResponseInputStream
Read up to len bytes of data from the input stream into an array of bytes.
read(byte[], int, int) - Method in class org.apache.commons.httpclient.WireLogInputStream
 
readLine() - Method in class org.apache.commons.httpclient.HttpConnection
Read up to "\r\n" from my (unchunked) input stream.
readResponse(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Reads the response from the given HttpConnection.
readResponseBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Read the response body from the given HttpConnection.
readResponseBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.GetMethod
Overrides method in HttpMethodBase to write data to the appropriate buffer.
readResponseBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.HeadMethod
Overrides HttpMethodBase method to not read a response body, despite the presence of a Content-Length or Transfer-Encoding header.
readResponseHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Read response headers from the given HttpConnection, populating the response headers map.
readStatusLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Read the status line from the given HttpConnection, setting my status code and status text.
recycle() - Method in class org.apache.commons.httpclient.HttpMethodBase
Recycle this method so that it can be used again.
recycle() - Method in interface org.apache.commons.httpclient.HttpMethod
Recycle this method so that it can be used again.
recycle() - Method in class org.apache.commons.httpclient.methods.GetMethod
Override recycle to reset redirects default.
recycle() - Method in class org.apache.commons.httpclient.methods.PutMethod
 
recycle() - Method in class org.apache.commons.httpclient.methods.HeadMethod
Override recycle to reset redirects default.
recycle() - Method in class org.apache.commons.httpclient.methods.PostMethod
Override method of HttpMethodBase to clear my request body.
recycle() - Method in class org.apache.commons.httpclient.methods.TraceMethod
Override recycle to reset redirects default.
releaseConnection(HttpConnection) - Method in class org.apache.commons.httpclient.HttpConnectionManager
Make the given HttpConnection available for use by other requests.
removeParameter(String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Removes all parameters with the given paramName.
removeParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Removes all parameter with the given paramName and paramValue.
removeRequestHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Remove the request header associated with the given name.
removeRequestHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Remove all request headers associated with the given name.
RequestOutputStream - class org.apache.commons.httpclient.RequestOutputStream.
OutputStream wrapper supporting the chunked transfer encoding.
RequestOutputStream(OutputStream) - Constructor for class org.apache.commons.httpclient.RequestOutputStream
Construct an output stream wrapping the given stream.
RequestOutputStream(OutputStream, boolean) - Constructor for class org.apache.commons.httpclient.RequestOutputStream
Construct an output stream wrapping the given stream.
ResponseInputStream - class org.apache.commons.httpclient.ResponseInputStream.
InputStream wrapper supporting the chunked transfer encoding.
ResponseInputStream(InputStream, boolean, int) - Constructor for class org.apache.commons.httpclient.ResponseInputStream
 
ResponseInputStream(InputStream, HttpMethod) - Constructor for class org.apache.commons.httpclient.ResponseInputStream
Construct a servlet input stream associated with the specified Request.

S

SC_ACCEPTED - Static variable in class org.apache.commons.httpclient.HttpStatus
202 Accepted (HTTP/1.0 - RFC 1945)
SC_BAD_GATEWAY - Static variable in class org.apache.commons.httpclient.HttpStatus
502 Bad Gateway (HTTP/1.0 - RFC 1945)
SC_BAD_REQUEST - Static variable in class org.apache.commons.httpclient.HttpStatus
400 Bad Request (HTTP/1.1 - RFC 2616)
SC_CONFLICT - Static variable in class org.apache.commons.httpclient.HttpStatus
409 Conflict (HTTP/1.1 - RFC 2616)
SC_CONTINUE - Static variable in class org.apache.commons.httpclient.HttpStatus
100 Continue (HTTP/1.1 - RFC 2616)
SC_CREATED - Static variable in class org.apache.commons.httpclient.HttpStatus
201 Created (HTTP/1.0 - RFC 1945)
SC_EXPECTATION_FAILED - Static variable in class org.apache.commons.httpclient.HttpStatus
417 Expectation Failed (HTTP/1.1 - RFC 2616)
SC_FAILED_DEPENDENCY - Static variable in class org.apache.commons.httpclient.HttpStatus
424 Failed Dependency (WebDAV - RFC 2518)
SC_FORBIDDEN - Static variable in class org.apache.commons.httpclient.HttpStatus
403 Forbidden (HTTP/1.0 - RFC 1945)
SC_GATEWAY_TIMEOUT - Static variable in class org.apache.commons.httpclient.HttpStatus
504 Gateway Timeout (HTTP/1.1 - RFC 2616)
SC_GONE - Static variable in class org.apache.commons.httpclient.HttpStatus
410 Gone (HTTP/1.1 - RFC 2616)
SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in class org.apache.commons.httpclient.HttpStatus
505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616)
SC_INSUFFICIENT_SPACE_ON_RESOURCE - Static variable in class org.apache.commons.httpclient.HttpStatus
419 Insufficient Space on Resource (WebDAV - draft-ietf-webdav-protocol-05?) or 419 Proxy Reauthentication Required (HTTP/1.1 drafts?)
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
420 Method Failure (WebDAV - draft-ietf-webdav-protocol-05?)
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)
setAllowUserInteraction(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
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.
setConnectionTimeout(int) - Method in class org.apache.commons.httpclient.HttpMultiClient
Sets the connection timeout.
setCredentials(String, Credentials) - Method in class org.apache.commons.httpclient.HttpState
Set the Credentials for the given authentication realm.
setCredentials(String, Credentials) - Method in class org.apache.commons.httpclient.HttpSharedState
Synchronizes HttpState.setCredentials().
setDefaultUseCaches(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
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 my domain.
setDomainAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.Cookie
Indicates whether the cookie had a domain specified in a Domain attribute in the set-cookie header.
setDoOutput(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
setExpiryDate(Date) - Method in class org.apache.commons.httpclient.Cookie
Expiration setter.
setFileData(File) - Method in class org.apache.commons.httpclient.methods.GetMethod
File data setter.
setFollowRedirects(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
Set whether or not I should automatically follow HTTP redirects (status code 302, etc.)
setFollowRedirects(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
Set whether or not I should automatically follow HTTP redirects (status code 302, etc.)
setHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
Set my host.
setHttp11(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
Set whether or not I should use the HTTP/1.1 protocol.
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.
setMaxConnectionsPerHost(int) - Method in class org.apache.commons.httpclient.HttpConnectionManager
Set the maximum number of connections allowed for a given host:port.
setName(String) - Method in class org.apache.commons.httpclient.NameValuePair
Name property setter.
setParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Deprecated. use PostMethod.removeParameter(String,String) followed by PostMethod.addParameter(String,String).
setPassword(String) - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
Password property setter.
setPath(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Set the path part of my request.
setPath(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Set the path part of my request.
setPath(String) - Method in class org.apache.commons.httpclient.Cookie
Sets my path.
setPathAttributeSpecified(boolean) - Method in class org.apache.commons.httpclient.Cookie
Indicates whether the cookie had a path specified in a Path attribute in the set-cookie header.
setPort(int) - Method in class org.apache.commons.httpclient.HttpConnection
Set my port.
setProxyCredentials(String, Credentials) - Method in class org.apache.commons.httpclient.HttpState
Set the for the proxy with the given authentication realm.
setProxyHost(String) - Method in class org.apache.commons.httpclient.HttpConnectionManager
Set the proxy host to use for all connections.
setProxyHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
Set the host I should proxy through.
setProxyHost(String) - Method in class org.apache.commons.httpclient.HttpMultiClient
Sets the hostname for the HTTP proxy server to use for all requests.
setProxyPort(int) - Method in class org.apache.commons.httpclient.HttpConnectionManager
Set the proxy port to use for all connections.
setProxyPort(int) - Method in class org.apache.commons.httpclient.HttpConnection
Set the port I should proxy through.
setProxyPort(int) - Method in class org.apache.commons.httpclient.HttpMultiClient
Sets the port number for the HTTP proxy server to use for all requests.
setQueryString(NameValuePair[]) - Method in class org.apache.commons.httpclient.HttpMethodBase
Set my query string.
setQueryString(NameValuePair[]) - Method in interface org.apache.commons.httpclient.HttpMethod
Set my query string.
setQueryString(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Set my query string.
setQueryString(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Set my query string.
setRequestBody(byte[]) - Method in class org.apache.commons.httpclient.methods.PutMethod
Set my request body content to the contents of a byte array.
setRequestBody(File) - Method in class org.apache.commons.httpclient.methods.PutMethod
Set my request body content to the contents of a file.
setRequestBody(InputStream) - Method in class org.apache.commons.httpclient.methods.PutMethod
Set my request body content to the contents of an input stream.
setRequestBody(InputStream) - Method in class org.apache.commons.httpclient.methods.PostMethod
Sets the request body to be the specified inputstream.
setRequestBody(String) - Method in class org.apache.commons.httpclient.methods.PutMethod
Set my request body content to the contents of a string.
setRequestBody(String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Deprecated. This method converts characters to bytes in a platform dependent encoding. Use PostMethod.setRequestBody(java.io.InputStream) instead.
setRequestBody(URL) - Method in class org.apache.commons.httpclient.methods.PutMethod
Set my request body content to the resource at the specified URL.
setRequestContentLength(int) - Method in class org.apache.commons.httpclient.methods.PostMethod
Sets length information about the request body.
setRequestHeader(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
Set the specified request header, overwriting any previous value.
setRequestHeader(Header) - Method in interface org.apache.commons.httpclient.HttpMethod
Set 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(String, String) - Method in interface org.apache.commons.httpclient.HttpMethod
Set 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.
setRequestTimeout(int) - Method in class org.apache.commons.httpclient.HttpMultiClient
Sets the request timeout.
setResponseStream(InputStream) - Method in class org.apache.commons.httpclient.HttpMethodBase
 
setSecure(boolean) - Method in class org.apache.commons.httpclient.HttpConnection
Set whether or not I should connect over HTTPS (SSL).
setSecure(boolean) - Method in class org.apache.commons.httpclient.Cookie
Set my secure flag.
setSoTimeout(int) - Method in class org.apache.commons.httpclient.HttpConnection
Set my Socket's timeout, via Socket.setSoTimeout(int).
setSSLSocketFactory(SSLSocketFactory) - Method in class org.apache.commons.httpclient.HttpConnection
Specifies an alternative factory for SSL sockets.
setSSLSocketFactory(SSLSocketFactory) - Method in class org.apache.commons.httpclient.HttpMultiClient
Specifies an alternative factory for SSL sockets.
setSSLSocketFactory(SSLSocketFactory) - Method in class org.apache.commons.httpclient.HttpClient
Specifies an alternative factory for SSL sockets.
setState(HttpSharedState) - Method in class org.apache.commons.httpclient.HttpMultiClient
Set the shared state.
setState(HttpState) - Method in class org.apache.commons.httpclient.HttpClient
Set my state.
setStrictMode(boolean) - Method in class org.apache.commons.httpclient.HttpMethodBase
Turns strict mode on or off.
setStrictMode(boolean) - Method in interface org.apache.commons.httpclient.HttpMethod
Turns strict mode on or off.
setStrictMode(boolean) - Method in class org.apache.commons.httpclient.HttpMultiClient
 
setTempDir(String) - Method in class org.apache.commons.httpclient.methods.GetMethod
Temporary directory setter.
setTempFile(String) - Method in class org.apache.commons.httpclient.methods.GetMethod
Temporary file setter.
setTimeout(int) - Method in class org.apache.commons.httpclient.HttpClient
Sets the SO_TIMEOUT which is the timeout for waiting for data.
setUrl(String) - Method in interface org.apache.commons.httpclient.HttpUrlMethod
Sets the URL.
setUrl(String) - Method in class org.apache.commons.httpclient.methods.UrlPutMethod
Sets the URL.
setUrl(String) - Method in class org.apache.commons.httpclient.methods.UrlOptionsMethod
Sets the URL.
setUrl(String) - Method in class org.apache.commons.httpclient.methods.UrlHeadMethod
Sets the URL.
setUrl(String) - Method in class org.apache.commons.httpclient.methods.UrlDeleteMethod
Sets the URL.
setUrl(String) - Method in class org.apache.commons.httpclient.methods.UrlGetMethod
Sets the URL.
setUrl(String) - Method in class org.apache.commons.httpclient.methods.UrlPostMethod
Sets the URL.
setUseCaches(boolean) - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not available: the data must have already been retrieved.
setUseChunking(boolean) - Method in class org.apache.commons.httpclient.RequestOutputStream
Use chunking flag setter.
setUseDisk(boolean) - Method in class org.apache.commons.httpclient.methods.GetMethod
Buffer the response in a file or not.
setUserName(String) - Method in class org.apache.commons.httpclient.UsernamePasswordCredentials
User name property setter.
setValue(String) - Method in class org.apache.commons.httpclient.NameValuePair
Value property setter.
setVersion(int) - Method in class org.apache.commons.httpclient.Cookie
Set the version of the HTTP cookie specification I report.
shutdownOutput() - Method in class org.apache.commons.httpclient.HttpConnection
Shutdown my Socket's output, via Socket.shutdownOutput().
startSession(String, int) - Method in class org.apache.commons.httpclient.HttpClient
Start an HTTP session with the server at the given host and port.
startSession(String, int, boolean) - Method in class org.apache.commons.httpclient.HttpClient
Start an HTTP or HTTPS session with the server at the given host and port.
startSession(String, int, Credentials) - Method in class org.apache.commons.httpclient.HttpClient
Start an HTTP session with the server at the given host and port using the given default default credentials.
startSession(String, int, Credentials, boolean) - Method in class org.apache.commons.httpclient.HttpClient
Start an HTTP or HTTPS session with the server at the given host and port using the given default default credentials.
startSession(String, int, String, int) - Method in class org.apache.commons.httpclient.HttpClient
Start an HTTP session with the server specified by the given host and port via the given proxyhost and proxyport.
startSession(String, int, String, int, boolean) - Method in class org.apache.commons.httpclient.HttpClient
Start an HTTP session with the server specified by the given host and port via the given proxyhost and proxyport.
startSession(URL) - Method in class org.apache.commons.httpclient.HttpClient
Start an HTTP or HTTPS session with the server specified by the protocol, host and port of the given url.
startSession(URL, Credentials) - Method in class org.apache.commons.httpclient.HttpClient
Start an HTTP or HTTPS session with the server specified by the protocol, host and port of the given url, using the given credentials by default.

T

toExternalForm() - Method in class org.apache.commons.httpclient.Header
Get a String representation of me, suitable for use in an HTTP head.
toExternalForm() - Method in class org.apache.commons.httpclient.Cookie
Return a string suitable for sending in a Cookie header.
toString() - Method in class org.apache.commons.httpclient.NameValuePair
Get a String representation of this pair.
toString() - Method in class org.apache.commons.httpclient.Header
Returns a String representation of me.
toString() - Method in class org.apache.commons.httpclient.Cookie
Return a String representation of me.
TraceMethod - class org.apache.commons.httpclient.methods.TraceMethod.
TRACE method.
TraceMethod(String) - Constructor for class org.apache.commons.httpclient.methods.TraceMethod
Path-setting constructor.
tunnelCreated() - Method in class org.apache.commons.httpclient.HttpConnection
Calling this method indicates that the proxy has successfully created the tunnel to the host.

U

unreserved() - Static method in class org.apache.commons.httpclient.URIUtil
 
URIUtil - class org.apache.commons.httpclient.URIUtil.
General purpose methods for encoding URI's, as described in RFC 2396.
URIUtil() - Constructor for class org.apache.commons.httpclient.URIUtil
 
UrlDeleteMethod - class org.apache.commons.httpclient.methods.UrlDeleteMethod.
HttpUrlMethod version of DeleteMethod.
UrlDeleteMethod() - Constructor for class org.apache.commons.httpclient.methods.UrlDeleteMethod
No-arg constructor.
UrlDeleteMethod(String) - Constructor for class org.apache.commons.httpclient.methods.UrlDeleteMethod
Path-setting constructor.
UrlGetMethod - class org.apache.commons.httpclient.methods.UrlGetMethod.
Implements the URL version of GetMethod.
UrlGetMethod() - Constructor for class org.apache.commons.httpclient.methods.UrlGetMethod
No-arg constructor.
UrlGetMethod(String) - Constructor for class org.apache.commons.httpclient.methods.UrlGetMethod
 
UrlGetMethod(String, File) - Constructor for class org.apache.commons.httpclient.methods.UrlGetMethod
Constructor.
UrlGetMethod(String, String) - Constructor for class org.apache.commons.httpclient.methods.UrlGetMethod
 
UrlGetMethod(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.UrlGetMethod
Constructor.
UrlHeadMethod - class org.apache.commons.httpclient.methods.UrlHeadMethod.
HttpUrlMethod version of HeadMethod.
UrlHeadMethod() - Constructor for class org.apache.commons.httpclient.methods.UrlHeadMethod
No-arg constructor.
UrlHeadMethod(String) - Constructor for class org.apache.commons.httpclient.methods.UrlHeadMethod
Path-setting constructor.
UrlOptionsMethod - class org.apache.commons.httpclient.methods.UrlOptionsMethod.
HttpUrlMethod version of Options method.
UrlOptionsMethod() - Constructor for class org.apache.commons.httpclient.methods.UrlOptionsMethod
No-arg constructor.
UrlOptionsMethod(String) - Constructor for class org.apache.commons.httpclient.methods.UrlOptionsMethod
Path-setting constructor.
UrlPostMethod - class org.apache.commons.httpclient.methods.UrlPostMethod.
HttpUrlMethod version of PostMethod.
UrlPostMethod() - Constructor for class org.apache.commons.httpclient.methods.UrlPostMethod
No-arg constructor.
UrlPostMethod(String) - Constructor for class org.apache.commons.httpclient.methods.UrlPostMethod
Path-setting constructor.
UrlPostMethod(String, String) - Constructor for class org.apache.commons.httpclient.methods.UrlPostMethod
Constructor.
UrlPostMethod(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.UrlPostMethod
Constructor.
UrlPutMethod - class org.apache.commons.httpclient.methods.UrlPutMethod.
HttpUrlMethod version of PutMethod.
UrlPutMethod() - Constructor for class org.apache.commons.httpclient.methods.UrlPutMethod
No-arg constructor.
UrlPutMethod(String) - Constructor for class org.apache.commons.httpclient.methods.UrlPutMethod
Path-setting constructor.
USER_AGENT - Static variable in class org.apache.commons.httpclient.HttpMethodBase
The User-Agent header sent on every request.
UsernamePasswordCredentials - class org.apache.commons.httpclient.UsernamePasswordCredentials.
Username and password Credentials.
UsernamePasswordCredentials() - Constructor for class org.apache.commons.httpclient.UsernamePasswordCredentials
Default constructor.
UsernamePasswordCredentials(String, String) - Constructor for class org.apache.commons.httpclient.UsernamePasswordCredentials
Constructor.
usingProxy() - Method in class org.apache.commons.httpclient.util.HttpURLConnection
Not yet implemented.

V

validate() - Method in class org.apache.commons.httpclient.HttpMethodBase
Confirm that I am ready to execute.
validate() - Method in interface org.apache.commons.httpclient.HttpMethod
Confirm that I am ready to execute.

W

wireLog - Static variable in class org.apache.commons.httpclient.ResponseInputStream
Log for wire messages.
WireLogInputStream - class org.apache.commons.httpclient.WireLogInputStream.
Logs all data read to the wire log.
WireLogInputStream(InputStream) - Constructor for class org.apache.commons.httpclient.WireLogInputStream
 
write(byte[]) - Method in class org.apache.commons.httpclient.HttpConnection
Write the specified bytes to my output stream.
write(byte[], int, int) - Method in class org.apache.commons.httpclient.RequestOutputStream
Write the specified byte array.
write(byte[], int, int) - Method in class org.apache.commons.httpclient.HttpConnection
Write length bytes in data starting at offset to my output stream.
write(int) - Method in class org.apache.commons.httpclient.RequestOutputStream
Write the specified byte to our output stream.
writeLine() - Method in class org.apache.commons.httpclient.HttpConnection
Write "\r\n".getBytes() to my output stream.
writeLine(byte[]) - Method in class org.apache.commons.httpclient.HttpConnection
Write the specified bytes, followed by "\r\n".getBytes() to my output stream.
writeRequest(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Writes my request to the given HttpConnection.
writeRequestBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Write the request body to the given HttpConnection
writeRequestBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.PutMethod
Override the method of HttpMethodBase to not send any data until the 100 Continue status has not be read.
writeRequestBody(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.methods.PostMethod
Override method of HttpMethodBase to write request parameters as the request body.
writeRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Writes the request headers to the given HttpConnection.
writeRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
Writes a minimal set of headers to the proxy.
writeRequestLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Writes the "request line" to the given HttpConnection.
writeRequestLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.ConnectMethod
Special Connect request.

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

Copyright (c) 2001 - Apache Software Foundation