Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Package org.apache.commons.httpclient

Interface Summary
Credentials Authentication credentials.
HttpConnectionManager An interface for classes that manage HttpConnections.
HttpMethod HttpMethod interface represents a request to be sent via a HTTP connection and a corresponding response.
HttpMethodRetryHandler A handler for determining if an HttpMethod should be retried after a recoverable exception during execution.
HttpUrlMethod Deprecated. use HttpMethod
MethodRetryHandler Deprecated. use HttpMethodRetryHandler
ResponseConsumedWatcher When a response stream has been consumed, various parts of the HttpClient implementation need to respond appropriately.
 

Class Summary
AccessibleHttpConnectionManager A simple connection manager that provides access to the connection used.
Authenticator Deprecated. use org.apache.commons.httpclient.auth.HttpAuthenticator
AutoCloseInputStream Closes an underlying stream as soon as the end of the stream is reached, and notifies a client when it has done so.
BasicAuthServlet  
ChunkedInputStream Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.
ChunkedOutputStream Implements HTTP chunking support.
ConnectMethod Establishes a tunneled HTTP connection via the CONNECT method.
ContentLengthInputStream Cuts the wrapped InputStream off after a specified number of bytes.
Cookie HTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session.
DefaultHttpMethodRetryHandler The default HttpMethodRetryHandler used by HttpMethods.
DefaultMethodRetryHandler Deprecated. use DefaultHttpMethodRetryHandler
EchoService A service that echos the request body.
ExecuteMethodThread Executes a method from a new thread.
FakeHttpMethod For test-nohost testing purposes only.
FeedbackService  
Header An HTTP header.
HeaderElement One element of an HTTP header's value.
HeaderGroup A class for combining a set of headers.
HeaderServlet  
HostConfiguration Holds all of the variables needed to describe an HTTP connection to a host.
HttpClient An HTTP "user-agent", containing an HTTP state and one or more HTTP connections, to which HTTP methods can be applied.
HttpClientTestBase Base class for test cases using org.apache.commons.httpclient.server.SimpleHttpServer based testing framework.
HttpConnection An abstraction of an HTTP java.io.InputStream and java.io.OutputStream pair, together with the relevant attributes.
HttpConstants Deprecated. use EncodingUtil class
HttpHost Holds all of the variables needed to describe an HTTP connection to a host.
HttpMethodBase An abstract base implementation of HttpMethod.
HttpMethodDirector Handles the process of executing a method including authentication, redirection and retries.
HttpParser A utility class for parsing http header values according to RFC-2616 Section 4 and 19.3.
HttpState A container for HTTP attributes that may persist from request to request, such as cookies and authentication credentials.
HttpStatus Constants enumerating the HTTP status codes.
HttpsURL The HTTPS URL.
HttpURL The HTTP URL.
HttpVersion HTTP version, as specified in RFC 2616.
MultiMethodServlet  
MultiThreadedHttpConnectionManager Manages a set of HttpConnections for various HostConfigurations.
MultiThreadedHttpConnectionManager.ConnectionSource A simple struct-like class to combine the objects needed to release a connection's resources when claimed by the garbage collector.
MultiThreadedHttpConnectionManager.HostConnectionPool A simple struct-like class to combine the connection list and the count of created connections.
MultiThreadedHttpConnectionManager.HttpConnectionAdapter An HttpConnection wrapper that ensures a connection cannot be used once released.
MultiThreadedHttpConnectionManager.HttpConnectionWithReference A connection that keeps a reference to itself.
MultiThreadedHttpConnectionManager.ReferenceQueueThread A thread for listening for HttpConnections reclaimed by the garbage collector.
MultiThreadedHttpConnectionManager.WaitingThread A simple struct-like class to combine the waiting thread and the connection pool it is waiting on.
NameValuePair A simple class encapsulating a name/value pair.
NoHostHttpConnectionManager  
NoncompliantHeadMethod HTTP GET methid intended to simulate side-effects of interaction with non-compiant HTTP servers or proxies
NoncompliantPostMethod HTTP POST methid intended to simulate side-effects of interaction with non-compiant HTTP servers or proxies
NTCredentials Credentials for use with the NTLM authentication scheme which requires additional information.
NTLM Deprecated. this class will be made package access for 2.0beta2
ParamServlet  
ProxyClient A client that provides sockets for communicating through HTTP proxies via the HTTP CONNECT method.
ProxyClient.ConnectResponse Contains the method used to execute the connect along with the created socket.
ProxyHost Holds all of the variables needed to describe an HTTP connection to a proxy.
ProxyTestDecorator A TestDecorator that configures instances of HttpClientTestBase to use a proxy server.
ReadCookieServlet  
RedirectServlet  
RequestBodyServlet  
RequestOutputStream Deprecated. Use new ChunkedOutputStream(HttpConnecion#getRequestOutputStream());
ResponseInputStream Deprecated. Use new ChunkedInputStream(HttpConnecion#getResponseInputStream());
SimpleHttpConnection For test-nohost testing purposes only.
SimpleHttpConnectionManager A connection manager that provides access to a single HttpConnection.
SimpleHttpMethod For test-nohost testing purposes only.
StatusLine Represents a Status-Line as returned from a HTTP server.
StatusLineServlet  
TestAll  
TestAllExternal A suite composed of TestExternalHost and TestNoHost.
TestAllLocal A suite composed of TestLocalHost and TestNoHost.
TestAuthenticator Unit tests for Authenticator.
TestBadContentLength Tests HttpClient's behaviour when receiving more response data than expected.
TestBase64 Deprecated. The commons-codec Base64 class will be used in HttpClient 2.1
TestChallengeParser Unit tests for org.apache.commons.httpclient.auth.AuthChallengeParser.
TestConnectionPersistence Connection persistence tests
TestCookie Test cases for Cookie
TestCredentials Unit tests for Credentials.
TestEffectiveHttpVersion HTTP protocol versioning tests.
TestEntityEnclosingMethod Tests specific to entity enclosing methods.
TestEquals  
TestExceptions  
TestExternalHost A suite composed of only those tests which require an external Internet connection.
TestGetMethodLocal Simple tests of org.apache.commons.httpclient.methods.GetMethod.
TestHeader Simple tests for NameValuePair.
TestHeaderElement Simple tests for HeaderElement.
TestHeaderOps  
TestHostConfiguration Tests basic HostConfiguration functionality.
TestHttpConnection Unit tests for HttpConnection.
TestHttpConnectionManager Unit tests for HttpConnectionManager.
TestHttpConnectionManager.FakeSecureProtocolSocketFactory  
TestHttpConnectionManager.GetConnectionThread  
TestHttpConnectionManager.RejectConnectService  
TestHttpMethodFundamentals Tests basic method functionality.
TestHttpParser Simple tests for HttpParser.
TestHttps Simple tests for HTTPS support in HttpClient.
TestHttpState Simple tests for HttpState.
TestHttpStatus Unit tests for HttpStatus
TestHttpUrlMethod Unit tests for HttpMethod constructors that take URLs.
TestHttpVersion Test cases for HTTP version class
TestIdleConnectionTimeout  
TestIdleConnectionTimeout.TimeoutHttpConnection  
TestIdleConnectionTimeout.TimeoutHttpConnectionManager  
TestLocalHost A suite composed of only those tests which require the local webserver and test web application.
TestLocalHostBase The base class for all tests that need to connection to the localhost web server.
TestMethodAbort Tests ability to abort method execution.
TestMethodCharEncoding  
TestMethods A test-suite encompassing TestMethodsLocalHost and TestMethodsExtenralHost.
TestMethodsExternalHost Simple tests for the HTTP client hitting an external webserver.
TestMethodsLocalHost Simple tests for the HTTP client hitting a local webserver.
TestMethodsNoHost  
TestMethodsRedirectNoHost  
TestMultipartPost Webapp tests specific to the MultiPostMethod.
TestNoHost Deprecated. Use TestAll
TestNoncompliant Tests handling of non-compliant responses.
TestNVP Simple tests for NameValuePair.
TestParameterFormatter Unit tests for org.apache.commons.httpclient.util.ParameterFormatter.
TestParameterParser Unit tests for org.apache.commons.httpclient.util.ParameterParser.
TestPartsNoHost  
TestPostMethod Webapp tests specific to the PostMethod.
TestPostParameterEncoding Tests basic method functionality.
TestProxy Tests for proxied connections.
TestProxy.SSLDecorator  
TestProxyWithRedirect Tests for proxied connections.
TestQueryParameters  
TestRedirects Redirection test cases.
TestRequestHeaders Tests for reading response headers.
TestRequestLine Simple tests for StatusLine.
TestResponseHeaders Tests for reading response headers.
TestStatusLine Simple tests for StatusLine.
TestStreams  
TestTraceMethodLocal Simple tests of org.apache.commons.httpclient.methods.TraceMethod.
TestURI Simple tests for the URI class.
TestURIUtil Unit tests for org.apache.commons.httpclient.util.URIUtil.
TestURIUtil2 Tests the util.URIUtil class.
TestVirtualHost HTTP protocol versioning tests.
TestWebapp This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.
TestWebappBase This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.
TestWebappBasicAuth This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.
TestWebappCookie This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.
TestWebappHeaders This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.
TestWebappMethods This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.
TestWebappMultiPostMethod Webapp tests specific to the MultiPostMethod.
TestWebappNoncompliant Tests cases intended to test if entity enclosing methods can deal with non-compliant HTTP servers or proxies
TestWebappParameters This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.
TestWebappPostMethod Webapp tests specific to the PostMethod.
TestWebappRedirect This suite of tests depends upon the httpclienttest webapp, which is available in the httpclient/src/test-webapp directory in the CVS tree.
URI The interface for the URI(Uniform Resource Identifiers) version of RFC 2396.
URI.LocaleToCharsetMap A mapping to determine the (somewhat arbitrarily) preferred charset for a given locale.
UsernamePasswordCredentials Username and password Credentials.
Wire Logs data to the wire LOG.
WireLogInputStream Logs all data read to the wire LOG.
WireLogOutputStream Logs all data written to the wire LOG.
WriteCookieServlet  
 

Exception Summary
CircularRedirectException Signals a circular redirect
ConnectionPoolTimeoutException A timeout while connecting waiting for an available connection from an HttpConnectionManager.
ConnectTimeoutException A timeout while connecting to an HTTP server or waiting for an available connection from an HttpConnectionManager.
HttpException Signals that an HTTP or HttpClient exception has occurred.
HttpRecoverableException Deprecated. no longer used
NoHttpResponseException Signals that the target server failed to respond with a valid HTTP response.
ProtocolException Signals that an HTTP protocol violation has occurred.
RedirectException Signals violation of HTTP specification caused by an invalid redirect
URI.DefaultCharsetChanged The charset-changed normal operation to represent to be required to alert to user the fact the default charset is changed.
URIException The URI parsing and escape encoding exception.
 

Error Summary
HttpClientError Signals that an error has occurred.