Class XMLResponseMethodBase.ResponseWithinMultistatus

java.lang.Object
org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
org.apache.webdav.lib.methods.XMLResponseMethodBase.ResponseWithinMultistatus
All Implemented Interfaces:
ResponseEntity
Enclosing class:
XMLResponseMethodBase

class XMLResponseMethodBase.ResponseWithinMultistatus extends XMLResponseMethodBase.Response
A class that models the DAV:response element within a multistatus.
  • Constructor Details

    • ResponseWithinMultistatus

      public ResponseWithinMultistatus(Element element)
  • Method Details

    • getStatusCode

      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
      Returns:
      the status code.
    • getHref

      public 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
      Returns:
      the href string.
    • getFirstElement

      protected Element getFirstElement(String namespace, String name)