Home
Information
Project Files
About Us
Jakarta Community
|
The org.apache.commons.httpclient Package
|
The basis for the abstraction is provided by three primary
types:
- HttpConnection
-
represents a network connection to some HTTP host.
- HttpMethod
-
represents a request to be made over some
HttpConnection and contains the server's response.
- HttpState
-
contains the HTTP attributes that may persist from
request to request, such as cookies and authentication
credentials.
and several simple bean-style classes:
HttpClient
provides a simple "user-agent" implementation that will suffice for many
applications, but whose use is not required.
HTTP Client also provides several utilities that may be
useful when extending the framework:
- HttpMethodBase
-
an abstract base implementation of HttpMethod,
which may be extended to create new method types or
to support additional protocol HTTP features.
- HttpStatus
-
an enumeration of HttpStatus codes.
- RequestOutputStream
-
an OutputStream wrapper supporting the "chunked"
transfer encoding.
- ResponseInputStream
-
an InputStream wrapper supporting the "chunked"
transfer encoding.
- URIUtil
-
provides utilities for encoding and decoding URI's in the
%HH format.
|
|
|