org.apache.webdav.client
Class HttpClient3

java.lang.Object
  extended by org.apache.webdav.client.HttpClient3
All Implemented Interfaces:
IClient

public class HttpClient3
extends java.lang.Object
implements IClient

Wrapper class for Apache http client version 3


Method Summary
static HttpClient3 createHttpClient3(ProviderImpl providerImpl, java.lang.String scheme, java.lang.String hostname, int port)
           
 int executeMethod(IClientMethod method)
           
 ClientCredentials getClientCredentials(java.lang.String hostname, java.lang.String realm)
           
static java.lang.String getEscapedPathFromURI(java.lang.String resourcePath)
           
 org.apache.commons.httpclient.HttpClient getHttpClient()
           
 void setProxy(java.lang.String host, int port)
           
 void setState(java.lang.String hostname, java.lang.String realm, java.lang.String username, java.lang.String password, boolean hostInNonProxyList, java.lang.String proxyHost, java.lang.String proxyPort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHttpClient

public org.apache.commons.httpclient.HttpClient getHttpClient()

createHttpClient3

public static HttpClient3 createHttpClient3(ProviderImpl providerImpl,
                                            java.lang.String scheme,
                                            java.lang.String hostname,
                                            int port)
                                     throws WvcmException
Throws:
WvcmException

getEscapedPathFromURI

public static java.lang.String getEscapedPathFromURI(java.lang.String resourcePath)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

executeMethod

public int executeMethod(IClientMethod method)
                  throws java.io.IOException
Specified by:
executeMethod in interface IClient
Throws:
java.io.IOException

setProxy

public void setProxy(java.lang.String host,
                     int port)
Specified by:
setProxy in interface IClient

setState

public void setState(java.lang.String hostname,
                     java.lang.String realm,
                     java.lang.String username,
                     java.lang.String password,
                     boolean hostInNonProxyList,
                     java.lang.String proxyHost,
                     java.lang.String proxyPort)
Specified by:
setState in interface IClient

getClientCredentials

public ClientCredentials getClientCredentials(java.lang.String hostname,
                                              java.lang.String realm)
Specified by:
getClientCredentials in interface IClient


Copyright (c) 2003 - Apache Software Foundation