Class PropFindMethod

java.lang.Object
org.bedework.webdav.servlet.common.MethodBase
org.bedework.webdav.servlet.common.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 Details

    • PropFindMethod

      public PropFindMethod()
  • Method Details

    • 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)
      Specified by:
      doMethod in class MethodBase
      Parameters:
      req - http request
      resp - http response
    • tryPropRequest

      public PropFindMethod.PropRequest tryPropRequest(Node nd)
      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
    • parseProps

      public PropFindMethod.PropRequest parseProps(Node nd)
      Just a list of property names in any namespace.
      Parameters:
      nd - dav:prop node
      Returns:
      PropRequest
    • processResp

      public void processResp(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, int depth)
      Parameters:
      req - http request
      resp - http response
      depth - from depth header
    • doNodeProperties

      public void doNodeProperties(WebdavNsNode node, PropFindMethod.PropRequest pr)
      Generate response for a PROPFIND for the current node, then for the children.
      Parameters:
      node - current node
      pr - the prop request