Home » commons-httpclient-3.1-src » org.apache.commons » httpclient »

org.apache.commons.httpclient

Sub Packages:

org.apache.commons.httpclient.auth   Provides implementation of various authentication schemes as well as utility classes that can be used to authenticate HTTP requests.  
org.apache.commons.httpclient.contrib.auth    
org.apache.commons.httpclient.contrib.benchmark    
org.apache.commons.httpclient.contrib.methods.multipart    
org.apache.commons.httpclient.contrib.proxy    
org.apache.commons.httpclient.contrib.ssl    
org.apache.commons.httpclient.contrib.utils    
org.apache.commons.httpclient.cookie   Provides cookie handling in conjunction with org.apache.commons.httpclient.Cookie .  
org.apache.commons.httpclient.methods   Classes implementing org.apache.commons.httpclient.HttpMethod for the base HTTP methods.  
org.apache.commons.httpclient.methods.multipart   Provides Multipart support classes for the org.apache.commons.httpclient.methods.MultipartPostMethod .  
org.apache.commons.httpclient.params   HttpClient preferences framework.  
org.apache.commons.httpclient.protocol   Provides protocol specific socket factory handling.  
org.apache.commons.httpclient.server    
org.apache.commons.httpclient.ssl    
org.apache.commons.httpclient.util   Provides some utility classes for use by HttpClient.  

Interfaces:

Credentials  

Authentication credentials.

This is just a marker interface, the current implementation has no methods. 

code | html
HttpConnectionManager   An interface for classes that manage HttpConnections.  code | html
HttpMethod  

HttpMethod interface represents a request to be sent via a HTTP connection and a corresponding response. 

code | html
HttpMethodRetryHandler   A handler for determining if an HttpMethod should be retried after a recoverable exception during execution.  code | html
HttpUrlMethod   HttpUrlMethod extends HttpMethod.  code | html
MethodRetryHandler   A handler for determining if an HttpMethod should be retried after a recoverable exception during execution.  code | html
ResponseConsumedWatcher   When a response stream has been consumed, various parts of the HttpClient implementation need to respond appropriately.  code | html

Abstract Classes:

HttpMethodBase   An abstract base implementation of HttpMethod.  code | html
MultiMethodServlet     code | html
TestLocalHostBase   The base class for all tests that need to connection to the localhost web server.  code | html
TestWebappBase   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html

Classes:

AccessibleHttpConnectionManager   A simple connection manager that provides access to the connection used.  code | html
Authenticator   Utility methods for HTTP authorization and authentication.  code | html
AutoCloseInputStream   Closes an underlying stream as soon as the end of the stream is reached, and notifies a client when it has done so.  code | html
BasicAuthServlet     code | html
ChunkedInputStream  

Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.

Note that this class NEVER closes the underlying stream, even when close gets called. 

code | html
ChunkedOutputStream   Implements HTTP chunking support.  code | html
CircularRedirectException   Signals a circular redirect  code | html
ConnectMethod   Establishes a tunneled HTTP connection via the CONNECT method.  code | html
ConnectTimeoutException   A timeout while connecting to an HTTP server or waiting for an available connection from an HttpConnectionManager.  code | html
ConnectionPoolTimeoutException   A timeout while connecting waiting for an available connection from an HttpConnectionManager.  code | html
ContentLengthInputStream   Cuts the wrapped InputStream off after a specified number of bytes.  code | html
Cookie  

HTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session. 

code | html
DefaultHttpMethodRetryHandler   The default HttpMethodRetryHandler used by HttpMethod s.  code | html
DefaultMethodRetryHandler   The default MethodRetryHandler used by HttpMethodBase.  code | html
EchoService   A service that echos the request body.  code | html
ExecuteMethodThread   Executes a method from a new thread.  code | html
FakeHttpMethod   For test-nohost testing purposes only.  code | html
FeedbackService     code | html
Header  

An HTTP header.

 
code | html
HeaderElement  

