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
public abstract class XMLResponseMethodBase.Response extends java.lang.Object implements ResponseEntity
An abstract class that models a DAV:response.
-
-
Constructor Summary
Constructors Constructor Description Response(org.w3c.dom.Node node)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration
getHistories()
Get the properties in the response XML element.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.util.Enumeration
getWorkspaces()
Get the properties in the response XML element.java.lang.String
toString()
-
-
-
Field Detail
-
node
protected org.w3c.dom.Node node
-
TAG_NAME
public static final java.lang.String TAG_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 interfaceResponseEntity
- 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 interfaceResponseEntity
- Returns:
- the href string.
-
getHistories
public java.util.Enumeration getHistories()
Description copied from interface:ResponseEntity
Get the properties in the response XML element.- Specified by:
getHistories
in interfaceResponseEntity
- Returns:
- the properties.
-
getWorkspaces
public java.util.Enumeration getWorkspaces()
Description copied from interface:ResponseEntity
Get the properties in the response XML element.- Specified by:
getWorkspaces
in interfaceResponseEntity
- Returns:
- the properties.
-
getProperties
public java.util.Enumeration getProperties()
Description copied from interface:ResponseEntity
Get the properties in the response XML element.- Specified by:
getProperties
in interfaceResponseEntity
- Returns:
- the properties.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-