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
- public abstract class XMLResponseMethodBase.Response
- extends java.lang.Object
- implements ResponseEntity
An abstract class that models a DAV:response.
Field Summary |
protected org.w3c.dom.Node |
node
|
static java.lang.String |
TAG_NAME
|
Method Summary |
abstract java.lang.String |
getHref()
Get the href string in the response XML element. |
java.util.Enumeration |
getProperties()
Get the properties in the response XML element. |
abstract int |
getStatusCode()
Get the status code for use with 207 (Multi-Status). |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
node
protected org.w3c.dom.Node node
TAG_NAME
public static final java.lang.String TAG_NAME
XMLResponseMethodBase.Response
XMLResponseMethodBase.Response(org.w3c.dom.Node node)
getStatusCode
public abstract int getStatusCode()
- Description copied from interface:
ResponseEntity
- 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.
- Specified by:
getStatusCode
in interface ResponseEntity
- Following copied from interface:
org.apache.webdav.lib.ResponseEntity
- Returns:
- the status code.
getHref
public abstract java.lang.String getHref()
- Description copied from interface:
ResponseEntity
- 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.
- Specified by:
getHref
in interface ResponseEntity
- Following copied from interface:
org.apache.webdav.lib.ResponseEntity
- Returns:
- the href string.
getProperties
public java.util.Enumeration getProperties()
- Description copied from interface:
ResponseEntity
- Get the properties in the response XML element.
- Specified by:
getProperties
in interface ResponseEntity
- Following copied from interface:
org.apache.webdav.lib.ResponseEntity
- Returns:
- the properties.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object