Package org.apache.catalina.servlets
Class WebdavServlet.ProppatchOperation
java.lang.Object
org.apache.catalina.servlets.WebdavServlet.ProppatchOperation
-
Constructor Summary
ConstructorDescriptionProppatchOperation
(org.apache.catalina.servlets.WebdavServlet.PropertyUpdateType updateType, Node propertyNode) PROPPATCH operation constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
org.apache.catalina.servlets.WebdavServlet.PropertyUpdateType
void
setStatusCode
(int statusCode)
-
Constructor Details
-
ProppatchOperation
public ProppatchOperation(org.apache.catalina.servlets.WebdavServlet.PropertyUpdateType updateType, 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 Details
-
getUpdateType
public org.apache.catalina.servlets.WebdavServlet.PropertyUpdateType getUpdateType()- Returns:
- the updateType for this operation
-
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
-