org.apache.commons.httpclient
Class HttpMethodDirector
java.lang.Object
|
+--org.apache.commons.httpclient.HttpMethodDirector
- class HttpMethodDirector
- extends Object
Handles the process of executing a method including authentication, redirection and retries.
- Since:
- 3.0
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WWW_AUTH_CHALLENGE
public static final String WWW_AUTH_CHALLENGE
- The www authenticate challange header.
WWW_AUTH_RESP
public static final String WWW_AUTH_RESP
- The www authenticate response header.
PROXY_AUTH_CHALLENGE
public static final String PROXY_AUTH_CHALLENGE
- The proxy authenticate challange header.
PROXY_AUTH_RESP
public static final String PROXY_AUTH_RESP
- The proxy authenticate response header.
HttpMethodDirector
public HttpMethodDirector(HttpConnectionManager connectionManager,
HostConfiguration hostConfiguration,
HttpClientParams params,
HttpState state)
executeMethod
public void executeMethod(HttpMethod method)
throws IOException,
HttpException
- Executes the method associated with this method director.
- Throws:
IOException
- HttpException
-
getHostConfiguration
public HostConfiguration getHostConfiguration()
- Returns:
-
getState
public HttpState getState()
- Returns:
-
getConnectionManager
public HttpConnectionManager getConnectionManager()
- Returns:
-
getParams
public HttpParams getParams()
- Returns:
-
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.