org.alfresco.repo.webdav
Class GetMethod

java.lang.Object
  extended by org.alfresco.repo.webdav.WebDAVMethod
      extended by org.alfresco.repo.webdav.GetMethod
Direct Known Subclasses:
HeadMethod

public class GetMethod
extends WebDAVMethod

Implements the WebDAV GET method


Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.repo.webdav.WebDAVMethod
WebDAVMethod.Condition
 
Field Summary
protected  boolean m_returnContent
           
 
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
GetMethod()
          Default constructor
 
Method Summary
protected  void executeImpl()
          Exceute the WebDAV request
protected  boolean isReadOnly()
          Override and return true if the method is a query method only.
protected  void parseRequestBody()
          Parse the request body
protected  void parseRequestHeaders()
          Parse the request headers
 
Methods inherited from class org.alfresco.repo.webdav.WebDAVMethod
checkNode, checkNode, createXMLWriter, execute, flushXML, generateLockDiscoveryXML, generateLockDiscoveryXML, generateNamespaceDeclarations, getActionService, getAuthenticationService, getContentService, getDAVHelper, getDepth, getFileFolderService, getLockService, getMimetypeService, getNamespaceService, getNodeForPath, getNodeLockInfo, getNodeService, getPath, getPermissionService, getRequestBodyAsDocument, getRootNodeRef, getSearchService, getServiceRegistry, getServletPath, getStatusForAccessDeniedException, getTransactionService, getURLForPath, getWorkingCopy, parseDepthHeader, parseIfHeader, setDetails, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_returnContent

protected boolean m_returnContent
Constructor Detail

GetMethod

public GetMethod()
Default constructor

Method Detail

parseRequestHeaders

protected void parseRequestHeaders()
                            throws WebDAVServerException
Parse the request headers

Specified by:
parseRequestHeaders in class WebDAVMethod
Throws:
WebDAVServerException

parseRequestBody

protected void parseRequestBody()
                         throws WebDAVServerException
Parse the request body

Specified by:
parseRequestBody in class WebDAVMethod
Throws:
WebDAVServerException

isReadOnly

protected boolean isReadOnly()
Description copied from class: WebDAVMethod
Override and return true if the method is a query method only. The default implementation returns false.

Overrides:
isReadOnly in class WebDAVMethod
Returns:
Returns true always

executeImpl

protected void executeImpl()
                    throws WebDAVServerException,
                           java.lang.Exception
Exceute the WebDAV request

Specified by:
executeImpl in class WebDAVMethod
Throws:
WebDAVServerException
java.lang.Exception - any unhandled exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.