Package org.apache.ofbiz.webapp.webdav
Class WebDavServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.ofbiz.webapp.webdav.WebDavServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class WebDavServlet extends javax.servlet.GenericServlet
Implements a WebDAV servlet. The servlet simply forwards WebDAV requests to aRequestHandlerFactory
instance, whose class is specified in the web application's web.xml file:<context-param>
<param-name>requestHandlerFactoryClass</param-name>
<param-value>com.mydomain.MyWebDAVFactory</param-value>
</context-param>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Delegator
delegator
protected LocalDispatcher
dispatcher
protected RequestHandlerFactory
handlerFactory
static java.lang.String
module
protected Security
security
-
Constructor Summary
Constructors Constructor Description WebDavServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(javax.servlet.ServletConfig config)
void
service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
delegator
protected Delegator delegator
-
dispatcher
protected LocalDispatcher dispatcher
-
handlerFactory
protected RequestHandlerFactory handlerFactory
-
security
protected Security security
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Servlet
- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
-
service
public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, java.io.IOException
- Specified by:
service
in interfacejavax.servlet.Servlet
- Specified by:
service
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
-
-