Class XMLResponseMethodBase.ResponseWithinMultistatus

  extended byorg.apache.webdav.lib.methods.XMLResponseMethodBase.Response
      extended byorg.apache.webdav.lib.methods.XMLResponseMethodBase.ResponseWithinMultistatus
All Implemented Interfaces:
Enclosing class:

class XMLResponseMethodBase.ResponseWithinMultistatus
extends XMLResponseMethodBase.Response

A class that models the DAV:response element within a multistatus.

Field Summary
Fields inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
node, TAG_NAME
Constructor Summary
XMLResponseMethodBase.ResponseWithinMultistatus(org.w3c.dom.Element element)
Method Summary
protected  org.w3c.dom.Element getFirstElement(java.lang.String namespace, java.lang.String name)
 java.lang.String getHref()
          Get the href string in the response XML element.
 int getStatusCode()
          Get the status code for use with 207 (Multi-Status).
Methods inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
getHistories, getProperties, getWorkspaces, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public XMLResponseMethodBase.ResponseWithinMultistatus(org.w3c.dom.Element element)
Method Detail


public 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 interface ResponseEntity
Specified by:
getStatusCode in class XMLResponseMethodBase.Response


public java.lang.String 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 interface ResponseEntity
Specified by:
getHref in class XMLResponseMethodBase.Response


protected org.w3c.dom.Element getFirstElement(java.lang.String namespace,
                                              java.lang.String name)