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

A

acceptCookie(Cookie, RoRequest, RoResponse) - Method in interface HTTPClient.CookiePolicyHandler
This method is called for each cookie that a server tries to set via the Set-Cookie header.
addAuthorization(AuthorizationInfo) - Static method in class HTTPClient.AuthorizationInfo
Adds an authorization entry to the list using the default context.
addAuthorization(AuthorizationInfo, Object) - Static method in class HTTPClient.AuthorizationInfo
Adds an authorization entry to the list.
addAuthorization(String, int, String, String, String, NVPair[], Object) - Static method in class HTTPClient.AuthorizationInfo
Adds an authorization entry to the list using the default context.
addAuthorization(String, int, String, String, String, NVPair[], Object, Object) - Static method in class HTTPClient.AuthorizationInfo
Adds an authorization entry to the list.
addBasicAuthorization(String, int, String, String, String) - Static method in class HTTPClient.AuthorizationInfo
Adds an authorization entry for the "Basic" authorization scheme to the list using the default context.
addBasicAuthorization(String, int, String, String, String, Object) - Static method in class HTTPClient.AuthorizationInfo
Adds an authorization entry for the "Basic" authorization scheme to the list.
addBasicAuthorization(String, String, String) - Method in class HTTPClient.HTTPConnection
Adds an authorization entry for the "basic" authorization scheme to the list.
addCookie(Cookie) - Static method in class HTTPClient.CookieModule
Add the specified cookie to the list of cookies in the default context.
addCookie(Cookie, Object) - Static method in class HTTPClient.CookieModule
Add the specified cookie to the list of cookies for the specified context.
addDefaultModule(Class, int) - Static method in class HTTPClient.HTTPConnection
Adds a module to the default list.
addDigestAuthorization(String, int, String, String, String) - Static method in class HTTPClient.AuthorizationInfo
Adds an authorization entry for the "Digest" authorization scheme to the list using the default context.
addDigestAuthorization(String, int, String, String, String, Object) - Static method in class HTTPClient.AuthorizationInfo
Adds an authorization entry for the "Digest" authorization scheme to the list.
addDigestAuthorization(String, String, String) - Method in class HTTPClient.HTTPConnection
Adds an authorization entry for the "digest" authorization scheme to the list.
addModule(Class, int) - Method in class HTTPClient.HTTPConnection
Adds a module to the current list.
addPath(String) - Method in class HTTPClient.AuthorizationInfo
Adds the path from the given resource to our path list.
ALL - Static variable in class HTTPClient.Log
All the facilities - for use in setLogging (-1)
allowUI() - Method in interface HTTPClient.RoRequest
 
allowUI() - Method in class HTTPClient.Request
 
alphanumChar - Static variable in class HTTPClient.URI
 
appendTo(StringBuffer) - Method in class HTTPClient.HttpHeaderElement
Append this header element to the given buffer.
assembleHeader(Vector) - Static method in class HTTPClient.Util
Assembles a Vector of HttpHeaderElements into a full header string.
AUTH - Static variable in class HTTPClient.Log
The Authorization facility (8)
AuthorizationHandler - interface HTTPClient.AuthorizationHandler.
This is the interface that an Authorization handler must implement.
AuthorizationInfo - class HTTPClient.AuthorizationInfo.
Holds the information for an authorization response.
AuthorizationInfo(String, int, String, String, NVPair[], Object) - Constructor for class HTTPClient.AuthorizationInfo
Creates a new info structure for the specified host and port with the specified scheme, realm, params.
AuthorizationInfo(String, int, String, String, String) - Constructor for class HTTPClient.AuthorizationInfo
Creates a new info structure for the specified host and port with the specified scheme, realm and cookie.
AuthorizationPrompter - interface HTTPClient.AuthorizationPrompter.
This is the interface that a username/password prompter must implement.
AuthSchemeNotImplException - exception HTTPClient.AuthSchemeNotImplException.
Signals that the handling of a authorization scheme is not implemented.
AuthSchemeNotImplException() - Constructor for class HTTPClient.AuthSchemeNotImplException
Constructs an AuthSchemeNotImplException with no detail message.
AuthSchemeNotImplException(String) - Constructor for class HTTPClient.AuthSchemeNotImplException
Constructs an AuthSchemeNotImplException class with the specified detail message.

B

base64Decode(byte[]) - Static method in class HTTPClient.Codecs
This method decodes the given byte[] using the base64-encoding specified in RFC-2045 (Section 6.8).
base64Decode(String) - Static method in class HTTPClient.Codecs
This method decodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8).
base64Encode(byte[]) - Static method in class HTTPClient.Codecs
This method encodes the given byte[] using the base64-encoding specified in RFC-2045 (Section 6.8).
base64Encode(String) - Static method in class HTTPClient.Codecs
This method encodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8).

C

canonicalizePath(String) - Static method in class HTTPClient.URI
Remove all "/../" and "/./" from path, where possible.
chunkedDecode(InputStream) - Static method in class HTTPClient.Codecs
Decodes chunked data.
chunkedEncode(byte[], int, int, NVPair[], boolean) - Static method in class HTTPClient.Codecs
Encodes data used the chunked encoding.
chunkedEncode(byte[], NVPair[], boolean) - Static method in class HTTPClient.Codecs
Encodes data used the chunked encoding.
clone() - Method in class HTTPClient.AuthorizationInfo
 
clone() - Method in class HTTPClient.Response
 
clone() - Method in class HTTPClient.Request
 
close() - Method in class HTTPClient.HttpOutputStream
Closes the stream and causes the data to be sent if it has not already been done so.
Codecs - class HTTPClient.Codecs.
This class collects various encoders and decoders.
comment - Variable in class HTTPClient.Cookie2
 
comment_url - Variable in class HTTPClient.Cookie2
 
con - Variable in class HTTPClient.HttpURLConnection
the current connection
CONN - Static variable in class HTTPClient.Log
The HTTPConnection facility (1)
connect() - Method in class HTTPClient.HttpURLConnection
Connects to the server (if connection not still kept alive) and issues the request.
connections - Static variable in class HTTPClient.HttpURLConnection
the cache of HTTPConnections
COOKI - Static variable in class HTTPClient.Log
The Cookies facility (16)
Cookie - class HTTPClient.Cookie.
This class represents an http cookie as specified in Netscape's cookie spec; however, because not even Netscape follows their own spec, and because very few folks out there actually read specs but instead just look whether Netscape accepts their stuff, the Set-Cookie header field parser actually tries to follow what Netscape has implemented, instead of what the spec says.
Cookie(RoRequest) - Constructor for class HTTPClient.Cookie
Use parse() to create cookies.
Cookie(String, String, String, String, Date, boolean) - Constructor for class HTTPClient.Cookie
Create a cookie.
Cookie2 - class HTTPClient.Cookie2.
This class represents an http cookie as specified in the HTTP State Management Mechanism spec (also known as a version 1 cookie).
Cookie2(RoRequest) - Constructor for class HTTPClient.Cookie2
Use parse() to create cookies.
Cookie2(String, String, String, int[], String, Date, boolean, boolean, String, URI) - Constructor for class HTTPClient.Cookie2
Create a cookie.
CookieModule - class HTTPClient.CookieModule.
This module handles Netscape cookies (also called Version 0 cookies) and Version 1 cookies.
CookiePolicyHandler - interface HTTPClient.CookiePolicyHandler.
This is the interface that a cookie policy handler must implement.
copyFrom(Request) - Method in class HTTPClient.Request
Copy all the fields from other to this request.

