Class PropFindMethod

  • All Implemented Interfaces:
    org.bedework.util.logging.Logged, SecureXml

    public class PropFindMethod
    extends MethodBase
    Class called to handle PROPFIND
    Author:
    Mike Douglass douglm rpi.edu
    • Constructor Detail

      • PropFindMethod

        public PropFindMethod()
    • Method Detail

      • init

        public void init()
        Description copied from class: MethodBase
        Called at each request
        Specified by:
        init in class MethodBase
      • doMethod

        public void doMethod​(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse resp)
                      throws WebdavException
        Specified by:
        doMethod in class MethodBase
        Parameters:
        req - http request
        resp - http response
        Throws:
        WebdavException - on fatal error
      • tryPropRequest

        public PropFindMethod.PropRequest tryPropRequest​(Node nd)
                                                  throws WebdavException
        See if the current node represents a valid propfind element and return with a request if so. Otherwise return null.
        Parameters:
        nd - propfind element node
        Returns:
        PropRequest
        Throws:
        WebdavException
      • processResp

        public void processResp​(javax.servlet.http.HttpServletRequest req,
                                javax.servlet.http.HttpServletResponse resp,
                                int depth)
                         throws WebdavException
        Parameters:
        req - http request
        resp - http response
        depth - from depth header
        Throws:
        WebdavException