Package org.apache.webdav.lib.methods
Class XMLResponseMethodBase.Response
java.lang.Object
org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
- All Implemented Interfaces:
ResponseEntity
- Direct Known Subclasses:
XMLResponseMethodBase.ResponseWithinMultistatus,XMLResponseMethodBase.SingleResponse
- Enclosing class:
XMLResponseMethodBase
An abstract class that models a DAV:response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the properties in the response XML element.abstract StringgetHref()Get the href string in the response XML element.Get the properties in the response XML element.abstract intGet the status code for use with 207 (Multi-Status).Get the properties in the response XML element.toString()
-
Field Details
-
node
-
TAG_NAME
- See Also:
-
-
Constructor Details
-
Response
Response(Node node)
-
-
Method Details
-
getStatusCode
public abstract 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- 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- Returns:
- the href string.
-
getHistories
Description copied from interface:ResponseEntityGet the properties in the response XML element.- Specified by:
getHistoriesin interfaceResponseEntity- Returns:
- the properties.
-
getWorkspaces
Description copied from interface:ResponseEntityGet the properties in the response XML element.- Specified by:
getWorkspacesin interfaceResponseEntity- Returns:
- the properties.
-
getProperties
Description copied from interface:ResponseEntityGet the properties in the response XML element.- Specified by:
getPropertiesin interfaceResponseEntity- Returns:
- the properties.
-
toString
-