One element of an HTTP header's value.

Some HTTP headers (such as the set-cookie header) have values that can be decomposed into multiple elements. 

code | html
HeaderGroup   A class for combining a set of headers.  code | html
HeaderServlet     code | html
HostConfiguration   Holds all of the variables needed to describe an HTTP connection to a host.  code | html
HttpClient  

An HTTP "user-agent", containing an HTTP state and one or more HTTP connections , to which HTTP methods can be applied. 

code | html
HttpClientError   Signals that an error has occurred.  code | html
HttpConnection   An abstraction of an HTTP InputStream and OutputStream pair, together with the relevant attributes.  code | html
HttpConstants   HTTP content conversion routines.  code | html
HttpContentTooLargeException   Signals that the response content was larger than anticipated.  code | html
HttpException   Signals that an HTTP or HttpClient exception has occurred.  code | html
HttpHost   Holds all of the variables needed to describe an HTTP connection to a host.  code | html
HttpMethodDirector   Handles the process of executing a method including authentication, redirection and retries.  code | html
HttpParser   A utility class for parsing http header values according to RFC-2616 Section 4 and 19.3.  code | html
HttpRecoverableException  

Signals that an HTTP or HttpClient exception has occurred. 

code | html
HttpState  

A container for HTTP attributes that may persist from request to request, such as cookies and authentication credentials

code | html
HttpStatus   Constants enumerating the HTTP status codes.  code | html
HttpURL   The HTTP URL.  code | html
HttpVersion  

HTTP version, as specified in RFC 2616.

HTTP uses a "<major>.<minor>" numbering scheme to indicate versions of the protocol. 

code | html
HttpsURL   The HTTPS URL.  code | html
InvalidRedirectLocationException   Signals violation of HTTP specification caused by an invalid redirect location  code | html
MultiThreadedHttpConnectionManager   Manages a set of HttpConnections for various HostConfigurations.  code | html
MultiThreadedHttpConnectionManager.ConnectionPool   Global Connection Pool, including per-host pools  code | html
MultiThreadedHttpConnectionManager.ConnectionSource   A simple struct-like class to combine the objects needed to release a connection's resources when claimed by the garbage collector.  code | html
MultiThreadedHttpConnectionManager.HostConnectionPool   A simple struct-like class to combine the connection list and the count of created connections.  code | html
MultiThreadedHttpConnectionManager.HttpConnectionAdapter   An HttpConnection wrapper that ensures a connection cannot be used once released.  code | html
MultiThreadedHttpConnectionManager.HttpConnectionWithReference   A connection that keeps a reference to itself.  code | html
MultiThreadedHttpConnectionManager.ReferenceQueueThread   A thread for listening for HttpConnections reclaimed by the garbage collector.  code | html
MultiThreadedHttpConnectionManager.WaitingThread   A simple struct-like class to combine the waiting thread and the connection pool it is waiting on.  code | html
NTCredentials   Credentials for use with the NTLM authentication scheme which requires additional information.  code | html
NTLM   Provides an implementation of the NTLM authentication protocol.  code | html
NameValuePair  

A simple class encapsulating a name/value pair.

 
code | html
NoHostHttpConnectionManager     code | html
NoHttpResponseException  

Signals that the target server failed to respond with a valid HTTP response. 

code | html
NoncompliantHeadMethod   HTTP GET methid intended to simulate side-effects of interaction with non-compiant HTTP servers or proxies  code | html
NoncompliantPostMethod   HTTP POST methid intended to simulate side-effects of interaction with non-compiant HTTP servers or proxies  code | html
ParamServlet     code | html
ProtocolException   Signals that an HTTP protocol violation has occurred.  code | html
ProxyClient   A client that provides sockets for communicating through HTTP proxies via the HTTP CONNECT method.  code | html
ProxyClient.ConnectResponse   Contains the method used to execute the connect along with the created socket.  code | html
ProxyClient.DummyConnectionManager   A connection manager that creates a single connection. Meant to be used only once.  code | html
ProxyHost   Holds all of the variables needed to describe an HTTP connection to a proxy.  code | html
ProxyTestDecorator   A TestDecorator that configures instances of HttpClientTestBase to use a proxy server.  code | html
ReadCookieServlet     code | html
RedirectException   Signals violation of HTTP specification caused by an invalid redirect  code | html
RedirectServlet     code | html
RequestBodyServlet     code | html
RequestOutputStream  