D

DefaultAuthHandler - class HTTPClient.DefaultAuthHandler.
This class is the default authorization handler.
DefaultAuthHandler() - Constructor for class HTTPClient.DefaultAuthHandler
 
defaultPort(String) - Static method in class HTTPClient.URI
Return the default port used by a given protocol.
defaultPort(String) - Static method in class HTTPClient.Util
Deprecated. use URI.defaultPort() instead
defaultPorts - Static variable in class HTTPClient.URI
 
Delete(String) - Method in class HTTPClient.HTTPConnection
Requests that file be DELETEd from the server.
Delete(String, NVPair[]) - Method in class HTTPClient.HTTPConnection
Requests that file be DELETEd from the server.
deleteHeader(String) - Method in class HTTPClient.Response
Removes a header field from the list of headers.
deleteTrailer(String) - Method in class HTTPClient.Response
Removes a trailer field from the list of trailers.
DEMUX - Static variable in class HTTPClient.Log
The StreamDemultiplexor facility (4)
dequoteString(String) - Static method in class HTTPClient.Util
Replace quoted characters by their unquoted version.
discard - Variable in class HTTPClient.Cookie2
 
discard() - Method in class HTTPClient.Cookie
 
discard() - Method in class HTTPClient.Cookie2
 
discardAllCookies() - Static method in class HTTPClient.CookieModule
Discard all cookies for all contexts.
discardAllCookies(Object) - Static method in class HTTPClient.CookieModule
Discard all cookies for the given context.
disconnect() - Method in class HTTPClient.HttpURLConnection
Closes all the connections to this server.
domain - Variable in class HTTPClient.Cookie
 
domain_set - Variable in class HTTPClient.Cookie2
 
dontProxyFor(String) - Static method in class HTTPClient.HTTPConnection
Add host to the list of hosts which should be accessed directly, not via any proxy set by setProxyServer().
dontProxyFor(String[]) - Static method in class HTTPClient.HTTPConnection
Convenience method to add a number of hosts at once.
doProxyFor(String) - Static method in class HTTPClient.HTTPConnection
Remove host from the list of hosts for which the proxy should not be used.

E

ENABLE_BACKWARDS_COMPATIBILITY - Static variable in class HTTPClient.URI
If true, then the parser will resolve certain URI's in backwards compatible (but technically incorrect) manner.
equals(Object) - Method in class HTTPClient.Cookie
Two cookies match if the name, path and domain match.
equals(Object) - Method in class HTTPClient.HttpHeaderElement
Two elements are equal if they have the same name.
equals(Object) - Method in class HTTPClient.AuthorizationInfo
Two AuthorizationInfos are considered equal if their host, port, scheme and realm match.
equals(Object) - Method in class HTTPClient.URI
 
escape(char[], BitSet, boolean) - Static method in class HTTPClient.URI
Escape any character not in the given character class.
escape(String, BitSet, boolean) - Static method in class HTTPClient.URI
Escape any character not in the given character class.
escpdFragChar - Static variable in class HTTPClient.URI
list of characters which must not be escaped when escaping a fragment identifier
escpdPathChar - Static variable in class HTTPClient.URI
list of characters which must not be escaped when escaping a path
escpdQueryChar - Static variable in class HTTPClient.URI
list of characters which must not be escaped when escaping a query string
expires - Variable in class HTTPClient.Cookie
 
expires() - Method in class HTTPClient.Cookie
 
ExtensionMethod(String, String, byte[], NVPair[]) - Method in class HTTPClient.HTTPConnection
This is here to allow an arbitrary, non-standard request to be sent.
ExtensionMethod(String, String, HttpOutputStream, NVPair[]) - Method in class HTTPClient.HTTPConnection
This is here to allow an arbitrary, non-standard request to be sent.

F

FilenameMangler - interface HTTPClient.FilenameMangler.
Codecs.mpFormDataDecode and Codecs.mpFormDataEncode may be handed an instance of a class which implements this interface in order to control names of the decoded files or the names sent in the encoded data.
fixupAuthInfo(AuthorizationInfo, RoRequest, AuthorizationInfo, RoResponse) - Method in interface HTTPClient.AuthorizationHandler
This method is called whenever auth info is chosen from the list of known info in the AuthorizationInfo class to be sent with a request.
fixupAuthInfo(AuthorizationInfo, RoRequest, AuthorizationInfo, RoResponse) - Method in class HTTPClient.DefaultAuthHandler
For Digest authentication we need to set the uri, response and opaque parameters.
fragment - Variable in class HTTPClient.URI
 

G

GENERIC - Static variable in class HTTPClient.URI
 
Get(String) - Method in class HTTPClient.HTTPConnection
GETs the file.
Get(String, NVPair[]) - Method in class HTTPClient.HTTPConnection
GETs the file with a query consisting of the specified form-data.
Get(String, NVPair[], NVPair[]) - Method in class HTTPClient.HTTPConnection
GETs the file with a query consisting of the specified form-data.
Get(String, String) - Method in class HTTPClient.HTTPConnection
GETs the file using the specified query string.
Get(String, String, NVPair[]) - Method in class HTTPClient.HTTPConnection
GETs the file using the specified query string.
getAllowUserInteraction() - Method in class HTTPClient.HTTPConnection
returns whether modules are allowed to prompt or popup dialogs if neccessary.
getAuthHandler() - Static method in class HTTPClient.AuthorizationInfo
Get's the current authorization handler.
getAuthorization(AuthorizationInfo, RoRequest, RoResponse) - Method in interface HTTPClient.AuthorizationHandler
This method is called whenever a 401 or 407 response is received and no candidate info is found in the list of known auth info.
getAuthorization(AuthorizationInfo, RoRequest, RoResponse) - Method in class HTTPClient.DefaultAuthHandler
returns the requested authorization, or null if none was given.
getAuthorization(String, int, String, String) - Static method in class HTTPClient.AuthorizationInfo
Searches for the authorization info using the given host, port, scheme and realm.
getAuthorization(String, int, String, String, Object) - Static method in class HTTPClient.AuthorizationInfo
Searches for the authorization info in the given context using the given host, port, scheme and realm.
getComment() - Method in class HTTPClient.Cookie2
 
