Class OptionsMethod
java.lang.Object
org.bedework.webdav.servlet.common.MethodBase
org.bedework.webdav.servlet.common.OptionsMethod
- All Implemented Interfaces:
org.bedework.util.logging.Logged,SecureXml
Class called to handle OPTIONS. We should determine what the current
url refers to and send a response which shows the allowable methods on that
resource.
- 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 inherited from class org.bedework.webdav.servlet.common.MethodBase
dumpContent, hasBriefHeader, nsIntf, xml -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDavHeader(javax.servlet.http.HttpServletResponse resp, WebdavNsNode node) voiddoMethod(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) voidinit()Called at each requestMethods inherited from class org.bedework.webdav.servlet.common.MethodBase
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
-
Constructor Details
-
OptionsMethod
public OptionsMethod()
-
-
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
-