Class CopyMethod
- java.lang.Object
-
- org.bedework.webdav.servlet.common.MethodBase
-
- org.bedework.webdav.servlet.common.CopyMethod
-
- All Implemented Interfaces:
org.bedework.util.logging.Logged,SecureXml
- Direct Known Subclasses:
MoveMethod
public class CopyMethod extends MethodBase
Class to handle COPY- 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 Constructor Description CopyMethod()
-
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 requestprotected voidprocess(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, boolean copy)-
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()
Called 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(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, boolean copy) throws WebdavException- Throws:
WebdavException
-
-