Package org.apache.webdav.lib
Interface ResponseEntity
- All Known Implementing Classes:
XMLResponseMethodBase.OptionsResponse
,XMLResponseMethodBase.Response
,XMLResponseMethodBase.ResponseWithinMultistatus
,XMLResponseMethodBase.SingleResponse
public interface ResponseEntity
The interface for the response entity body formats that provide
operations for the XML response documents.
- Version:
- $Revision: 1.3 $ $Date: 2004/07/28 09:31:39 $
-
Method Summary
Modifier and TypeMethodDescriptionGet the properties in the response XML element.getHref()
Get the href string in the response XML element.Get the properties in the response XML element.int
Get the status code for use with 207 (Multi-Status).Get the properties in the response XML element.
-
Method Details
-
getHref
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.- Returns:
- the href string.
-
getStatusCode
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.- Returns:
- the status code.
-
getProperties
Enumeration getProperties()Get the properties in the response XML element.- Returns:
- the properties.
-
getHistories
Enumeration getHistories()Get the properties in the response XML element.- Returns:
- the properties.
-
getWorkspaces
Enumeration getWorkspaces()Get the properties in the response XML element.- Returns:
- the properties.
-