org.alfresco.repo.webdav
Class WebDAVServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.alfresco.repo.webdav.WebDAVServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WebDAVServlet
extends javax.servlet.http.HttpServlet

Servlet that accepts WebDAV requests for the hub. The request is served by the hub's content repository framework and the response sent back using the WebDAV protocol.

See Also:
Serialized Form

Field Summary
static java.lang.String KEY_ROOT_PATH
           
static java.lang.String KEY_STORE
           
protected  java.util.Hashtable m_davMethods
           
static java.lang.String WEBDAV_PREFIX
           
 
Constructor Summary
WebDAVServlet()
           
 
Method Summary
static org.alfresco.service.cmr.repository.NodeRef getRootNode(java.lang.String storeValue, java.lang.String m_rootPath, org.springframework.web.context.WebApplicationContext context, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.search.SearchService searchService, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.transaction.TransactionService m_transactionService)
           
 void init(javax.servlet.ServletConfig config)
          Initialize the servlet
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBDAV_PREFIX

public static final java.lang.String WEBDAV_PREFIX
See Also:
Constant Field Values

KEY_STORE

public static final java.lang.String KEY_STORE
See Also:
Constant Field Values

KEY_ROOT_PATH

public static final java.lang.String KEY_ROOT_PATH
See Also:
Constant Field Values

m_davMethods

protected java.util.Hashtable m_davMethods
Constructor Detail

WebDAVServlet

public WebDAVServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       java.io.IOException
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initialize the servlet

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config - ServletConfig
Throws:
javax.servlet.ServletException

getRootNode

public static org.alfresco.service.cmr.repository.NodeRef getRootNode(java.lang.String storeValue,
                                                                      java.lang.String m_rootPath,
                                                                      org.springframework.web.context.WebApplicationContext context,
                                                                      org.alfresco.service.cmr.repository.NodeService nodeService,
                                                                      org.alfresco.service.cmr.search.SearchService searchService,
                                                                      org.alfresco.service.namespace.NamespaceService namespaceService,
                                                                      org.alfresco.service.transaction.TransactionService m_transactionService)
                                                               throws javax.servlet.ServletException
Parameters:
config -
context -
nodeService -
searchService -
namespaceService -
Throws:
javax.servlet.ServletException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.