Class XMLResponseMethodBase.Response

java.lang.Object
org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
All Implemented Interfaces:
ResponseEntity
Direct Known Subclasses:
XMLResponseMethodBase.ResponseWithinMultistatus, XMLResponseMethodBase.SingleResponse
Enclosing class:
XMLResponseMethodBase

public abstract class XMLResponseMethodBase.Response extends Object implements ResponseEntity
An abstract class that models a DAV:response.
  • Field Details

  • Constructor Details

    • Response

      Response(Node node)
  • Method Details

    • getStatusCode

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

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

      public Enumeration getHistories()
      Description copied from interface: ResponseEntity
      Get the properties in the response XML element.
      Specified by:
      getHistories in interface ResponseEntity
      Returns:
      the properties.
    • getWorkspaces

      public Enumeration getWorkspaces()
      Description copied from interface: ResponseEntity
      Get the properties in the response XML element.
      Specified by:
      getWorkspaces in interface ResponseEntity
      Returns:
      the properties.
    • getProperties

      public Enumeration getProperties()
      Description copied from interface: ResponseEntity
      Get the properties in the response XML element.
      Specified by:
      getProperties in interface ResponseEntity
      Returns:
      the properties.
    • toString

      public String toString()
      Overrides:
      toString in class Object