Class WebdavServlet.ProppatchOperation

  • Enclosing class:
    WebdavServlet

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

      • ProppatchOperation

        public ProppatchOperation​(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

      • getPropertyNode

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

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

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

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