org.modeshape.web.jcr.webdav
Class ModeShapeWebdavServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.sf.webdav.WebDavServletBean
net.sf.webdav.WebdavServlet
org.modeshape.web.jcr.webdav.ModeShapeWebdavServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class ModeShapeWebdavServlet
- extends net.sf.webdav.WebdavServlet
Custom servlet implementation that provides WebDAV access to a JCR repository. Nodes in the repository with a specified primary
type (nt:file, by default) are treated as WebDAV resources (files) while nodes with any other primary type are treated as
WebDAV folders.
- See Also:
- Serialized Form
Fields inherited from class net.sf.webdav.WebDavServletBean |
MD5_ENCODER, MD5_HELPER |
Methods inherited from class net.sf.webdav.WebDavServletBean |
init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INIT_REQUEST_RESOLVER_CLASS_NAME
public static final String INIT_REQUEST_RESOLVER_CLASS_NAME
- See Also:
- Constant Field Values
INIT_CONTENT_PRIMARY_TYPE_NAMES
public static final String INIT_CONTENT_PRIMARY_TYPE_NAMES
- See Also:
- Constant Field Values
INIT_RESOURCE_PRIMARY_TYPES_NAMES
public static final String INIT_RESOURCE_PRIMARY_TYPES_NAMES
- See Also:
- Constant Field Values
INIT_NEW_FOLDER_PRIMARY_TYPE_NAME
public static final String INIT_NEW_FOLDER_PRIMARY_TYPE_NAME
- See Also:
- Constant Field Values
INIT_NEW_RESOURCE_PRIMARY_TYPE_NAME
public static final String INIT_NEW_RESOURCE_PRIMARY_TYPE_NAME
- See Also:
- Constant Field Values
INIT_NEW_CONTENT_PRIMARY_TYPE_NAME
public static final String INIT_NEW_CONTENT_PRIMARY_TYPE_NAME
- See Also:
- Constant Field Values
ModeShapeWebdavServlet
public ModeShapeWebdavServlet()
constructStore
protected net.sf.webdav.IWebdavStore constructStore(String clazzName,
File root)
-
- Overrides:
constructStore
in class net.sf.webdav.WebdavServlet
init
public void init()
throws ServletException
- Overrides:
init
in class net.sf.webdav.WebdavServlet
- Throws:
ServletException
service
protected void service(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
-
This method also sets and clears a thread-local reference to the incoming request
.
- Overrides:
service
in class net.sf.webdav.WebDavServletBean
- Throws:
ServletException
IOException
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.