Class ReportMethod
- java.lang.Object
-
- org.bedework.webdav.servlet.common.MethodBase
-
- org.bedework.webdav.servlet.common.ReportMethod
-
- All Implemented Interfaces:
org.bedework.util.logging.Logged,SecureXml
public class ReportMethod extends MethodBase
Class called to handle POST- Author:
- Mike Douglass douglm rpi.edu
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bedework.webdav.servlet.common.MethodBase
MethodBase.MethodInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected PropFindMethodpmprotected PropFindMethod.PropRequestpreq-
Fields inherited from class org.bedework.webdav.servlet.common.MethodBase
dumpContent, hasBriefHeader, nsIntf, xml
-
-
Constructor Summary
Constructors Constructor Description ReportMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoMethod(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoNodeProperties(WebdavNsNode node)voidinit()Called at each requestprotected voidprocess(Document doc, int depth, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)-
Methods inherited from class org.bedework.webdav.servlet.common.MethodBase
addDavHeader, addHeaders, addNs, addStatus, cdataProperty, checkDepth, checkServerInfo, closeTag, defaultDepth, doPropFind, emptyTag, emptyTag, flush, getChildren, getChildrenArray, getElementContent, getLogger, getNsAbbrev, getNsIntf, getOnlyChild, getResourceUri, getStatus, init, isEmpty, openTag, openTagNoNewline, parseContent, parseContent, property, property, propertyTagVal, startEmit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, warn
-
Methods inherited from interface org.bedework.webdav.servlet.common.SecureXml
parseXmlSafely
-
-
-
-
Field Detail
-
preq
protected PropFindMethod.PropRequest preq
-
pm
protected PropFindMethod pm
-
-
Method Detail
-
init
public void init()
Description copied from class:MethodBaseCalled at each request- Specified by:
initin classMethodBase
-
doMethod
public void doMethod(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws WebdavException- Specified by:
doMethodin classMethodBase- Parameters:
req- http requestresp- http response- Throws:
WebdavException- on fatal error
-
process
protected void process(Document doc, int depth, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws WebdavException
- Throws:
WebdavException
-
doNodeProperties
protected void doNodeProperties(WebdavNsNode node) throws WebdavException
- Throws:
WebdavException
-
-