getCommentURL() - Method in class HTTPClient.Cookie2
 
getConnection() - Method in interface HTTPClient.RoRequest
 
getConnection() - Method in class HTTPClient.Request
 
getConnection(URL) - Method in class HTTPClient.HttpURLConnection
Returns an HTTPConnection.
getContext() - Method in class HTTPClient.HTTPConnection
Returns the current context.
getCookie() - Method in class HTTPClient.AuthorizationInfo
Get the cookie
getData() - Method in interface HTTPClient.RoResponse
Reads all the response data into a byte array.
getData() - Method in class HTTPClient.HTTPResponse
Reads all the response data into a byte array.
getData() - Method in interface HTTPClient.RoRequest
 
getData() - Method in class HTTPClient.Response
Reads all the response data into a byte array.
getData() - Method in class HTTPClient.Request
 
getDefaultAllowUserInteraction() - Static method in class HTTPClient.HTTPConnection
Gets the default allow-user-action.
getDefaultContext() - Static method in class HTTPClient.HTTPConnection
Returns the default context.
getDefaultHeaders() - Method in class HTTPClient.HTTPConnection
Gets the current list of default http headers.
getDefaultModules() - Static method in class HTTPClient.HTTPConnection
Returns the default list of modules.
getDefaultRequestProperty(String) - Static method in class HTTPClient.HttpURLConnection
Gets the value for a given default request header.
getDefaultTimeout() - Static method in class HTTPClient.HTTPConnection
Gets the default timeout value to be used for each new HTTPConnection.
getDomain() - Method in class HTTPClient.Cookie
Return the domain this cookie is valid in.
getEffectiveURI() - Method in class HTTPClient.HTTPResponse
Get the final URI of the document.
getEffectiveURI() - Method in class HTTPClient.Response
get the final URI of the document.
getEffectiveURL() - Method in class HTTPClient.HTTPResponse
Deprecated. use getEffectiveURI() instead
getEffectiveURL() - Method in class HTTPClient.Response
Deprecated. use getEffectiveURI() instead
getElement(Vector, String) - Static method in class HTTPClient.Util
Get the HttpHeaderElement with the name name.
getErrorStream() - Method in class HTTPClient.HttpURLConnection
Returns the error stream if the connection failed but the server sent useful data nonetheless.
getExtraInfo() - Method in class HTTPClient.AuthorizationInfo
Get the extra info.
getFragment() - Method in class HTTPClient.URI
 
getFragment(String) - Static method in class HTTPClient.Util
Extract the fragment part from an http resource.
getHeader(String) - Method in interface HTTPClient.RoResponse
retrieves the field for a given header.
getHeader(String) - Method in class HTTPClient.HTTPResponse
Retrieves the value for a given header.
getHeader(String) - Method in class HTTPClient.Response
retrieves the field for a given header.
getHeaderAsDate(String) - Method in interface HTTPClient.RoResponse
retrieves the field for a given header.
getHeaderAsDate(String) - Method in class HTTPClient.HTTPResponse
Retrieves the value for a given header.
getHeaderAsDate(String) - Method in class HTTPClient.Response
retrieves the field for a given header.
getHeaderAsInt(String) - Method in interface HTTPClient.RoResponse
retrieves the field for a given header.
getHeaderAsInt(String) - Method in class HTTPClient.HTTPResponse
Retrieves the value for a given header.
getHeaderAsInt(String) - Method in class HTTPClient.Response
retrieves the field for a given header.
getHeaderField(int) - Method in class HTTPClient.HttpURLConnection
Gets header value of the n-th header.
getHeaderField(String) - Method in class HTTPClient.HttpURLConnection
Get the value part of a header.
getHeaderFieldDate(String, long) - Method in class HTTPClient.HttpURLConnection
Get the value part of a header, interprets it as a date and converts it to a long representing the number of milliseconds since 1970.
getHeaderFieldInt(String, int) - Method in class HTTPClient.HttpURLConnection
Get the value part of a header and converts it to an int.
getHeaderFieldKey(int) - Method in class HTTPClient.HttpURLConnection
Gets header name of the n-th header.
getHeaders() - Method in interface HTTPClient.RoRequest
 
getHeaders() - Method in class HTTPClient.Request
 
getHost() - Method in class HTTPClient.AuthorizationInfo
Get the host.
getHost() - Method in class HTTPClient.URI
 
getHost() - Method in class HTTPClient.HTTPConnection
Returns the host this connection is talking to.
getInputStream() - Method in interface HTTPClient.RoResponse
Gets an input stream from which the returned data can be read.
getInputStream() - Method in class HTTPClient.HTTPResponse
Gets an input stream from which the returned data can be read.
getInputStream() - Method in class HTTPClient.HttpURLConnection
Gets an input stream from which the data in the response may be read.
getInputStream() - Method in class HTTPClient.Response
Gets an input stream from which the returned data can be read.
getInstanceFollowRedirects() - Method in class HTTPClient.HttpURLConnection
 
getLength() - Method in class HTTPClient.HttpOutputStream
Returns the number of bytes this stream is willing to accept, or -1 if it is unbounded.
getMethod() - Method in interface HTTPClient.RoRequest
 
getMethod() - Method in class HTTPClient.Request
 
getModules() - Method in class HTTPClient.HTTPConnection
Returns the list of modules used currently.
getName() - Method in class HTTPClient.Cookie
Return the name of this cookie.
getName() - Method in class HTTPClient.HttpHeaderElement
 
getName() - Method in class HTTPClient.NVPair
Get the name.
getOpaque() - Method in class HTTPClient.URI
 
getOriginalURI() - Method in class HTTPClient.HTTPResponse
Get the original URI used in the request.
getOutputStream() - Method in class HTTPClient.HttpURLConnection
Gets an output stream which can be used send an entity with the request.
getParameter(String, String) - Static method in class HTTPClient.Util
retrieves the value associated with the parameter param in a given header string.
getParams() - Method in class HTTPClient.HttpHeaderElement
 
getParams() - Method in class HTTPClient.AuthorizationInfo
Get the authentication parameters.
getParams(String) - Static method in class HTTPClient.Util
Extract the params part from an http resource.
getPath() - Method in class HTTPClient.Cookie
Return the path this cookie is associated with.
getPath() - Method in class HTTPClient.URI
 
getPath(String) - Static method in class HTTPClient.Util
Extract the path from an http resource.
getPathAndQuery() - Method in class HTTPClient.URI
 
getPort() - Method in class HTTPClient.AuthorizationInfo
Get the port.
getPort() - Method in class HTTPClient.URI
 
getPort() - Method in class HTTPClient.HTTPConnection
Returns the port this connection connects to.
getPorts() - Method in class HTTPClient.Cookie2
 
