com.liferay.portal.webdav.methods
Class PropfindMethodImpl
java.lang.Object
com.liferay.portal.webdav.methods.PropfindMethodImpl
- All Implemented Interfaces:
- Method
- public class PropfindMethodImpl
- extends java.lang.Object
- implements Method
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from interface com.liferay.portal.webdav.methods.Method |
COPY, DELETE, GET, HEAD, LOCK, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, SUPPORTED_METHODS, SUPPORTED_METHODS_ARRAY, UNLOCK |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropfindMethodImpl
public PropfindMethodImpl()
process
public void process(WebDAVRequest webDavReq)
throws WebDAVException
- Specified by:
process
in interface Method
- Throws:
WebDAVException
addResponse
protected void addResponse(Resource resource,
java.util.List props,
org.dom4j.Element multistatus,
java.text.DateFormat createDateFormat,
java.text.DateFormat modifiedDateFormat)
throws java.lang.Exception
- Throws:
java.lang.Exception
addResponse
protected void addResponse(java.lang.String href,
org.dom4j.Element multistatus)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDepth
protected int getDepth(WebDAVRequest webDavReq)
getCreateDateFormat
protected java.text.DateFormat getCreateDateFormat()
getModifiedDateFormat
protected java.text.DateFormat getModifiedDateFormat()
getProps
protected java.util.List getProps(WebDAVRequest webDavReq)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResponseXML
protected java.lang.String getResponseXML(WebDAVRequest webDavReq)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResponseXML
protected java.lang.String getResponseXML(org.dom4j.Document doc)
throws java.lang.Exception
- Throws:
java.lang.Exception