Package org.alfresco.repo.webdav
Class OptionsMethod
- java.lang.Object
-
- org.alfresco.repo.webdav.WebDAVMethod
-
- org.alfresco.repo.webdav.OptionsMethod
-
public class OptionsMethod extends WebDAVMethod
Implements the WebDAV OPTIONS method- Author:
- Gavin Cornwell
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.alfresco.repo.webdav.WebDAVMethod
WebDAVMethod.Condition
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.webdav.WebDAVMethod
logger, m_childToParent, m_conditions, m_davHelper, m_depth, m_parentLockInfo, m_request, m_resourceTag, m_response, m_rootNodeRef, m_strPath, m_userAgent
-
-
Constructor Summary
Constructors Constructor Description OptionsMethod()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecuteImpl()Perform the main request processingprotected booleanisReadOnly()Override and return true if the method is a query method only.protected voidparseRequestBody()Parse the request main bodyprotected voidparseRequestHeaders()Parse the request header fields-
Methods inherited from class org.alfresco.repo.webdav.WebDAVMethod
checkNode, checkNode, createXMLWriter, execute, flushXML, generateLockDiscoveryXML, generateLockDiscoveryXML, generateNamespaceDeclarations, generateResponseImpl, getActionService, getAuthenticationService, getContentService, getContextPath, getDAVHelper, getDAVLockService, getDepth, getFileFolderService, getMimetypeService, getNamespaceService, getNodeForPath, getNodeLockInfo, getNodeService, getPath, getPermissionService, getRequestBodyAsDocument, getRootNodeRef, getSearchService, getServiceRegistry, getServletPath, getSiteId, getStatusForAccessDeniedException, getTenantDomain, getTransactionService, getURLForPath, getWorkingCopy, getXMLOutputFormat, parseDepthHeader, parseIfHeader, setDetails, shouldFlushXMLWriter, toString
-
-
-
-
Method Detail
-
parseRequestHeaders
protected void parseRequestHeaders() throws WebDAVServerExceptionParse the request header fields- Specified by:
parseRequestHeadersin classWebDAVMethod- Throws:
WebDAVServerException
-
parseRequestBody
protected void parseRequestBody() throws WebDAVServerExceptionParse the request main body- Specified by:
parseRequestBodyin classWebDAVMethod- Throws:
WebDAVServerException
-
isReadOnly
protected boolean isReadOnly()
Description copied from class:WebDAVMethodOverride and return true if the method is a query method only. The default implementation returns false.- Overrides:
isReadOnlyin classWebDAVMethod- Returns:
- Returns true always
-
executeImpl
protected void executeImpl() throws WebDAVServerExceptionPerform the main request processing- Specified by:
executeImplin classWebDAVMethod- Throws:
WebDAVServerException
-
-