| javax.servlet.http.HttpServlet org.apache.catalina.servlets.DefaultServlet org.apache.catalina.servlets.WebdavServlet
WebdavServlet | public class WebdavServlet extends DefaultServlet (Code) | | Servlet which adds support for WebDAV level 2. All the basic HTTP requests
are handled by the DefaultServlet.
author: Remy Maucherat version: $Revision: 1.28 $ $Date: 2002/04/01 18:12:38 $ |
Method Summary | |
protected boolean | checkIfHeaders(HttpServletRequest request, HttpServletResponse response, ResourceInfo resourceInfo) Check if the conditions specified in the optional If headers are
satisfied. | protected void | doCopy(HttpServletRequest req, HttpServletResponse resp) COPY Method. | protected void | doDelete(HttpServletRequest req, HttpServletResponse resp) DELETE Method. | protected void | doLock(HttpServletRequest req, HttpServletResponse resp) LOCK Method. | protected void | doMkcol(HttpServletRequest req, HttpServletResponse resp) MKCOL Method. | protected void | doMove(HttpServletRequest req, HttpServletResponse resp) MOVE Method. | protected void | doOptions(HttpServletRequest req, HttpServletResponse resp) OPTIONS Method. | protected void | doPropfind(HttpServletRequest req, HttpServletResponse resp) PROPFIND Method. | protected void | doProppatch(HttpServletRequest req, HttpServletResponse resp) PROPPATCH Method. | protected void | doPut(HttpServletRequest req, HttpServletResponse resp) Process a POST request for the specified resource. | protected void | doUnlock(HttpServletRequest req, HttpServletResponse resp) UNLOCK Method. | protected DocumentBuilder | getDocumentBuilder() Return JAXP document builder instance. | protected String | getETagValue(ResourceInfo resourceInfo) | public void | init() Initialize this servlet. | protected void | service(HttpServletRequest req, HttpServletResponse resp) Handles the special WebDAV methods. |
DEFAULT_NAMESPACE | final protected static String DEFAULT_NAMESPACE(Code) | | Default namespace.
|
creationDateFormat | final protected static SimpleDateFormat creationDateFormat(Code) | | Simple date format for the creation date ISO representation (partial).
|
checkIfHeaders | protected boolean checkIfHeaders(HttpServletRequest request, HttpServletResponse response, ResourceInfo resourceInfo) throws IOException(Code) | | Check if the conditions specified in the optional If headers are
satisfied.
Parameters: request - The servlet request we are processing Parameters: response - The servlet response we are creating Parameters: resourceInfo - File object boolean true if the resource meets all the specified conditions,and false if any of the conditions is not satisfied, in which caserequest processing is stopped |
getETagValue | protected String getETagValue(ResourceInfo resourceInfo)(Code) | | |
Methods inherited from org.apache.catalina.servlets.DefaultServlet | protected String appendParameters(HttpServletRequest request, String redirectPath)(Code)(Java Doc) protected boolean checkIfHeaders(HttpServletRequest request, HttpServletResponse response, ResourceInfo resourceInfo) throws IOException(Code)(Java Doc) public void destroy()(Code)(Java Doc) protected void displaySize(StringBuffer buf, int filesize)(Code)(Java Doc) protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) protected void doHead(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected File executePartialPut(HttpServletRequest req, Range range, String path) throws IOException(Code)(Java Doc) protected String getETag(ResourceInfo resourceInfo)(Code)(Java Doc) protected String getRelativePath(HttpServletRequest request)(Code)(Java Doc) protected DirContext getResources()(Code)(Java Doc) public void init() throws ServletException(Code)(Java Doc) protected String normalize(String path)(Code)(Java Doc) protected Range parseContentRange(HttpServletRequest request, HttpServletResponse response) throws IOException(Code)(Java Doc) protected Vector parseRange(HttpServletRequest request, HttpServletResponse response, ResourceInfo resourceInfo) throws IOException(Code)(Java Doc) protected InputStream render(String contextPath, ResourceInfo resourceInfo)(Code)(Java Doc) protected String renderSize(long size)(Code)(Java Doc) protected String rewriteUrl(String path)(Code)(Java Doc) protected void serveResource(HttpServletRequest request, HttpServletResponse response, boolean content) throws IOException, ServletException(Code)(Java Doc) protected void showRequestInfo(HttpServletRequest req)(Code)(Java Doc)
|
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|