Package org.drjekyll.webdav
Class WebdavServlet
- java.lang.Object
 - 
- javax.servlet.GenericServlet
 - 
- javax.servlet.http.HttpServlet
 - 
- org.drjekyll.webdav.WebdavServlet
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class WebdavServlet extends javax.servlet.http.HttpServletServlet which provides support for WebDAV level 2.the original class is org.apache.catalina.servlets.WebdavServlet by Remy Maucherat, which was heavily changed
- Author:
 - Remy Maucherat
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description WebdavServlet() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WebdavStoreconstructStore(String clazzName, File root)voiddestroy()protected PrincipalgetUserPrincipal(javax.servlet.http.HttpServletRequest req)Method that permit to customize the way user information are extracted from the request, default use JAASvoidinit()voidinit(WebdavStore store, String dftIndexFile, String insteadOf404, int nocontentLenghHeaders, boolean lazyFolderCreationOnPut)protected MethodExecutorregister(String methodName, MethodExecutor method)protected voidservice(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)Handles the special WebDAV methods.- 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service 
 - 
 
 - 
 
- 
- 
Method Detail
- 
destroy
public void destroy()
- Specified by:
 destroyin interfacejavax.servlet.Servlet- Overrides:
 destroyin classjavax.servlet.GenericServlet
 
- 
init
public void init() throws javax.servlet.ServletException- Overrides:
 initin classjavax.servlet.GenericServlet- Throws:
 javax.servlet.ServletException
 
- 
constructStore
protected WebdavStore constructStore(String clazzName, File root) throws javax.servlet.ServletException
- Throws:
 javax.servlet.ServletException
 
- 
init
public void init(WebdavStore store, String dftIndexFile, String insteadOf404, int nocontentLenghHeaders, boolean lazyFolderCreationOnPut)
 
- 
register
protected MethodExecutor register(String methodName, MethodExecutor method)
 
- 
service
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOExceptionHandles the special WebDAV methods.- Overrides:
 servicein classjavax.servlet.http.HttpServlet- Throws:
 javax.servlet.ServletExceptionIOException
 
- 
getUserPrincipal
protected Principal getUserPrincipal(javax.servlet.http.HttpServletRequest req)
Method that permit to customize the way user information are extracted from the request, default use JAAS- Parameters:
 req-- Returns:
 
 
 - 
 
 -