OutputStream wrapper supporting the chunked transfer encoding. 

code | html
ResponseInputStream  

InputStream wrapper supporting the chunked transfer encoding.

 
code | html
SimpleHttpConnection   For test-nohost testing purposes only.  code | html
SimpleHttpConnectionManager   A connection manager that provides access to a single HttpConnection.  code | html
SimpleHttpMethod   For test-nohost testing purposes only.  code | html
StatusLine   Represents a Status-Line as returned from a HTTP server.  code | html
StatusLineServlet     code | html
TestAll     code | html
TestAllExternal   A suite composed of TestExternalHost and TestNoHost code | html
TestAllLocal   A suite composed of TestLocalHost and TestNoHost code | html
TestBadContentLength.MyHttpRequestHandler     code | html
TestBase64   Simple tests of Base64 code | html
TestEntityEnclosingMethod.RequestBodyStatsService     code | html
TestExternalHost   A suite composed of only those tests which require an external Internet connection.  code | html
TestHeader   Simple tests for NameValuePair code | html
TestHeaderElement   Simple tests for HeaderElement code | html
TestHeaderOps.HeaderDumpService     code | html
TestHttpConnection.DelayedProtocolSocketFactory   A ProtocolSocketFactory that delays before creating a socket.  code | html
TestHttpConnectionManager.FakeSecureProtocolSocketFactory     code | html
TestHttpConnectionManager.GetConnectionThread     code | html
TestHttpConnectionManager.RejectConnectService     code | html
TestHttpMethodFundamentals.EmptyResponseService     code | html
TestHttpMethodFundamentals.ManyAService     code | html
TestHttpMethodFundamentals.SimpleChunkedService     code | html
TestHttpParser   Simple tests for HttpParser code | html
TestHttpState   Simple tests for HttpState code | html
TestHttpStatus   Unit tests for HttpStatus   code | html
TestIdleConnectionTimeout.TimeoutHttpConnection     code | html
TestIdleConnectionTimeout.TimeoutHttpConnectionManager     code | html
TestMethodAbort.ProduceGarbageHandler     code | html
TestMethodsExternalHost   Simple tests for the HTTP client hitting an external webserver.  code | html
TestNVP   Simple tests for NameValuePair code | html
TestProxy.GetItWrongThenGetItRight     code | html
TestProxy.SSLDecorator     code | html
TestProxyWithRedirect.BasicRedirectService     code | html
TestQueryParameters.QueryInfoService     code | html
TestRedirects.BasicRedirectService     code | html
TestRedirects.BogusRedirectService     code | html
TestRedirects.CircularRedirectService     code | html
TestRedirects.RelativeRedirectService     code | html
TestRequestLine   Simple tests for StatusLine code | html
TestStatusLine   Simple tests for StatusLine code | html
TestURIUtil.URITestCase     code | html
TestURIUtil2   Tests the util.URIUtil class.  code | html
TestVirtualHost.VirtualService     code | html
URI   The interface for the URI(Uniform Resource Identifiers) version of RFC 2396.  code | html
URI.DefaultCharsetChanged   The charset-changed normal operation to represent to be required to alert to user the fact the default charset is changed.  code | html
URI.LocaleToCharsetMap   A mapping to determine the (somewhat arbitrarily) preferred charset for a given locale.  code | html
URIException   The URI parsing and escape encoding exception.  code | html
UsernamePasswordCredentials  