getProtocol() - Method in class HTTPClient.HTTPConnection
Returns the protocol this connection is talking.
getProxyHost() - Method in class HTTPClient.HTTPConnection
Returns the host of the proxy this connection is using.
getProxyPort() - Method in class HTTPClient.HTTPConnection
Returns the port of the proxy this connection is using.
getQuery(String) - Static method in class HTTPClient.Util
Extract the query string from an http resource.
getQueryString() - Method in class HTTPClient.URI
 
getRealm() - Method in class HTTPClient.AuthorizationInfo
Get the realm.
getReasonLine() - Method in interface HTTPClient.RoResponse
 
getReasonLine() - Method in class HTTPClient.HTTPResponse
Give the reason line associated with the status code.
getReasonLine() - Method in class HTTPClient.Response
give the reason line associated with the status code.
getRequestMethod() - Method in class HTTPClient.HttpURLConnection
Return the request method used.
getRequestProperty(String) - Method in class HTTPClient.HttpURLConnection
Gets the value of a given request header.
getRequestURI() - Method in interface HTTPClient.RoRequest
 
getRequestURI() - Method in class HTTPClient.Request
 
getResponseCode() - Method in class HTTPClient.HttpURLConnection
Get the response code.
getResponseMessage() - Method in class HTTPClient.HttpURLConnection
Get the response message describing the response code.
getScheme() - Method in class HTTPClient.AuthorizationInfo
Get the scheme.
getScheme() - Method in class HTTPClient.URI
 
getServer() - Method in class HTTPClient.HTTPResponse
Deprecated. This method is a remnant of V0.1; use getHeader("Server") instead.
getStatusCode() - Method in interface HTTPClient.RoResponse
give the status code for this request.
getStatusCode() - Method in class HTTPClient.HTTPResponse
Give the status code for this request.
getStatusCode() - Method in class HTTPClient.Response
give the status code for this request.
getStream() - Method in interface HTTPClient.RoRequest
 
getStream() - Method in class HTTPClient.Request
 
getText() - Method in class HTTPClient.HTTPResponse
Reads all the response data into a buffer and turns it into a string using the appropriate character converter.
getTimeout() - Method in class HTTPClient.HTTPConnection
Gets the timeout used for reading response data.
getTrailer(String) - Method in interface HTTPClient.RoResponse
Retrieves the field for a given trailer.
getTrailer(String) - Method in class HTTPClient.HTTPResponse
Retrieves the value for a given trailer.
getTrailer(String) - Method in class HTTPClient.Response
Retrieves the field for a given trailer.
getTrailerAsDate(String) - Method in interface HTTPClient.RoResponse
Retrieves the field for a given trailer.
getTrailerAsDate(String) - Method in class HTTPClient.HTTPResponse
Retrieves the value for a given trailer.
getTrailerAsDate(String) - Method in class HTTPClient.Response
Retrieves the field for a given trailer.
getTrailerAsInt(String) - Method in interface HTTPClient.RoResponse
Retrieves the field for a given tailer.
getTrailerAsInt(String) - Method in class HTTPClient.HTTPResponse
Retrieves the value for a given tailer.
getTrailerAsInt(String) - Method in class HTTPClient.Response
Retrieves the field for a given tailer.
getTrailers() - Method in class HTTPClient.HttpOutputStream
Gets the trailers which were set with setTrailers().
getURL() - Method in class HTTPClient.HttpURLConnection
Gets the url for this connection.
getUserinfo() - Method in class HTTPClient.URI
 
getUsernamePassword(AuthorizationInfo, boolean) - Method in interface HTTPClient.AuthorizationPrompter
This method is invoked whenever a username and password is required for an authentication challenge to proceed.
getValue() - Method in class HTTPClient.Cookie
Return the value of this cookie.
getValue() - Method in class HTTPClient.HttpHeaderElement
 
getValue() - Method in class HTTPClient.NVPair
Get the value.
getVersion() - Method in interface HTTPClient.RoResponse
 
getVersion() - Method in class HTTPClient.HTTPResponse
Get the HTTP version used for the response.
getVersion() - Method in class HTTPClient.Cookie2
 
getVersion() - Method in class HTTPClient.Response
get the HTTP version used for the response.

H

handleAuthHeaders(Response, RoRequest, AuthorizationInfo, AuthorizationInfo) - Method in interface HTTPClient.AuthorizationHandler
Sometimes even non-401 responses will contain headers pertaining to authorization (such as the "Authentication-Info" header).
handleAuthHeaders(Response, RoRequest, AuthorizationInfo, AuthorizationInfo) - Method in class HTTPClient.DefaultAuthHandler
We handle the "Authentication-Info" and "Proxy-Authentication-Info" headers here.
handleAuthTrailers(Response, RoRequest, AuthorizationInfo, AuthorizationInfo) - Method in interface HTTPClient.AuthorizationHandler
This method is similar to handleAuthHeaders except that it is called if any headers in the trailer were sent.
handleAuthTrailers(Response, RoRequest, AuthorizationInfo, AuthorizationInfo) - Method in class HTTPClient.DefaultAuthHandler
We handle the "Authentication-Info" and "Proxy-Authentication-Info" trailers here.
Handler - class HTTPClient.http.Handler.
This class implements a URLStreamHandler for http URLs.
Handler - class HTTPClient.https.Handler.
This class implements a URLStreamHandler for https URLs.
Handler() - Constructor for class HTTPClient.http.Handler
 
Handler() - Constructor for class HTTPClient.https.Handler
 
hasEntity() - Method in class HTTPClient.Response
Some responses such as those from a HEAD or with certain status codes don't have an entity.
hasExpired() - Method in class HTTPClient.Cookie
 
hashCode() - Method in class HTTPClient.Cookie
Hash up name, path and domain into new hash.
hashCode() - Method in class HTTPClient.AuthorizationInfo
Produces a hash code based on host, scheme and realm.
hashCode() - Method in class HTTPClient.URI
The hash code is calculated over scheme, host, path, and query.
hasToken(String, String) - Static method in class HTTPClient.Util
Determines if the given header contains a certain token.
Head(String) - Method in class HTTPClient.HTTPConnection
Sends the HEAD request.
Head(String, NVPair[]) - Method in class HTTPClient.HTTPConnection
Sends the HEAD request.
Head(String, NVPair[], NVPair[]) - Method in class HTTPClient.HTTPConnection
Sends the HEAD request.
Head(String, String) - Method in class HTTPClient.HTTPConnection
Sends the HEAD request.
Head(String, String, NVPair[]) - Method in class HTTPClient.HTTPConnection
Sends the HEAD request.
host - Variable in class HTTPClient.URI
 
hostChar - Static variable in class HTTPClient.URI
 
