org.apache.webdav.lib.methods
Class XMLResponseMethodBase.Response
java.lang.Object
org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
- XMLResponseMethodBase
- ResponseEntity
public abstract class XMLResponseMethodBase.Response
extends java.lang.Object
An abstract class that models a DAV:response.
Enumeration | getHistories() - Get the properties in the response XML element.
|
abstract String | getHref() - Get the href string in the response XML element.
|
Enumeration | getProperties() - Get the properties in the response XML element.
|
abstract int | getStatusCode() - Get the status code for use with 207 (Multi-Status).
|
Enumeration | getWorkspaces() - Get the properties in the response XML element.
|
String | toString()
|
TAG_NAME
public static final String TAG_NAME
Response
(package private) Response(Node node)
getHistories
public Enumeration getHistories()
Get the properties in the response XML element.
- getHistories in interface ResponseEntity
getHref
public abstract String getHref()
Get 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.
- getHref in interface ResponseEntity
getProperties
public Enumeration getProperties()
Get the properties in the response XML element.
- getProperties in interface ResponseEntity
getStatusCode
public abstract int getStatusCode()
Get 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.
- getStatusCode in interface ResponseEntity
getWorkspaces
public Enumeration getWorkspaces()
Get the properties in the response XML element.
- getWorkspaces in interface ResponseEntity
toString
public String toString()