A C D E F 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.
addCookieRequestHeader(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Adds a Cookie request containing the matching Cookies, if any, as long as no Cookie request header already exists.
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).
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(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Override method of HttpMethodBase to throw IllegalStateException if my request body has already been generated.
addRequestHeader(Header) - Method in class org.apache.commons.httpclient.HttpMethodBase
Add 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(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.PostMethod
Override method of HttpMethodBase to also add Content-Type header when appropriate.
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.
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.
ALL - Static variable in interface org.apache.commons.httpclient.log.Log
All logging level.
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.

C

checkNotUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Throws an IllegalStateException if used by not recycled.
checkUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Throws an IllegalStateException if not used since last recycle.
close() - Method in class org.apache.commons.httpclient.HttpConnection
Close my socket and streams.
close() - Method in class org.apache.commons.httpclient.ResponseInputStream
Close this input stream.
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.
closeSocketAndStreams() - Method in class org.apache.commons.httpclient.HttpConnection
Close everything out.
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

DEBUG - Static variable in interface org.apache.commons.httpclient.log.Log
"Debug" level logging.
debug(Object) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
debug(Object) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
debug(Object) - Method in interface org.apache.commons.httpclient.log.Log
 
debug(Object) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
debug(Object, Throwable) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
debug(Object, Throwable) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
debug(Object, Throwable) - Method in interface org.apache.commons.httpclient.log.Log
 
debug(Object, Throwable) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
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[], 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.

E

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.
ERROR - Static variable in interface org.apache.commons.httpclient.log.Log
"Error" level logging.
error(Object) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
error(Object) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
error(Object) - Method in interface org.apache.commons.httpclient.log.Log
 
error(Object) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
error(Object, Throwable) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
error(Object, Throwable) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
error(Object, Throwable) - Method in interface org.apache.commons.httpclient.log.Log
 
error(Object, Throwable) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
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.
executeMethod(HttpMethod) - Method in class org.apache.commons.httpclient.HttpClient
Execute the given HttpMethod using my current connection and HttpState.

F

FATAL - Static variable in interface org.apache.commons.httpclient.log.Log
"Fatal" level logging.
fatal(Object) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
fatal(Object) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
fatal(Object) - Method in interface org.apache.commons.httpclient.log.Log
 
fatal(Object) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
fatal(Object, Throwable) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
fatal(Object, Throwable) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
fatal(Object, Throwable) - Method in interface org.apache.commons.httpclient.log.Log
 
fatal(Object, Throwable) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
fileData - Variable in class org.apache.commons.httpclient.methods.GetMethod
File which contains the buffered data.
followRedirects() - Method in class org.apache.commons.httpclient.HttpMethodBase
Whether or not I should automatically follow HTTP redirects (status code 302, etc.)
followRedirects() - Method in interface org.apache.commons.httpclient.HttpMethod
Whether or not I should automatically follow HTTP redirects (status code 302, etc.)

G

generateRequestBody(HashMap) - Method in class org.apache.commons.httpclient.methods.PostMethod
 
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.
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.
getCookies() - Method in class org.apache.commons.httpclient.HttpState
Obtain an array of my Cookies.
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.
getCredentials(String) - Method in class org.apache.commons.httpclient.HttpState
Get the Credentials for the given authentication realm.
getDomain() - Method in class org.apache.commons.httpclient.Cookie
Returns my domain.
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.
getHost() - Method in class org.apache.commons.httpclient.HttpConnection
Return my host.
getInstance(Class) - Static method in class org.apache.commons.httpclient.log.LogSource
 
getInstance(String) - Static method in class org.apache.commons.httpclient.log.LogSource
 
getLevel() - Method in class org.apache.commons.httpclient.log.NoOpLog
 
getLevel() - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
getLevel() - Method in interface org.apache.commons.httpclient.log.Log
 
getLevel() - Method in class org.apache.commons.httpclient.log.SimpleLog
 
getLogNames() - Static method in class org.apache.commons.httpclient.log.LogSource
Returns an iterator over the names of all logs known to me.
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.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.NameValuePair
Name property getter.
getName() - Method in class org.apache.commons.httpclient.methods.GetMethod
Returns "GET".
getName() - Method in class org.apache.commons.httpclient.methods.PostMethod
Returns "POST".
getName() - Method in class org.apache.commons.httpclient.methods.OptionsMethod
 
getName() - Method in class org.apache.commons.httpclient.methods.HeadMethod
Returns "HEAD".
getName() - Method in class org.apache.commons.httpclient.methods.PutMethod
Return "PUT".
getName() - Method in class org.apache.commons.httpclient.methods.DeleteMethod
Returns "DELETE".
getParameters() - Method in class org.apache.commons.httpclient.HeaderElement
Get parameters, if any.
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
Return my path.
getPort() - Method in class org.apache.commons.httpclient.HttpConnection
Return my port.
getProxyHost() - Method in class org.apache.commons.httpclient.HttpConnection
Return my proxy host.
getProxyPort() - Method in class org.apache.commons.httpclient.HttpConnection
Return my proxy port.
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.
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.PostMethod
Override method of HttpMethodBase to return the length of the request body.
getRequestContentLength() - Method in class org.apache.commons.httpclient.methods.PutMethod
Override the method of HttpMethodBase to return the appropriate content length.
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
Return an array of my request headers.
getRequestHeaders() - Method in interface org.apache.commons.httpclient.HttpMethod
Return an array of my request headers.
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.
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
Return my response body, if any, as a String.
getResponseBodyAsString() - Method in interface org.apache.commons.httpclient.HttpMethod
Return my response body, if any, as a String.
getResponseBodyAsString() - Method in class org.apache.commons.httpclient.methods.GetMethod
Return my response body, if any, as a String.
getResponseHeader(String) - Method in class org.apache.commons.httpclient.HttpMethodBase
Return the specified response headers.
getResponseHeader(String) - Method in interface org.apache.commons.httpclient.HttpMethod
Return the specified response header.
getResponseHeaders() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return an array my 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.
getSecure() - Method in class org.apache.commons.httpclient.Cookie
Return whether this cookie should only be sent over secure connections.
getState() - Method in class org.apache.commons.httpclient.HttpClient
Get my state.
getStatusCode() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return the status code associated with the latest response.
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
Return the status text (or "reason phrase") associated with the latest response.
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.
getUseDisk() - Method in class org.apache.commons.httpclient.methods.GetMethod
Use disk getter.
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
Return the version of the HTTP cookie specification I use.

H

hasBeenUsed() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return true if I have been executed but 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.
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.
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.
HttpException - exception org.apache.commons.httpclient.HttpException.
Signals that an HTTP or HTTP Client exception has occurred.
HttpException() - Constructor for class org.apache.commons.httpclient.HttpException
 
HttpException(String) - Constructor for class org.apache.commons.httpclient.HttpException
 
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.
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
 

I

INFO - Static variable in interface org.apache.commons.httpclient.log.Log
"Info" level logging.
info(Object) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
info(Object) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
info(Object) - Method in interface org.apache.commons.httpclient.log.Log
 
info(Object) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
info(Object, Throwable) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
info(Object, Throwable) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
info(Object, Throwable) - Method in interface org.apache.commons.httpclient.log.Log
 
info(Object, Throwable) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
isAllowed(String) - Method in class org.apache.commons.httpclient.methods.OptionsMethod
Is the specified method allowed ?
isDebugEnabled() - Method in class org.apache.commons.httpclient.log.NoOpLog
 
isDebugEnabled() - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
isDebugEnabled() - Method in interface org.apache.commons.httpclient.log.Log
 
isDebugEnabled() - Method in class org.apache.commons.httpclient.log.SimpleLog
 
isEnabledFor(Priority) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
isExpired() - Method in class org.apache.commons.httpclient.Cookie
Return true if I have expired.
isExpired(Date) - Method in class org.apache.commons.httpclient.Cookie
Return true if I have expired.
isHttp11() - Method in class org.apache.commons.httpclient.HttpMethodBase
Return true if I should use the HTTP/1.1 protocol.
isInfoEnabled() - Method in class org.apache.commons.httpclient.log.NoOpLog
 
isInfoEnabled() - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
isInfoEnabled() - Method in interface org.apache.commons.httpclient.log.Log
 
isInfoEnabled() - Method in class org.apache.commons.httpclient.log.SimpleLog
 
isOpen() - Method in class org.apache.commons.httpclient.HttpConnection
Return true if I am connected, false otherwise.
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.
isUseChunking() - Method in class org.apache.commons.httpclient.RequestOutputStream
Use chunking flag getter.

L

Log - interface org.apache.commons.httpclient.log.Log.
A simple logging interface abstracting log4j.
log(int, Object, Throwable) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
Log4JCategoryLog - class org.apache.commons.httpclient.log.Log4JCategoryLog.
 
Log4JCategoryLog(String) - Constructor for class org.apache.commons.httpclient.log.Log4JCategoryLog
 
LogSource - class org.apache.commons.httpclient.log.LogSource.
 

M

makeNewLogInstance(String) - Static method in class org.apache.commons.httpclient.log.LogSource
Create a new Log implementation, based on the given name
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.
memoryData - Variable in class org.apache.commons.httpclient.methods.GetMethod
If we're not using the HD, we're using a memory byte buffer.

N

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.
NoOpLog - class org.apache.commons.httpclient.log.NoOpLog.
 
NoOpLog() - Constructor for class org.apache.commons.httpclient.log.NoOpLog
 
NoOpLog(String) - Constructor for class org.apache.commons.httpclient.log.NoOpLog
 

O

OFF - Static variable in interface org.apache.commons.httpclient.log.Log
No logging level.
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.log - package org.apache.commons.httpclient.log
A simple logging abstraction wrapping log4j and other logging frameworks.
org.apache.commons.httpclient.methods - package org.apache.commons.httpclient.methods
Classes implementing HttpMethod for the base HTTP methods.

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
Constructor.
PostMethod(String, String, String) - Constructor for class org.apache.commons.httpclient.methods.PostMethod
Constructor.
print(String) - Method in class org.apache.commons.httpclient.HttpConnection
Write the specified String (as bytes) to my output stream.
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.
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.
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.ResponseInputStream
Read and return a single byte from this input stream, or -1 if end of file has been encountered.
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.
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
 
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.HeadMethod
 
recycle() - Method in class org.apache.commons.httpclient.methods.PutMethod
 
removeParameter(String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Override method of HttpMethodBase to throw IllegalStateException if my request body has already been generated.
removeParameter(String, String) - Method in class org.apache.commons.httpclient.methods.PostMethod
Override method of HttpMethodBase to throw IllegalStateException if my request body has already been generated.
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)
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.
setCredentials(String, Credentials) - Method in class org.apache.commons.httpclient.HttpState
Set the Credentials for the given authentication realm.
setDomain(String) - Method in class org.apache.commons.httpclient.Cookie
Sets my domain.
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.
setLevel(int) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
setLevel(int) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
setLevel(int) - Method in interface org.apache.commons.httpclient.log.Log
 
setLevel(int) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
setLevel(int) - Static method in class org.apache.commons.httpclient.log.LogSource
Sets the log level for all Logs known to me.
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
Override method of HttpMethodBase to throw IllegalStateException if my request body has already been generated.
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.
setPort(int) - Method in class org.apache.commons.httpclient.HttpConnection
Set my port.
setProxyHost(String) - Method in class org.apache.commons.httpclient.HttpConnection
Set the host I should proxy through.
setProxyPort(int) - Method in class org.apache.commons.httpclient.HttpConnection
Set the port I should proxy through.
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(String) - Method in class org.apache.commons.httpclient.methods.PutMethod
Set my request body content to the contents of a string.
setRequestBody(URL) - Method in class org.apache.commons.httpclient.methods.PutMethod
Set my request body content to the resource at the specified URL.
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.
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.
setState(HttpState) - Method in class org.apache.commons.httpclient.HttpClient
Set my state.
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.
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
Use disk setter.
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().
SimpleLog - class org.apache.commons.httpclient.log.SimpleLog.
 
SimpleLog(String) - Constructor for class org.apache.commons.httpclient.log.SimpleLog
 
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(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

tempDir - Variable in class org.apache.commons.httpclient.methods.GetMethod
Temporary directory to use.
tempFile - Variable in class org.apache.commons.httpclient.methods.GetMethod
Temporary file to use.
toExternalForm() - Method in class org.apache.commons.httpclient.Cookie
Return a string suitable for sending in a Cookie header.
toExternalForm() - Method in class org.apache.commons.httpclient.Header
Get a String representation of me, suitable for use in an HTTP head.
toString() - Method in class org.apache.commons.httpclient.NameValuePair
Get a String representation of this pair.
toString() - Method in class org.apache.commons.httpclient.Cookie
Return a String representation of me.
toString() - Method in class org.apache.commons.httpclient.Header
Returns a String representation of me.

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
 
useDisk - Variable in class org.apache.commons.httpclient.methods.GetMethod
By default, the get method will buffer read data to the memory.
USER_AGENT - Static variable in class org.apache.commons.httpclient.HttpMethodBase
User-Agent: Jakarta HTTP Client/1.0 header.
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.

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

WARN - Static variable in interface org.apache.commons.httpclient.log.Log
"Warn" level logging.
warn(Object) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
warn(Object) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
warn(Object) - Method in interface org.apache.commons.httpclient.log.Log
 
warn(Object) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
warn(Object, Throwable) - Method in class org.apache.commons.httpclient.log.NoOpLog
 
warn(Object, Throwable) - Method in class org.apache.commons.httpclient.log.Log4JCategoryLog
 
warn(Object, Throwable) - Method in interface org.apache.commons.httpclient.log.Log
 
warn(Object, Throwable) - Method in class org.apache.commons.httpclient.log.SimpleLog
 
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(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.PostMethod
Override method of HttpMethodBase to write request parameters as the request body.
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.
writeRequestHeaders(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Writes the request headers to the given HttpConnection.
writeRequestLine(HttpState, HttpConnection) - Method in class org.apache.commons.httpclient.HttpMethodBase
Writes the "request line" to the given HttpConnection.

_

_df - Static variable in class org.apache.commons.httpclient.log.SimpleLog
 
_log4jIsAvailable - Static variable in class org.apache.commons.httpclient.log.LogSource
 
_logLevel - Variable in class org.apache.commons.httpclient.log.SimpleLog
 
_logs - Static variable in class org.apache.commons.httpclient.log.LogSource
 
_name - Variable in class org.apache.commons.httpclient.log.SimpleLog
 
_showlogname - Static variable in class org.apache.commons.httpclient.log.SimpleLog
 
_showtime - Static variable in class org.apache.commons.httpclient.log.SimpleLog
 
_simplelogProps - Static variable in class org.apache.commons.httpclient.log.SimpleLog
 

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

Copyright (c) 2001 - Apache Software Foundation