Package org.apache.catalina.servlets
Class WebdavServlet.ProppatchOperation
- java.lang.Object
-
- org.apache.catalina.servlets.WebdavServlet.ProppatchOperation
-
- Enclosing class:
- WebdavServlet
public static class WebdavServlet.ProppatchOperation extends java.lang.ObjectRepresents a PROPPATCH sub operation to be performed.
-
-
Constructor Summary
Constructors Constructor Description ProppatchOperation(WebdavServlet.PropertyUpdateType updateType, org.w3c.dom.Node propertyNode)PROPPATCH operation constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.NodegetPropertyNode()booleangetProtectedProperty()intgetStatusCode()WebdavServlet.PropertyUpdateTypegetUpdateType()voidsetStatusCode(int statusCode)
-
-
-
Constructor Detail
-
ProppatchOperation
public ProppatchOperation(WebdavServlet.PropertyUpdateType updateType, org.w3c.dom.Node propertyNode)
PROPPATCH operation constructor.- Parameters:
updateType- the update type, either SET or REMOVEpropertyNode- the XML node that contains the property name (and value if SET)
-
-
Method Detail
-
getUpdateType
public 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 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:
trueif the property is protected
-
-