HTTPClient - package HTTPClient
This package provides a complete http client library.
HTTPClient.http - package HTTPClient.http
Provides the URLStreamHandler for the http scheme.
HTTPClient.https - package HTTPClient.https
Provides the URLStreamHandler for the https scheme.
HTTPClientModule - interface HTTPClient.HTTPClientModule.
This is the interface that a module must implement.
HTTPClientModuleConstants - interface HTTPClient.HTTPClientModuleConstants.
This interface defines the return codes that the handlers in modules may return.
HTTPConnection - class HTTPClient.HTTPConnection.
This class implements http protocol requests; it contains most of HTTP/1.1 and ought to be unconditionally compliant.
HTTPConnection(Applet) - Constructor for class HTTPClient.HTTPConnection
Constructs a connection to the host from where the applet was loaded.
HTTPConnection(String) - Constructor for class HTTPClient.HTTPConnection
Constructs a connection to the specified host on port 80
HTTPConnection(String, int) - Constructor for class HTTPClient.HTTPConnection
Constructs a connection to the specified host on the specified port
HTTPConnection(String, String, int) - Constructor for class HTTPClient.HTTPConnection
Constructs a connection to the specified host on the specified port, using the specified protocol (currently only "http" is supported).
HTTPConnection(String, String, int, InetAddress, int) - Constructor for class HTTPClient.HTTPConnection
Constructs a connection to the specified host on the specified port, using the specified protocol (currently only "http" is supported), local address, and local port.
HTTPConnection(URI) - Constructor for class HTTPClient.HTTPConnection
Constructs a connection to the host (port) as given in the uri.
HTTPConnection(URL) - Constructor for class HTTPClient.HTTPConnection
Constructs a connection to the host (port) as given in the url.
httpDate(Date) - Static method in class HTTPClient.Util
This returns a string containing the date and time in date formatted according to a subset of RFC-1123.
HttpHeaderElement - class HTTPClient.HttpHeaderElement.
This class holds a description of an http header element.
HttpHeaderElement(String) - Constructor for class HTTPClient.HttpHeaderElement
Construct an element with the given name.
HttpHeaderElement(String, String, NVPair[]) - Constructor for class HTTPClient.HttpHeaderElement
 
HttpOutputStream - class HTTPClient.HttpOutputStream.
This class provides an output stream for requests.
HttpOutputStream() - Constructor for class HTTPClient.HttpOutputStream
Creates an output stream of unspecified length.
HttpOutputStream(int) - Constructor for class HTTPClient.HttpOutputStream
This creates an output stream which will take length bytes of data.
HTTPResponse - class HTTPClient.HTTPResponse.
This defines the http-response class returned by the requests.
HttpURLConnection - class HTTPClient.HttpURLConnection.
This class is a wrapper around HTTPConnection providing the interface defined by java.net.URLConnection and java.net.HttpURLConnection.
HttpURLConnection(URL) - Constructor for class HTTPClient.HttpURLConnection
Construct a connection to the specified url.

I

inp_stream - Variable in class HTTPClient.Response
our input stream (usually from the stream demux).
isCompatibleWith(URI) - Method in class HTTPClient.HTTPConnection
See if the given uri is compatible with this connection.
isEnabled(int) - Static method in class HTTPClient.Log
Check whether logging for the given facility is enabled or not.
isGenericURI() - Method in class HTTPClient.URI
Does the scheme specific part of this URI use the generic-URI syntax?
isSecure() - Method in class HTTPClient.Cookie
Return whether this cookie should only be sent over secure connections.
isSemiGenericURI() - Method in class HTTPClient.URI
Does the scheme specific part of this URI use the semi-generic-URI syntax?

L

listAllCookies() - Static method in class HTTPClient.CookieModule
List all stored cookies for all contexts.
listAllCookies(Object) - Static method in class HTTPClient.CookieModule
List all stored cookies for a given context.
listHeaders() - Method in class HTTPClient.HTTPResponse
Returns an enumeration of all the headers available via getHeader().
listTrailers() - Method in class HTTPClient.HTTPResponse
Returns an enumeration of all the trailers available via getTrailer().
Log - class HTTPClient.Log.
This is a simple logger for the HTTPClient.

M

main(String[]) - Static method in class HTTPClient.URI
Run test set.
mangleFilename(String, String) - Method in interface HTTPClient.FilenameMangler
This is invoked by Codecs.mpFormDataDecode for each file found in the data, just before the file is created and written.
markChar - Static variable in class HTTPClient.URI
 
MODS - Static variable in class HTTPClient.Log
The Modules facility (32)
ModuleException - exception HTTPClient.ModuleException.
Signals that an exception occured in a module.
ModuleException() - Constructor for class HTTPClient.ModuleException
Constructs an ModuleException with no detail message.
ModuleException(String) - Constructor for class HTTPClient.ModuleException
Constructs an ModuleException class with the specified detail message.
mpFormDataDecode(byte[], String, String) - Static method in class HTTPClient.Codecs
This method decodes a multipart/form-data encoded string.
mpFormDataDecode(byte[], String, String, FilenameMangler) - Static method in class HTTPClient.Codecs
This method decodes a multipart/form-data encoded string.
mpFormDataEncode(NVPair[], NVPair[], NVPair[]) - Static method in class HTTPClient.Codecs
This method encodes name/value pairs and files into a byte array using the multipart/form-data encoding.
mpFormDataEncode(NVPair[], NVPair[], NVPair[], FilenameMangler) - Static method in class HTTPClient.Codecs
This method encodes name/value pairs and files into a byte array using the multipart/form-data encoding.

N

name - Variable in class HTTPClient.Cookie
 
nv2query(NVPair[]) - Static method in class HTTPClient.Codecs
Turns an array of name/value pairs into the string "name1=value1&name2=value2&name3=value3".
NVPair - class HTTPClient.NVPair.
This class holds a Name/Value pair of strings.
NVPair(NVPair) - Constructor for class HTTPClient.NVPair
Creates a copy of a given name/value pair.
NVPair(String, String) - Constructor for class HTTPClient.NVPair
Creates a new name/value pair and initializes it to the specified name and value.

O

opaque - Variable in class HTTPClient.URI
 
OPAQUE - Static variable in class HTTPClient.URI
 
opaqueChar - Static variable in class HTTPClient.URI
 
openConnection(URL) - Method in class HTTPClient.http.Handler
 
openConnection(URL) - Method in class HTTPClient.https.Handler
 
Options(String) - Method in class HTTPClient.HTTPConnection
Request OPTIONS from the server.
Options(String, NVPair[]) - Method in class HTTPClient.HTTPConnection
Request OPTIONS from the server.
Options(String, NVPair[], byte[]) - Method in class HTTPClient.HTTPConnection
Request OPTIONS from the server.
Options(String, NVPair[], HttpOutputStream) - Method in class HTTPClient.HTTPConnection
Request OPTIONS from the server.

P

