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.1 $ $Date: 2001/03/06 06:07:09 $
Author:
Park, Sung-Gu

Method Summary
 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).
 

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.