org.apache.webdav.client
Class ClientFactory

java.lang.Object
  extended by org.apache.webdav.client.ClientFactory

public class ClientFactory
extends java.lang.Object

Delivers the IClient implementation of apache http 3 or 4.


Field Summary
static int CLIENT_VERSION
           
 
Constructor Summary
ClientFactory()
           
 
Method Summary
static IClient createHttpClient(ProviderImpl providerImpl, java.lang.String scheme, java.lang.String hostname, int port)
           
static IURI createURI(java.lang.String location, boolean escaped)
           
static IURI createURI(java.lang.String location, boolean escaped, java.lang.String urlenc)
           
static java.lang.String getEscapedPathFromURI(java.lang.String resourcePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLIENT_VERSION

public static int CLIENT_VERSION
Constructor Detail

ClientFactory

public ClientFactory()
Method Detail

createHttpClient

public static IClient createHttpClient(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

createURI

public static IURI createURI(java.lang.String location,
                             boolean escaped,
                             java.lang.String urlenc)
                      throws java.lang.Exception
Throws:
java.lang.Exception

createURI

public static IURI createURI(java.lang.String location,
                             boolean escaped)
                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright (c) 2003 - Apache Software Foundation