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 String
getHref()
Get the href string in the response XML element.Get the properties in the response XML element.abstract int
Get 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: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
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
Description copied from interface:ResponseEntity
Get the properties in the response XML element.- Specified by:
getHistories
in interfaceResponseEntity
- Returns:
- the properties.
-
getWorkspaces
Description copied from interface:ResponseEntity
Get the properties in the response XML element.- Specified by:
getWorkspaces
in interfaceResponseEntity
- Returns:
- the properties.
-
getProperties
Description copied from interface:ResponseEntity
Get the properties in the response XML element.- Specified by:
getProperties
in interfaceResponseEntity
- Returns:
- the properties.
-
toString
-