org.apache.webdav.lib

Interface ResponseEntity

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

Enumeration
getHistories()
Get the properties in the response XML element.
String
getHref()
Get the href string in the response XML element.
Enumeration
getProperties()
Get the properties in the response XML element.
int
getStatusCode()
Get the status code for use with 207 (Multi-Status).
Enumeration
getWorkspaces()
Get the properties in the response XML element.

Method Details

getHistories

public Enumeration getHistories()
Get the properties in the response XML element.
Returns:
the properties.

getHref

public 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.

getProperties

public Enumeration getProperties()
Get the properties in the response XML element.
Returns:
the properties.

getStatusCode

public 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.

getWorkspaces

public Enumeration getWorkspaces()
Get the properties in the response XML element.
Returns:
the properties.