Class GetMethod
- java.lang.Object
-
- org.bedework.webdav.servlet.common.MethodBase
-
- org.bedework.webdav.servlet.common.GetMethod
-
- All Implemented Interfaces:
org.bedework.util.logging.Logged,SecureXml
- Direct Known Subclasses:
HeadMethod
public class GetMethod extends MethodBase
Class called to handle GET Get the content of a node. Note this is subclassed by HeadMethod which overrides init and sets doContent false.- 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 booleandoContent-
Fields inherited from class org.bedework.webdav.servlet.common.MethodBase
dumpContent, hasBriefHeader, nsIntf, xml
-
-
Constructor Summary
Constructors Constructor Description GetMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoMethod(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)voidinit()Called at each request-
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
-
-
-
-
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
-
-