HTTPClient |
|
Java Source File Name | Type | Comment |
AuthorizationHandler.java | Interface | This is the interface that an Authorization handler must implement. |
AuthorizationInfo.java | Class | Holds the information for an authorization response.
There are 7 fields which make up this class: host, port, scheme,
realm, cookie, params, and extra_info. |
AuthorizationModule.java | Class | This module handles authentication requests. |
AuthSchemeNotImplException.java | Class | Signals that the handling of a authorization scheme is not implemented. |
ChunkedInputStream.java | Class | This class de-chunks an input stream. |
CIHashtable.java | Class | This class implements a Hashtable with case-insensitive Strings as keys. |
Codecs.java | Class | This class collects various encoders and decoders. |
ContentEncodingModule.java | Class | This module handles the Content-Encoding response header. |
ContentMD5Module.java | Class | This module handles the Content-MD5 response header. |
Cookie.java | Class | |
Cookie2.java | Class | This class represents an http cookie as specified in the
HTTP State Management Mechanism spec (also known as a version 1 cookie). |
CookieModule.java | Class | This module handles Netscape cookies (also called Version 0 cookies)
and Version 1 cookies. |
CookiePolicyHandler.java | Interface | This is the interface that a cookie policy handler must implement. |
DefaultAuthHandler.java | Class | A simple authorization handler that throws up a message box requesting
both a username and password. |
DefaultModule.java | Class | This is the default module which gets called after all other modules
have done their stuff. |
ExtBufferedInputStream.java | Class | This class is a modified copy of java.io.BufferedInputStream which fixes
the problem in fill when an InterrupedIOException occurs and which
extends the class to allow searching for a string in the internal buffer
(used for multipart content-types). |
FilenameMangler.java | Interface | HTTPClient.Codecs.mpFormDataDecode() and HTTPClient.Codecs.mpFormDataEncode()
may be handed class which implements this interface in order to control
names of the decoded files or the names sent in the encoded data. |
GlobalConstants.java | Interface | This interface defines various global constants. |
HashVerifier.java | Interface | This interface defines a hash verifier. |
HTTPClientModule.java | Interface | This is the interface that a module must implement. |
HTTPClientModuleConstants.java | Interface | This interface defines the return codes that the handlers in modules
may return. |
HTTPConnection.java | Class | This class implements http protocol requests; it contains most of HTTP/1.1
and ought to be unconditionally compliant.
Redirections are automatically handled, and authorizations requests are
recognized and dealt with via an authorization handler.
Only full HTTP/1.0 and HTTP/1.1 requests are generated. |
HttpHeaderElement.java | Class | This class holds a description of an http header element. |
HttpOutputStream.java | Class | This class provides an output stream for requests. |
HTTPResponse.java | Class | This defines the http-response class returned by the requests. |
HttpURLConnection.java | Class | This class is a wrapper around HTTPConnection providing the interface
defined by java.net.URLConnection and java.net.HttpURLConnection.
This class can be used to replace the HttpClient in the JDK with this
HTTPClient by defining the property
java.protocol.handler.pkgs=HTTPClient .
One difference between Sun's HttpClient and this one is that this
one will provide you with a real output stream if possible. |
IdempotentSequence.java | Class | This class checks whether a sequence of requests is idempotent. |
LinkedList.java | Class | This class implements a singly linked list. |
MD5.java | Class | |
MD5InputStream.java | Class | This class calculates a running md5 digest of the data read. |
ModuleException.java | Class | Signals that an exception occured in a module. |
NVPair.java | Class | This class holds a Name/Value pair of strings. |
ParseException.java | Class | Signals that something went wrong while parsing data. |
ProtocolNotSuppException.java | Class | Signals that the protocol is not supported. |
RedirectionModule.java | Class | This module handles the redirection status codes 301, 302, 303, 305, 306
and 307. |
Request.java | Class | This class represents an http request. |
RespInputStream.java | Class | This is the InputStream that gets returned to the user. |
Response.java | Class | This class represents an intermediate response. |
ResponseHandler.java | Class | This holds various information about an active response. |
RetryException.java | Class | Signals that an exception was thrown and caught, and the request was
retried. |
RetryModule.java | Class | This module handles request retries when a connection closes prematurely.
It is triggered by the RetryException thrown by the StreamDemultiplexor.
This module is somewhat unique in that it doesn't strictly limit itself
to the HTTPClientModule interface and its return values. |
RoRequest.java | Interface | This interface represents the read-only interface of an http request. |
RoResponse.java | Interface | This interface represents read-only interface of an intermediate http
response. |
SocksClient.java | Class | This class implements a SOCKS Client. |
SocksException.java | Class | Signals that an error was received while trying to set up a connection
with the Socks server. |
SSLSupport.java | Class | A wrapper which helps to the HTTPClient package for
SSL support with Sun's JSSE while making it possible
use the patched client, sans SSL capability, without
the JSSE jars. |
StreamDemultiplexor.java | Class | This class handles the demultiplexing of input stream. |
TransferEncodingModule.java | Class | This module handles the TransferEncoding response header. |
UncompressInputStream.java | Class | This class decompresses an input stream containing data compressed with
the unix "compress" utility (LZC, a LZW variant). |
URI.java | Class | This class represents a generic URI, as defined in RFC-2396. |
Util.java | Class | This class holds various utility methods. |