Username and password Credentials .

 
code | html
Wire   Logs data to the wire LOG.  code | html
WireLogInputStream   Logs all data read to the wire LOG.  code | html
WireLogOutputStream   Logs all data written to the wire LOG.  code | html
WriteCookieServlet     code | html

All Test Cases:

TestLocalHostBase   The base class for all tests that need to connection to the localhost web server.  code | html
TestWebappBase   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html
HttpClientTestBase   Base class for test cases using org.apache.commons.httpclient.server.SimpleHttpServer based testing framework.  code | html
TestAuthenticator   Unit tests for Authenticator code | html
TestBadContentLength   Tests HttpClient's behaviour when receiving more response data than expected.  code | html
TestChallengeParser   Unit tests for AuthChallengeParser code | html
TestConnectionPersistence   Connection persistence tests  code | html
TestCookie   Test cases for Cookie  code | html
TestCredentials   Unit tests for Credentials code | html
TestEffectiveHttpVersion   HTTP protocol versioning tests.  code | html
TestEntityEnclosingMethod   Tests specific to entity enclosing methods.  code | html
TestEquals     code | html
TestExceptions     code | html
TestGetMethodLocal   Simple tests of GetMethod code | html
TestHeaderOps     code | html
TestHostConfiguration   Tests basic HostConfiguration functionality.  code | html
TestHttpConnection   Unit tests for HttpConnection code | html
TestHttpConnectionManager   Unit tests for HttpConnectionManager code | html
TestHttpMethodFundamentals   Tests basic method functionality.  code | html
TestHttpUrlMethod   Unit tests for org.apache.commons.httpclient.HttpMethod constructors that take URLs.  code | html
TestHttpVersion   Test cases for HTTP version class  code | html
TestHttps   Simple tests for HTTPS support in HttpClient.  code | html
TestIdleConnectionTimeout     code | html
TestLocalHost   A suite composed of only those tests which require the local webserver and test web application.  code | html
TestMethodAbort   Tests ability to abort method execution.  code | html
TestMethodCharEncoding     code | html
TestMethods   A test-suite encompassing TestMethodsLocalHost and TestMethodsExtenralHost.  code | html
TestMethodsLocalHost   Simple tests for the HTTP client hitting a local webserver.  code | html
TestMethodsNoHost     code | html
TestMethodsRedirectNoHost     code | html
TestMultipartPost   Webapp tests specific to the MultiPostMethod.  code | html
TestNoHost   Tests that don't require any external host.  code | html
TestNoncompliant   Tests handling of non-compliant responses.  code | html
TestParameterFormatter   Unit tests for ParameterFormatter code | html
TestParameterParser   Unit tests for ParameterParser code | html
TestPartsNoHost     code | html
TestPostMethod   Webapp tests specific to the PostMethod.  code | html
TestPostParameterEncoding   Tests basic method functionality.  code | html
TestProxy   Tests for proxied connections.  code | html
TestProxyWithRedirect   Tests for proxied connections.  code | html
TestQueryParameters     code | html
TestRedirects   Redirection test cases.  code | html
TestRequestHeaders   Tests for reading response headers.  code | html
TestResponseHeaders   Tests for reading response headers.  code | html
TestStreams     code | html
TestTraceMethodLocal   Simple tests of TraceMethod code | html
TestURI   Simple tests for the URI class.  code | html
TestURIUtil   Unit tests for URIUtil code | html
TestVirtualHost   HTTP protocol versioning tests.  code | html
TestWebapp   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html
TestWebappBasicAuth   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html
TestWebappCookie   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html
TestWebappHeaders   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html
TestWebappMethods   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html
TestWebappMultiPostMethod   Webapp tests specific to the MultiPostMethod.  code | html
TestWebappNoncompliant   Tests cases intended to test if entity enclosing methods can deal with non-compliant HTTP servers or proxies  code | html
TestWebappParameters   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html
TestWebappPostMethod   Webapp tests specific to the PostMethod.  code | html
TestWebappRedirect   This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.  code | html