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
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
FieldsFields inherited from class org.bedework.webdav.servlet.common.MethodBase
dumpContent, hasBriefHeader, nsIntf, xml -
Constructor Summary
Constructors -
Method Summary
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, startEmitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warnMethods inherited from interface org.bedework.webdav.servlet.common.SecureXml
parseXmlSafely
-
Field Details
-
doContent
protected boolean doContent
-
-
Constructor Details
-
GetMethod
public GetMethod()
-
-
Method Details
-
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) - Specified by:
doMethodin classMethodBase- Parameters:
req- http requestresp- http response
-