All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- 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.
- allowUI().
Method in class HTTPClient.Request
-
- allowUI().
Method in interface HTTPClient.RoRequest
-
- 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.
- 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.
- 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.
- 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).
- 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
-
- close().
Method in class HTTPClient.HttpOutputStream
- Closes the stream and causes the data to be sent if it has not already
been done so.
- connect().
Method in class HTTPClient.HttpURLConnection
- Connects to the server (if connection not still kept alive) and
issues the request.
- Cookie(String, String, String, String, Date, boolean).
Constructor for class HTTPClient.Cookie
- Create a cookie.
- Cookie2(String, String, String, int[], String, Date, boolean, boolean, String, URI).
Constructor for class HTTPClient.Cookie2
- Create a cookie.
- 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
- Return the default port used by a given protocol.
- 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.
- dequoteString(String).
Static method in class HTTPClient.Util
- Replace quoted characters by their unquoted version.
- 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.
- 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.
- 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.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.URI
-
- 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.
- 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.
- 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(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 class HTTPClient.Request
-
- getConnection().
Method in interface HTTPClient.RoRequest
-
- getContext().
Method in class HTTPClient.HTTPConnection
- Returns the current context.
- getCookie().
Method in class HTTPClient.AuthorizationInfo
- Get the cookie
- getData().
Method in class HTTPClient.HTTPResponse
- Reads all the response data into a byte array.
- getData().
Method in class HTTPClient.Request
-
- getData().
Method in class HTTPClient.Response
- Reads all the response data into a byte array.
- getData().
Method in interface HTTPClient.RoRequest
-
- getData().
Method in interface HTTPClient.RoResponse
- Reads all the response data into a byte array.
- getDefaultAllowUserInteraction().
Static method in class HTTPClient.HTTPConnection
- Gets the default allow-user-action.
- 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
- Get the final URL of the document.
- getEffectiveURL().
Method in class HTTPClient.Response
- get the final URL of the document.
- 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 class HTTPClient.HTTPResponse
- Retrieves the value for a given header.
- getHeader(String).
Method in class HTTPClient.Response
- retrieves the field for a given header.
- getHeader(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.
- getHeaderAsDate(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.
- getHeaderAsInt(String).
Method in interface HTTPClient.RoResponse
- 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 class HTTPClient.Request
-
- getHeaders().
Method in interface HTTPClient.RoRequest
-
- getHost().
Method in class HTTPClient.AuthorizationInfo
- Get the host.
- getHost().
Method in class HTTPClient.HTTPConnection
- Returns the host this connection is talking to.
- getHost().
Method in class HTTPClient.URI
-
- 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.
- getInputStream().
Method in interface HTTPClient.RoResponse
- 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 class HTTPClient.Request
-
- getMethod().
Method in interface HTTPClient.RoRequest
-
- 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.AuthorizationInfo
- Get the authentication parameters.
- getParams().
Method in class HTTPClient.HttpHeaderElement
-
- 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.
- getPort().
Method in class HTTPClient.AuthorizationInfo
- Get the port.
- getPort().
Method in class HTTPClient.HTTPConnection
- Returns the port this connection connects to.
- getPort().
Method in class HTTPClient.URI
-
- 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 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.
- getReasonLine().
Method in interface HTTPClient.RoResponse
-
- 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 class HTTPClient.Request
-
- getRequestURI().
Method in interface HTTPClient.RoRequest
-
- 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
- Get the name and type of server.
- 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.
- getStatusCode().
Method in interface HTTPClient.RoResponse
- give the status code for this request.
- getStream().
Method in class HTTPClient.Request
-
- getStream().
Method in interface HTTPClient.RoRequest
-
- getTimeout().
Method in class HTTPClient.HTTPConnection
- Gets the timeout used for reading response data.
- 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.
- getTrailer(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.
- getTrailerAsDate(String).
Method in interface HTTPClient.RoResponse
- Retrieves the field for a given trailer.
- 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.
- getTrailerAsInt(String).
Method in interface HTTPClient.RoResponse
- 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
-
- 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 class HTTPClient.Cookie2
-
- getVersion().
Method in class HTTPClient.HTTPResponse
- Get the HTTP version used for the response.
- getVersion().
Method in class HTTPClient.Response
- get the HTTP version used for the response.
- getVersion().
Method in interface HTTPClient.RoResponse
-
- 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).
- 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.
- 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.AuthorizationInfo
- Produces a hash code based on host, scheme and realm.
- hashCode().
Method in class HTTPClient.Cookie
- Hash up name, path and domain into new hash.
- 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.
- 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(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(String).
Constructor for class HTTPClient.HttpHeaderElement
- Construct an element with the given name.
- HttpHeaderElement(String, String, NVPair[]).
Constructor for class HTTPClient.HttpHeaderElement
-
- 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.
- HttpURLConnection(URL).
Constructor for class HTTPClient.HttpURLConnection
- Construct a connection to the specified url.
- 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.
- isGenericURI().
Method in class HTTPClient.URI
- Does the scheme specific part of this URI use the generic-URI syntax?
In general URI are split into two categories: opaque-URI and
generic-URI.
- isSecure().
Method in class HTTPClient.Cookie
- Return whether this cookie should only be sent over secure connections.
- 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().
- 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.
- 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.
- 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(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.
- 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.
- 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.
- 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().
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.
- 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.
- 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(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.
- 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.
- 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
- sameHttpURL(URL, URL).
Static method in class HTTPClient.Util
- Compares two http urls for equality.
- 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).
- 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.
- 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
- set the final URL of the document.
- 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.
- 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
- Sets/Resets raw mode.
- 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
-
- 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.
- 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.
- toExternalForm().
Method in class HTTPClient.URI
-
- toString().
Method in class HTTPClient.AuthorizationInfo
- Constructs a string containing the authorization info.
- toString().
Method in class HTTPClient.Cookie
- Create a string containing all the cookie fields.
- toString().
Method in class HTTPClient.Cookie2
- Create a string containing all the cookie fields.
- toString().
Method in class HTTPClient.HTTPConnection
- Generates a string of the form protocol://host.domain:port .
- toString().
Method in class HTTPClient.HttpHeaderElement
-
- toString().
Method in class HTTPClient.HttpOutputStream
- produces a string describing this stream.
- toString().
Method in class HTTPClient.HTTPResponse
- produces a full list of headers and their values, one per line.
- toString().
Method in class HTTPClient.HttpURLConnection
- produces a string.
- toString().
Method in class HTTPClient.NVPair
- produces a string containing the name and value of this instance.
- toString().
Method in class HTTPClient.Request
-
- toString().
Method in class HTTPClient.URI
-
- 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.
- 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.
- 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.
- usesGenericSyntax(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.
- 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.
- version.
Static variable in class HTTPClient.HTTPConnection
- The current version of this package.
- 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.