org.apache.continuum.webdav
Class WorkingCopyServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.jackrabbit.webdav.server.AbstractWebdavServlet
              extended by org.apache.continuum.webdav.WorkingCopyServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.apache.jackrabbit.webdav.DavConstants

public class WorkingCopyServlet
extends org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

See Also:
Serialized Form

Field Summary
protected  org.apache.jackrabbit.webdav.DavSessionProvider sessionProvider
           
 
Fields inherited from class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet
DEFAULT_AUTHENTICATE_HEADER
 
Fields inherited from interface org.apache.jackrabbit.webdav.DavConstants
creationDateFormat, DEPTH_0, DEPTH_1, DEPTH_INFINITY, DEPTH_INFINITY_S, HEADER_AUTHORIZATION, HEADER_CONTENT_LANGUAGE, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_DAV, HEADER_DEPTH, HEADER_DESTINATION, HEADER_ETAG, HEADER_IF, HEADER_LAST_MODIFIED, HEADER_LOCK_TOKEN, HEADER_OVERWRITE, HEADER_TIMEOUT, INFINITE_TIMEOUT, modificationDateFormat, NAMESPACE, OPAQUE_LOCK_TOKEN_PREFIX, PROPERTY_CREATIONDATE, PROPERTY_DISPLAYNAME, PROPERTY_GETCONTENTLANGUAGE, PROPERTY_GETCONTENTLENGTH, PROPERTY_GETCONTENTTYPE, PROPERTY_GETETAG, PROPERTY_GETLASTMODIFIED, PROPERTY_LOCKDISCOVERY, PROPERTY_RESOURCETYPE, PROPERTY_SOURCE, PROPERTY_SUPPORTEDLOCK, PROPFIND_ALL_PROP, PROPFIND_ALL_PROP_INCLUDE, PROPFIND_BY_PROPERTY, PROPFIND_PROPERTY_NAMES, TIMEOUT_INFINITE, UNDEFINED_TIME, UNDEFINED_TIMEOUT, XML_ACTIVELOCK, XML_ALLPROP, XML_COLLECTION, XML_DEPTH, XML_DST, XML_EXCLUSIVE, XML_HREF, XML_INCLUDE, XML_KEEPALIVE, XML_LINK, XML_LOCKENTRY, XML_LOCKINFO, XML_LOCKROOT, XML_LOCKSCOPE, XML_LOCKTOKEN, XML_LOCKTYPE, XML_MULTISTATUS, XML_OMIT, XML_OWNER, XML_PROP, XML_PROPERTYBEHAVIOR, XML_PROPERTYUPDATE, XML_PROPFIND, XML_PROPNAME, XML_PROPSTAT, XML_REMOVE, XML_RESPONSE, XML_RESPONSEDESCRIPTION, XML_SET, XML_SHARED, XML_SOURCE, XML_STATUS, XML_TIMEOUT, XML_WRITE
 
Constructor Summary
WorkingCopyServlet()
           
 
Method Summary
 void destroy()
           
 String getAuthenticateHeaderValue()
           
 org.apache.jackrabbit.webdav.DavSessionProvider getDavSessionProvider()
           
 org.apache.jackrabbit.webdav.DavLocatorFactory getLocatorFactory()
           
 org.apache.jackrabbit.webdav.DavResourceFactory getResourceFactory()
           
 void init(javax.servlet.ServletConfig servletConfig)
           
 void initServers(javax.servlet.ServletConfig servletConfig)
           
protected  boolean isPreconditionValid(org.apache.jackrabbit.webdav.WebdavRequest request, org.apache.jackrabbit.webdav.DavResource resource)
           
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Service the given request.
 void setDavSessionProvider(org.apache.jackrabbit.webdav.DavSessionProvider sessionProvider)
           
 void setLocatorFactory(org.apache.jackrabbit.webdav.DavLocatorFactory locatorFactory)
           
 void setResourceFactory(org.apache.jackrabbit.webdav.DavResourceFactory resourceFactory)
           
 
Methods inherited from class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet
doAcl, doBaselineControl, doBind, doCheckin, doCheckout, doCopy, doDelete, doGet, doHead, doLabel, doLock, doMerge, doMkActivity, doMkCol, doMkWorkspace, doMove, doOptions, doOrderPatch, doPoll, doPost, doPropFind, doPropPatch, doPut, doRebind, doReport, doSearch, doSubscribe, doUnbind, doUncheckout, doUnlock, doUnsubscribe, doUpdate, doVersionControl, execute, getInputContext, getOutputContext, sendUnauthorized, validateDestination
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
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

sessionProvider

protected org.apache.jackrabbit.webdav.DavSessionProvider sessionProvider
Constructor Detail

WorkingCopyServlet

public WorkingCopyServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       IOException
Service the given request. This method has been overridden and copy/pasted to allow better exception handling and to support different realms

Overrides:
service in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet
Parameters:
request -
response -
Throws:
javax.servlet.ServletException
IOException

initServers

public void initServers(javax.servlet.ServletConfig servletConfig)

getAuthenticateHeaderValue

public String getAuthenticateHeaderValue()
Specified by:
getAuthenticateHeaderValue in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

getDavSessionProvider

public org.apache.jackrabbit.webdav.DavSessionProvider getDavSessionProvider()
Specified by:
getDavSessionProvider in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

getLocatorFactory

public org.apache.jackrabbit.webdav.DavLocatorFactory getLocatorFactory()
Specified by:
getLocatorFactory in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

getResourceFactory

public org.apache.jackrabbit.webdav.DavResourceFactory getResourceFactory()
Specified by:
getResourceFactory in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

isPreconditionValid

protected boolean isPreconditionValid(org.apache.jackrabbit.webdav.WebdavRequest request,
                                      org.apache.jackrabbit.webdav.DavResource resource)
Specified by:
isPreconditionValid in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

setDavSessionProvider

public void setDavSessionProvider(org.apache.jackrabbit.webdav.DavSessionProvider sessionProvider)
Specified by:
setDavSessionProvider in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

setLocatorFactory

public void setLocatorFactory(org.apache.jackrabbit.webdav.DavLocatorFactory locatorFactory)
Specified by:
setLocatorFactory in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

setResourceFactory

public void setResourceFactory(org.apache.jackrabbit.webdav.DavResourceFactory resourceFactory)
Specified by:
setResourceFactory in class org.apache.jackrabbit.webdav.server.AbstractWebdavServlet

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.