Class WebdavServlet.ProppatchOperation

  • Enclosing class:
    WebdavServlet

    public static class WebdavServlet.ProppatchOperation
    extends java.lang.Object
    Represents a PROPPATCH sub operation to be performed.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProppatchOperation​(org.apache.catalina.servlets.WebdavServlet.PropertyUpdateType updateType, org.w3c.dom.Node propertyNode)
      PROPPATCH operation constructor.
    • Constructor Detail

      • ProppatchOperation

        public ProppatchOperation​(org.apache.catalina.servlets.WebdavServlet.PropertyUpdateType updateType,
                                  org.w3c.dom.Node propertyNode)
        PROPPATCH operation constructor.
        Parameters:
        updateType - the update type, either SET or REMOVE
        propertyNode - the XML node that contains the property name (and value if SET)
    • Method Detail

      • getUpdateType

        public org.apache.catalina.servlets.WebdavServlet.PropertyUpdateType getUpdateType()
        Returns:
        the updateType for this operation
      • getPropertyNode

        public org.w3c.dom.Node getPropertyNode()
        Returns:
        the propertyNode the XML node that contains the property name (and value if SET)
      • getStatusCode

        public int getStatusCode()
        Returns:
        the statusCode the statusCode to set as a result of the operation
      • setStatusCode

        public void setStatusCode​(int statusCode)
        Parameters:
        statusCode - the statusCode to set as a result of the operation
      • getProtectedProperty

        public boolean getProtectedProperty()
        Returns:
        true if the property is protected