public class WebDAVLiteServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
WebDAVLiteServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles a DELETE request for deleting files.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles a GET request for files or for a file listing.
|
protected void |
doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles a PUT request for uploading files.
|
void |
init(javax.servlet.ServletConfig servletConfig)
Initialize the WebDAV servlet, auto-creating it's file root if it doesn't exist.
|
doHead, doOptions, doPost, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletservletConfig - Configuration settings of the servlet from web.xml.javax.servlet.ServletException - If there was an exception setting up the servlet.protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletrequest - Object representing the HTTP request.response - Object representing the HTTP response.javax.servlet.ServletException - If there was a servlet related exception.IOException - If there was an IO error while setting the error.protected void doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPut in class javax.servlet.http.HttpServletrequest - Object representing the HTTP request.response - Object representing the HTTP response.javax.servlet.ServletException - If there was a servlet related exception.IOException - If there was an IO error while setting the error.protected void doDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doDelete in class javax.servlet.http.HttpServletrequest - Object representing the HTTP request.response - Object representing the HTTP response.javax.servlet.ServletException - If there was a servlet related exception.IOException - If there was an IO error while setting the error.Copyright © 2003-2008 Jive Software.