Package org.apache.webdav.lib.methods
Class XMLResponseMethodBase.SingleResponse
java.lang.Object
org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
org.apache.webdav.lib.methods.XMLResponseMethodBase.SingleResponse
- All Implemented Interfaces:
ResponseEntity
- Direct Known Subclasses:
XMLResponseMethodBase.OptionsResponse
- Enclosing class:
XMLResponseMethodBase
-
Field Summary
Fields inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
node, TAG_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHref()Get the href string in the response XML element.intGet the status code for use with 207 (Multi-Status).Methods inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
getHistories, getProperties, getWorkspaces, toString
-
Constructor Details
-
SingleResponse
-
-
Method Details
-
getStatusCode
public int getStatusCode()Description copied from interface:ResponseEntityGet the status code for use with 207 (Multi-Status). Unless explicitly prohibited any 2/3/4/5xx series response code may be used in a Multi-Status response.- Specified by:
getStatusCodein interfaceResponseEntity- Specified by:
getStatusCodein classXMLResponseMethodBase.Response- Returns:
- the status code.
-
getHref
Description copied from interface:ResponseEntityGet the href string in the response XML element. Each response XML element MUST contain an href XML element that gives the URI of the resource on which the properties in the prop XML element are defined.- Specified by:
getHrefin interfaceResponseEntity- Specified by:
getHrefin classXMLResponseMethodBase.Response- Returns:
- the href string.
-