Package | Description |
---|---|
org.apache.commons.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
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.methods |
Classes implementing
HttpMethod for the base HTTP methods. |
org.apache.commons.httpclient.util |
Provides some utility classes for use by HttpClient.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectMethod
Establishes a tunneled HTTP connection via the CONNECT method.
|
class |
HttpMethodBase
An abstract base implementation of HttpMethod.
|
Modifier and Type | Method and Description |
---|---|
int |
HttpClient.executeMethod(HostConfiguration hostConfiguration,
HttpMethod method)
Executes the given
HTTP method using custom
host configuration . |
int |
HttpClient.executeMethod(HostConfiguration hostconfig,
HttpMethod method,
HttpState state)
Executes the given
HTTP method using the given custom
host configuration with the given custom
HTTP state . |
int |
HttpClient.executeMethod(HttpMethod method)
Executes the given
HTTP method . |
boolean |
MethodRetryHandler.retryMethod(HttpMethod method,
HttpConnection connection,
HttpRecoverableException recoverableException,
int executionCount,
boolean requestSent)
Deprecated.
Determines if a method should be retried after an HttpRecoverableException
occurs during execution.
|
boolean |
DefaultMethodRetryHandler.retryMethod(HttpMethod method,
HttpConnection connection,
HttpRecoverableException recoverableException,
int executionCount,
boolean requestSent)
Deprecated.
Used
retryCount and requestSentRetryEnabled to determine
if the given method should be retried. |
boolean |
HttpMethodRetryHandler.retryMethod(HttpMethod method,
java.io.IOException exception,
int executionCount)
Determines if a method should be retried after an HttpRecoverableException
occurs during execution.
|
boolean |
DefaultHttpMethodRetryHandler.retryMethod(HttpMethod method,
java.io.IOException exception,
int executionCount)
Used
retryCount and requestSentRetryEnabled to determine
if the given method should be retried. |
Constructor and Description |
---|
ChunkedInputStream(java.io.InputStream in,
HttpMethod method)
ChunkedInputStream constructor that associates the chunked input stream with a
HTTP method . |
ConnectMethod(HttpMethod method)
Deprecated.
the wrapped method is no longer used
Create a connect method wrapping the existing method
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HttpAuthenticator.authenticate(AuthScheme authscheme,
HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
java.lang.String |
AuthScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces an authorization string for the given set of
Credentials . |
java.lang.String |
NTLMScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces NTLM authorization string for the given set of
Credentials . |
java.lang.String |
DigestScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces a digest authorization string for the given set of
Credentials , method name and URI. |
java.lang.String |
BasicScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces basic authorization string for the given set of
Credentials . |
static boolean |
HttpAuthenticator.authenticateDefault(HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
static boolean |
HttpAuthenticator.authenticateProxy(AuthScheme authscheme,
HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
static boolean |
HttpAuthenticator.authenticateProxyDefault(HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
Modifier and Type | Class and Description |
---|---|
class |
DeleteMethod
Implements the HTTP DELETE method.
|
class |
EntityEnclosingMethod
This abstract class serves as a foundation for all HTTP methods
that can enclose an entity within requests
|
class |
ExpectContinueMethod
This abstract class serves as a foundation for all HTTP methods
that support 'Expect: 100-continue' handshake.
|
class |
GetMethod
Implements the HTTP GET method.
|
class |
HeadMethod
Implements the HTTP HEAD method.
|
class |
MultipartPostMethod
Deprecated.
Use
MultipartRequestEntity
in conjunction with PostMethod instead. |
class |
OptionsMethod
Implements the HTTP OPTIONS method.
|
class |
PostMethod
Implements the HTTP POST method.
|
class |
PutMethod
Implements the HTTP PUT method.
|
class |
TraceMethod
Implements the HTTP TRACE method.
|
Constructor and Description |
---|
HttpURLConnection(HttpMethod method,
java.net.URL url)
Creates an
HttpURLConnection from a HttpMethod . |
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.