| com.flexive.war.webdav.DefaultServlet com.flexive.war.webdav.FxWebDavServletBase
All known Subclasses: com.flexive.war.webdav.FxWebDavServlet,
FxWebDavServletBase | public class FxWebDavServletBase extends DefaultServlet (Code) | | Servlet which adds support for WebDAV level 2.
All the basic HTTP requests are handled by the DefaultServlet.
WebDAV added the following methods to HTTP:
PROPFIND - Used to retrieve properties, persisted as XML, from a resource. It is also overloaded to allow one to
retrieve the collection structure (a.k.a. directory hierarchy) of a remote system.
PROPPATCH - Used to change and delete multiple properties on a resource in a single atomic act.
MKCOL - Used to create collections (a.k.a. directory)
COPY - Used to copy a resource from one URI to another
MOVE - Used to move a resource from one URI to another
LOCK - Used to put a lock on a resource, WebDAV supports both shared and exclusive locks
UNLOCK - To remove a lock from a resource
This is a work in progress class, the javadoc text of the webDav operations may not be
implemented correctly at this time, but describes what the operations should do in the
final implementation.
author: Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 1 $ |
checkIfHeaders | protected boolean checkIfHeaders(HttpServletRequest request, HttpServletResponse response, ResourceAttributes resourceAttributes) throws IOException(Code) | | Check if the conditions specified in the optional If headers are satisfied.
Parameters: request - The servlets request we are processing Parameters: response - The servlets response we are creating Parameters: resourceAttributes - The resource information 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 |
Methods inherited from com.flexive.war.webdav.DefaultServlet | protected boolean checkIfHeaders(HttpServletRequest request, HttpServletResponse response, ResourceAttributes resourceAttributes) 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 InputStream findXsltInputStream(DirContext directory)(Code)(Java Doc) protected String getETag(ResourceAttributes resourceAttributes)(Code)(Java Doc) protected String getReadme(DirContext directory)(Code)(Java Doc) protected String getRelativePath(HttpServletRequest request)(Code)(Java Doc) public void init() throws ServletException(Code)(Java Doc) protected Range parseContentRange(HttpServletRequest request, HttpServletResponse response) throws IOException(Code)(Java Doc) protected Vector parseRange(HttpServletRequest request, HttpServletResponse response, ResourceAttributes resourceAttributes) throws IOException(Code)(Java Doc) protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException(Code)(Java Doc) protected String renderSize(long size)(Code)(Java Doc) protected InputStream renderXml(String contextPath, CacheEntry cacheEntry, InputStream xsltInputStream) throws IOException(Code)(Java Doc) protected static String rewriteUrl(String path)(Code)(Java Doc) protected void serveResource(HttpServletRequest request, HttpServletResponse response, boolean content) throws IOException, ServletException(Code)(Java Doc)
|
|
|