parse(String, RoRequest) - Static method in class HTTPClient.Cookie
Parses the Set-Cookie header into an array of Cookies.
parse(String, RoRequest) - Static method in class HTTPClient.Cookie2
Parses the Set-Cookie2 header into an array of Cookies.
ParseException - exception HTTPClient.ParseException.
Signals that something went wrong while parsing data.
ParseException() - Constructor for class HTTPClient.ParseException
Constructs an ParseException with no detail message.
ParseException(String) - Constructor for class HTTPClient.ParseException
Constructs an ParseException class with the specified detail message.
parseHeader(String) - Static method in class HTTPClient.Util
This parses the value part of a header.
parseHeader(String, boolean) - Static method in class HTTPClient.Util
This parses the value part of a header.
path - Variable in class HTTPClient.Cookie
 
path - Variable in class HTTPClient.URI
 
path_set - Variable in class HTTPClient.Cookie2
 
pcharChar - Static variable in class HTTPClient.URI
 
port - Variable in class HTTPClient.URI
 
port_list - Variable in class HTTPClient.Cookie2
 
port_list_str - Variable in class HTTPClient.Cookie2
 
port_set - Variable in class HTTPClient.Cookie2
 
Post(String) - Method in class HTTPClient.HTTPConnection
POSTs to the specified file.
Post(String, byte[]) - Method in class HTTPClient.HTTPConnection
POSTs the raw data to the specified file.
Post(String, byte[], NVPair[]) - Method in class HTTPClient.HTTPConnection
POSTs the raw data to the specified file using the specified headers.
Post(String, HttpOutputStream) - Method in class HTTPClient.HTTPConnection
POSTs the data written to the output stream to the specified file.
Post(String, HttpOutputStream, NVPair[]) - Method in class HTTPClient.HTTPConnection
POSTs the data written to the output stream to the specified file using the specified headers.
Post(String, NVPair[]) - Method in class HTTPClient.HTTPConnection
POSTs form-data to the specified file.
Post(String, NVPair[], NVPair[]) - Method in class HTTPClient.HTTPConnection
POST's form-data to the specified file using the specified headers.
Post(String, String) - Method in class HTTPClient.HTTPConnection
POSTs the data to the specified file.
Post(String, String, NVPair[]) - Method in class HTTPClient.HTTPConnection
POSTs the data to the specified file using the specified headers.
ProtocolNotSuppException - exception HTTPClient.ProtocolNotSuppException.
Signals that the protocol is not supported.
ProtocolNotSuppException() - Constructor for class HTTPClient.ProtocolNotSuppException
Constructs an ProtocolNotSuppException with no detail message.
ProtocolNotSuppException(String) - Constructor for class HTTPClient.ProtocolNotSuppException
Constructs an ProtocolNotSuppException class with the specified detail message.
Put(String, byte[]) - Method in class HTTPClient.HTTPConnection
PUTs the raw data into the specified file.
Put(String, byte[], NVPair[]) - Method in class HTTPClient.HTTPConnection
PUTs the raw data into the specified file using the additional headers.
Put(String, HttpOutputStream) - Method in class HTTPClient.HTTPConnection
PUTs the data written to the output stream into the specified file.
Put(String, HttpOutputStream, NVPair[]) - Method in class HTTPClient.HTTPConnection
PUTs the data written to the output stream into the specified file using the additional headers.
Put(String, String) - Method in class HTTPClient.HTTPConnection
PUTs the data into the specified file.
Put(String, String, NVPair[]) - Method in class HTTPClient.HTTPConnection
PUTs the data into the specified file using the additional headers for the request.

Q

query - Variable in class HTTPClient.URI
 
query2nv(String) - Static method in class HTTPClient.Codecs
Turns a string of the form "name1=value1&name2=value2&name3=value3" into an array of name/value pairs.
quotedPrintableDecode(String) - Static method in class HTTPClient.Codecs
This method does a quoted-printable decoding of the given string according to RFC-2045 (Section 6.7).
quotedPrintableEncode(String) - Static method in class HTTPClient.Codecs
This method does a quoted-printable encoding of the given string according to RFC-2045 (Section 6.7).
quoteString(String, String) - Static method in class HTTPClient.Util
Replace given characters by their quoted version.

R

reg_nameChar - Static variable in class HTTPClient.URI
 
removeAuthorization(AuthorizationInfo) - Static method in class HTTPClient.AuthorizationInfo
Removes an authorization entry from the list using the default context.
removeAuthorization(AuthorizationInfo, Object) - Static method in class HTTPClient.AuthorizationInfo
Removes an authorization entry from the list.
removeAuthorization(String, int, String, String) - Static method in class HTTPClient.AuthorizationInfo
Removes an authorization entry from the list using the default context.
removeAuthorization(String, int, String, String, Object) - Static method in class HTTPClient.AuthorizationInfo
Removes an authorization entry from the list.
removeCookie(Cookie) - Static method in class HTTPClient.CookieModule
Remove the specified cookie from the list of cookies in the default context.
removeCookie(Cookie, Object) - Static method in class HTTPClient.CookieModule
Remove the specified cookie from the list of cookies for the specified context.
removeDefaultModule(Class) - Static method in class HTTPClient.HTTPConnection
Removes a module from the default list.
removeModule(Class) - Method in class HTTPClient.HTTPConnection
Removes a module from the current list.
REQ_CONTINUE - Static variable in interface HTTPClient.HTTPClientModuleConstants
continue processing the request
REQ_NEWCON_RST - Static variable in interface HTTPClient.HTTPClientModuleConstants
using a new HTTPConnection, restart request processing
REQ_NEWCON_SND - Static variable in interface HTTPClient.HTTPClientModuleConstants
using a new HTTPConnection, send request immediately
REQ_RESPONSE - Static variable in interface HTTPClient.HTTPClientModuleConstants
response generated; go to phase 2
REQ_RESTART - Static variable in interface HTTPClient.HTTPClientModuleConstants
restart request processing with first module
REQ_RETURN - Static variable in interface HTTPClient.HTTPClientModuleConstants
response generated; return response immediately (no processing)
REQ_SHORTCIRC - Static variable in interface HTTPClient.HTTPClientModuleConstants
stop processing and send the request
Request - class HTTPClient.Request.
This class represents an http request.
Request(HTTPConnection, String, String, NVPair[], byte[], HttpOutputStream, boolean) - Constructor for class HTTPClient.Request
Creates a new request structure.
requestHandler(Request, Response[]) - Method in class HTTPClient.CookieModule
Invoked by the HTTPClient.
requestHandler(Request, Response[]) - Method in interface HTTPClient.HTTPClientModule
This is invoked before the request is sent.
reservedChar - Static variable in class HTTPClient.URI
 
