| org.openharmonise.webdav.client.WebDAVConnection
WebDAVConnection | public class WebDAVConnection extends HTTPConnection (Code) | | Extending the HTTPConnection from the HTTPClient this class
simply provides the execute method to take in and translate AbstractWebDAVMethods.
author: Matthew Large version: $Revision: 1.1 $ |
Constructor Summary | |
public | WebDAVConnection(WebDAVFileSystem vfs, Applet arg0) | public | WebDAVConnection(WebDAVFileSystem vfs, String arg0) | public | WebDAVConnection(WebDAVFileSystem vfs, String arg0, int arg1) | public | WebDAVConnection(WebDAVFileSystem vfs, String arg0, String arg1, int arg2) | public | WebDAVConnection(WebDAVFileSystem vfs, String arg0, String arg1, int arg2, InetAddress arg3, int arg4) | public | WebDAVConnection(WebDAVFileSystem vfs, URL arg0) | public | WebDAVConnection(WebDAVFileSystem vfs, URI arg0) |
WEBDAV_NAMESPACE | final public static String WEBDAV_NAMESPACE(Code) | | WebDAV namespace.
|
WebDAVConnection | public WebDAVConnection(WebDAVFileSystem vfs, URI arg0) throws ProtocolNotSuppException(Code) | | Parameters: arg0 - throws: HTTPClient.ProtocolNotSuppException - |
URLDencode | public static String URLDencode(String sURL)(Code) | | Used for decoding URLs, importantly decoding only the segments and not the '/'.
Parameters: sURL - URL String to decode Decoded URL String |
URLEncode | public static String URLEncode(String sURL)(Code) | | Used for encoding URLs, importantly encoding only the segments and not the '/'.
Parameters: sURL - URL String to encode Encoded URL String |
execute | public WebDAVResponse execute(AbstractWebDAVMethod method) throws IOException, ModuleException(Code) | | This method accepts an AbstractWebDAVMethod and uses it to call the ExtensionMethod
on the underlying HTTPConnection. Then it uses the HTTPResponse returned from
the HTTPConnection and constructs a WebDAVResponse object.
Parameters: method - AbstractWebDAVMethod, all the information to be sent to the server WebDAVResponse, all the information sent back from the server throws: IOException - throws: ModuleException - |
setup | public void setup()(Code) | | |
|
|