Class GetMethod

  • Direct Known Subclasses:
    HeadMethod

    public class GetMethod
    extends WebDAVMethod
    Implements the WebDAV GET method
    Author:
    gavinc
    • Field Detail

      • m_returnContent

        protected boolean m_returnContent
    • Constructor Detail

      • GetMethod

        public GetMethod()
        Default constructor
    • Method Detail

      • 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
      • readContent

        protected void readContent​(org.alfresco.service.cmr.model.FileInfo realNodeInfo,
                                   org.alfresco.service.cmr.repository.ContentReader reader)
                            throws java.io.IOException,
                                   WebDAVServerException
        Throws:
        java.io.IOException
        WebDAVServerException
      • attemptReadContent

        protected void attemptReadContent​(org.alfresco.service.cmr.model.FileInfo realNodeInfo,
                                          org.alfresco.service.cmr.repository.ContentReader reader)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getContentDispositionHeader

        protected java.lang.String getContentDispositionHeader​(org.alfresco.service.cmr.model.FileInfo nodeInfo)
      • isValidQuotedStringHeaderParamChar

        protected boolean isValidQuotedStringHeaderParamChar​(char c)