reset() - Method in class HTTPClient.HttpOutputStream
Reset this output stream, so it may be reused in a retried request.
resp - Variable in class HTTPClient.HttpURLConnection
the response
RESP - Static variable in class HTTPClient.Log
The HTTPResponse facility (2)
Response - class HTTPClient.Response.
This class represents an intermediate response.
Response(String, int, String, NVPair[], byte[], InputStream, int) - Constructor for class HTTPClient.Response
Create a new response with the given info.
responsePhase1Handler(Response, RoRequest) - Method in class HTTPClient.CookieModule
Invoked by the HTTPClient.
responsePhase1Handler(Response, RoRequest) - Method in interface HTTPClient.HTTPClientModule
The phase 1 response handler.
responsePhase2Handler(Response, Request) - Method in class HTTPClient.CookieModule
Invoked by the HTTPClient.
responsePhase2Handler(Response, Request) - Method in interface HTTPClient.HTTPClientModule
The phase 2 response handler.
responsePhase3Handler(Response, RoRequest) - Method in class HTTPClient.CookieModule
Invoked by the HTTPClient.
responsePhase3Handler(Response, RoRequest) - Method in interface HTTPClient.HTTPClientModule
The phase 3 response handler.
resvdHostChar - Static variable in class HTTPClient.URI
list of characters which must not be unescaped when unescaping a host
resvdPathChar - Static variable in class HTTPClient.URI
list of characters which must not be unescaped when unescaping a path
resvdQueryChar - Static variable in class HTTPClient.URI
list of characters which must not be unescaped when unescaping a query string
resvdSchemeChar - Static variable in class HTTPClient.URI
list of characters which must not be unescaped when unescaping a scheme
resvdUIChar - Static variable in class HTTPClient.URI
list of characters which must not be unescaped when unescaping a userinfo
retryRequest() - Method in class HTTPClient.HTTPResponse
Should the request be retried by the application? If the application used an HttpOutputStream in the request then various modules (such as the redirection and authorization modules) are not able to resend the request themselves.
retryRequest() - Method in class HTTPClient.Response
 
RoRequest - interface HTTPClient.RoRequest.
This interface represents the read-only interface of an http request.
RoResponse - interface HTTPClient.RoResponse.
This interface represents read-only interface of an intermediate http response.
RSP_CONTINUE - Static variable in interface HTTPClient.HTTPClientModuleConstants
continue processing response
RSP_NEWCON_REQ - Static variable in interface HTTPClient.HTTPClientModuleConstants
go to phase 1 using a new HTTPConnection
RSP_NEWCON_SND - Static variable in interface HTTPClient.HTTPClientModuleConstants
send request using a new HTTPConnection
RSP_REQUEST - Static variable in interface HTTPClient.HTTPClientModuleConstants
new request generated; go to phase 1
RSP_RESTART - Static variable in interface HTTPClient.HTTPClientModuleConstants
restart response processing with first module
RSP_SEND - Static variable in interface HTTPClient.HTTPClientModuleConstants
new request generated; send request immediately (no processing)
RSP_SHORTCIRC - Static variable in interface HTTPClient.HTTPClientModuleConstants
stop processing and return response

S

sameHttpURL(URL, URL) - Static method in class HTTPClient.Util
Compares two http urls for equality.
scheme - Variable in class HTTPClient.URI
 
schemeChar - Static variable in class HTTPClient.URI
 
secure - Variable in class HTTPClient.Cookie
 
SEMI_GENERIC - Static variable in class HTTPClient.URI
 
sendCookie(Cookie, RoRequest) - Method in interface HTTPClient.CookiePolicyHandler
This method is called for each cookie that is eligible for sending with a request (according to the matching rules for the path, domain, protocol, etc).
sendWith(RoRequest) - Method in class HTTPClient.Cookie
 
sendWith(RoRequest) - Method in class HTTPClient.Cookie2
 
setAllowUI(boolean) - Method in class HTTPClient.Request
 
setAllowUserInteraction(boolean) - Method in class HTTPClient.HTTPConnection
Controls whether modules are allowed to prompt the user or pop up dialogs if neccessary.
setAuthHandler(AuthorizationHandler) - Static method in class HTTPClient.AuthorizationInfo
Set's the authorization handler.
setAuthorizationPrompter(AuthorizationPrompter) - Static method in class HTTPClient.DefaultAuthHandler
Set a new username/password prompter.
setConnection(HTTPConnection) - Method in class HTTPClient.Request
 
setContext(Object) - Method in class HTTPClient.HTTPConnection
Sets the current context.
setCookie(String) - Method in class HTTPClient.AuthorizationInfo
Set the cookie
setCookiePolicyHandler(CookiePolicyHandler) - Static method in class HTTPClient.CookieModule
Sets a new cookie policy handler.
setCurrentProxy(String, int) - Method in class HTTPClient.HTTPConnection
Sets the proxy used by this instance.
setData(byte[]) - Method in class HTTPClient.Request
 
setDefaultAllowUserInteraction(boolean) - Static method in class HTTPClient.HTTPConnection
Sets the default allow-user-action.
setDefaultHeaders(NVPair[]) - Method in class HTTPClient.HTTPConnection
Sets the default http headers to be sent with each request.
setDefaultRequestProperty(String, String) - Static method in class HTTPClient.HttpURLConnection
Sets an arbitrary default request header.
setDefaultTimeout(int) - Static method in class HTTPClient.HTTPConnection
Sets the default timeout value to be used for each new HTTPConnection.
setEffectiveURI(URI) - Method in class HTTPClient.Response
set the final URI of the document.
setEffectiveURL(URL) - Method in class HTTPClient.Response
Deprecated. use setEffectiveURI() instead
setExtraInfo(Object) - Method in class HTTPClient.AuthorizationInfo
Set the extra info.
setHeader(String, String) - Method in class HTTPClient.Response
Set a header field in the list of headers.
setHeaders(NVPair[]) - Method in class HTTPClient.Request
 
setIfModifiedSince(long) - Method in class HTTPClient.HttpURLConnection
Sets the If-Modified-Since header.
setInstanceFollowRedirects(boolean) - Method in class HTTPClient.HttpURLConnection
Enables or disables the automatic handling of redirection responses for this instance only.
setLogging(int, boolean) - Static method in class HTTPClient.Log
Enable or disable logging for the given facilities.
setLogWriter(Writer, boolean) - Static method in class HTTPClient.Log
Set the writer to which to log.
setMethod(String) - Method in class HTTPClient.Request
 
