org.apache.webdav.lib
Interface ResponseEntity

All Known Implementing Classes:
XMLResponseMethodBase.Response

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
 java.util.Enumeration getHistories()
          Get the properties in the response XML element.
 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.
 int getStatusCode()
          Get the status code for use with 207 (Multi-Status).
 java.util.Enumeration getWorkspaces()
          Get the properties in the response XML element.
 

Method Detail

getHref

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

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.

getProperties

public java.util.Enumeration getProperties()
Get the properties in the response XML element.

Returns:
the properties.

getHistories

public java.util.Enumeration getHistories()
Get the properties in the response XML element.

Returns:
the properties.

getWorkspaces

public java.util.Enumeration getWorkspaces()
Get the properties in the response XML element.

Returns:
the properties.