org.exist.http.webdav
Class WebDAV

java.lang.Object
  extended by org.exist.http.webdav.WebDAV

public class WebDAV
extends Object

The main class for processing WebDAV requests.

Author:
wolf

Field Summary
static int BASIC_AUTH
           
static String BINARY_CONTENT
           
static String DAV_NS
           
static int DIGEST_AUTH
           
static Properties OUTPUT_PROPERTIES
           
static int SC_MULTI_STATUS
           
static String XML_CONTENT
           
 
Constructor Summary
WebDAV(int authenticationMethod, String id)
           
WebDAV(int authenticationMethod, String id, WebDAVMethodFactory factory)
           
 
Method Summary
 void process(HttpServletRequest request, HttpServletResponse response)
          Process a WebDAV request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DAV_NS

public static final String DAV_NS
See Also:
Constant Field Values

BASIC_AUTH

public static final int BASIC_AUTH
See Also:
Constant Field Values

DIGEST_AUTH

public static final int DIGEST_AUTH
See Also:
Constant Field Values

BINARY_CONTENT

public static final String BINARY_CONTENT

XML_CONTENT

public static final String XML_CONTENT

OUTPUT_PROPERTIES

public static final Properties OUTPUT_PROPERTIES

SC_MULTI_STATUS

public static final int SC_MULTI_STATUS
See Also:
Constant Field Values
Constructor Detail

WebDAV

public WebDAV(int authenticationMethod,
              String id)
       throws ServletException
Throws:
ServletException

WebDAV

public WebDAV(int authenticationMethod,
              String id,
              WebDAVMethodFactory factory)
       throws ServletException
Throws:
ServletException
Method Detail

process

public void process(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException,
                    IOException
Process a WebDAV request. The request is delegated to the corresponding WebDAVMethod after authenticating the user.

Parameters:
request - an HttpServletRequest object that contains the request the client has made of the servlet
response - an HttpServletResponse object that contains the response the servlet sends to the client
Throws:
ServletException - if the request could not be handled
IOException - if an input or output error is detected when the servlet handles the request


Copyright (C) Wolfgang Meier. All rights reserved.