setParams(NVPair[]) - Method in class HTTPClient.AuthorizationInfo
Set the authentication parameters.
setProxyServer(String, int) - Static method in class HTTPClient.HTTPConnection
Sets the default proxy server to use.
setRawMode(boolean) - Method in class HTTPClient.HTTPConnection
Deprecated. This is not really needed anymore; in V0.2 request were synchronous and therefore to do pipelining you needed to disable the processing of responses.
setRequestMethod(String) - Method in class HTTPClient.HttpURLConnection
Sets the request method (e.g.
setRequestProperty(String, String) - Method in class HTTPClient.HttpURLConnection
Sets an arbitrary request header.
setRequestURI(String) - Method in class HTTPClient.Request
 
setRetryRequest(boolean) - Method in class HTTPClient.Response
Should the request be retried by the application? This can be used by modules to signal to the application that it should retry the request.
setSocksServer(String) - Static method in class HTTPClient.HTTPConnection
Sets the SOCKS server to use.
setSocksServer(String, int) - Static method in class HTTPClient.HTTPConnection
Sets the SOCKS server to use.
setSocksServer(String, int, int) - Static method in class HTTPClient.HTTPConnection
Sets the SOCKS server to use.
setStream(HttpOutputStream) - Method in class HTTPClient.Request
 
setTimeout(int) - Method in class HTTPClient.HTTPConnection
Sets the timeout to be used for creating connections and reading responses.
setTrailer(String, String) - Method in class HTTPClient.Response
Set a trailer field in the list of trailers.
setTrailers(NVPair[]) - Method in class HTTPClient.HttpOutputStream
Sets the trailers to be sent if the output is sent with the chunked transfer encoding.
setupRequest(String, String, NVPair[], byte[], HttpOutputStream) - Method in class HTTPClient.HTTPConnection
Sets up the request, creating the list of headers to send and creating instances of the modules.
SOCKS - Static variable in class HTTPClient.Log
The Socks facility (64)
SocksException - exception HTTPClient.SocksException.
Signals that an error was received while trying to set up a connection with the Socks server.
SocksException() - Constructor for class HTTPClient.SocksException
Constructs a SocksException with no detail message.
SocksException(String) - Constructor for class HTTPClient.SocksException
Constructs a SocksException with the specified detail message.
stop() - Method in class HTTPClient.HTTPConnection
Aborts all the requests currently in progress on this connection and closes all associated sockets.

T

toExternalForm() - Method in class HTTPClient.Cookie
 
toExternalForm() - Method in class HTTPClient.Cookie2
 
toExternalForm() - Method in class HTTPClient.URI
 
toString() - Method in class HTTPClient.Cookie
Create a string containing all the cookie fields.
toString() - Method in class HTTPClient.HttpHeaderElement
 
toString() - Method in class HTTPClient.NVPair
Produces a string containing the name and value of this instance.
toString() - Method in class HTTPClient.HTTPResponse
produces a full list of headers and their values, one per line.
toString() - Method in class HTTPClient.Cookie2
Create a string containing all the cookie fields.
toString() - Method in class HTTPClient.HttpURLConnection
produces a string.
toString() - Method in class HTTPClient.AuthorizationInfo
Constructs a string containing the authorization info.
toString() - Method in class HTTPClient.URI
Return the URI as string.
toString() - Method in class HTTPClient.HTTPConnection
Generates a string of the form protocol://host.domain:port .
toString() - Method in class HTTPClient.Request
 
toString() - Method in class HTTPClient.HttpOutputStream
produces a string describing this stream.
toURL() - Method in class HTTPClient.URI
Will try to create a java.net.URL object from this URI.
Trace(String) - Method in class HTTPClient.HTTPConnection
Requests a TRACE.
Trace(String, NVPair[]) - Method in class HTTPClient.HTTPConnection
Requests a TRACE.
trailerHandler(Response, RoRequest) - Method in class HTTPClient.CookieModule
Invoked by the HTTPClient.
trailerHandler(Response, RoRequest) - Method in interface HTTPClient.HTTPClientModule
The chunked transfer-encoding (and in future maybe others) can contain trailer fields at the end of the body.
type - Variable in class HTTPClient.URI
 

U

unescape(String, BitSet) - Static method in class HTTPClient.URI
Unescape escaped characters (i.e.
unreservedChar - Static variable in class HTTPClient.URI
 
URI - class HTTPClient.URI.
This class represents a generic URI, as defined in RFC-2396.
URI(String) - Constructor for class HTTPClient.URI
Constructs a URI from the given string representation.
URI(String, String) - Constructor for class HTTPClient.URI
Constructs an opaque URI from the given parts.
URI(String, String, int, String) - Constructor for class HTTPClient.URI
Constructs a URI from the given parts.
URI(String, String, String) - Constructor for class HTTPClient.URI
Constructs a URI from the given parts, using the default port for this scheme (if known).
URI(String, String, String, int, String, String, String) - Constructor for class HTTPClient.URI
Constructs a URI from the given parts.
URI(URI, String) - Constructor for class HTTPClient.URI
Constructs a URI from the given string representation, relative to the given base URI.
URI(URL) - Constructor for class HTTPClient.URI
Construct a URI from the given URL.
uricChar - Static variable in class HTTPClient.URI
 
url - Variable in class HTTPClient.URI
 
URLC - Static variable in class HTTPClient.Log
The ULRConnection facility (128)
URLDecode(String) - Static method in class HTTPClient.Codecs
This method decodes the given urlencoded string.
URLEncode(String) - Static method in class HTTPClient.Codecs
This method urlencodes the given string.
userinfo - Variable in class HTTPClient.URI
 
userinfoChar - Static variable in class HTTPClient.URI
 
usesGenericSyntax - Static variable in class HTTPClient.URI
 
usesGenericSyntax(String) - Static method in class HTTPClient.URI
 
usesSemiGenericSyntax - Static variable in class HTTPClient.URI
 
usesSemiGenericSyntax(String) - Static method in class HTTPClient.URI
 
usingProxy() - Method in class HTTPClient.HttpURLConnection
Shows if request are being made through an http proxy or directly.
Util - class HTTPClient.Util.
This class holds various utility methods.
uudecode(char[]) - Static method in class HTTPClient.Codecs
This method decodes the given uuencoded char[].
uuencode(byte[]) - Static method in class HTTPClient.Codecs
This method encodes the given byte[] using the unix uuencode encding.

V

value - Variable in class HTTPClient.Cookie
 
version - Variable in class HTTPClient.Cookie2
 
version - Static variable in class HTTPClient.HTTPConnection
The current version of this package.

W

wildcardMatch(String, String) - Static method in class HTTPClient.Util
Match pattern against name, where pattern may contain wildcards ('*').
write(byte[], int, int) - Method in class HTTPClient.HttpOutputStream
Writes an array of bytes on the stream.
write(int) - Method in class HTTPClient.HttpOutputStream
Writes a single byte on the stream.
write(int, String) - Static method in class HTTPClient.Log
Write the given message to the current log if logging for the given facility is enabled.
write(int, String, ByteArrayOutputStream) - Static method in class HTTPClient.Log
Write the contents of the given buffer to the current log if logging for the given facility is enabled.
write(int, String, Throwable) - Static method in class HTTPClient.Log
Write the stack trace of the given exception to the current log if logging for the given facility is enabled.

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