Class Response

java.lang.Object
com.github.sardine.model.Response

public class Response extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType>
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element ref="{DAV:}href" maxOccurs="unbounded"/>
        <choice>
          <sequence>
            <element ref="{DAV:}status"/>
          </sequence>
          <element ref="{DAV:}propstat" maxOccurs="unbounded"/>
        </choice>
        <element ref="{DAV:}error" minOccurs="0"/>
        <element ref="{DAV:}responsedescription" minOccurs="0"/>
        <element ref="{DAV:}location" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>
  • Field Details

    • href

      protected List<String> href
    • status

      protected String status
    • propstat

      protected List<Propstat> propstat
    • error

      protected Error error
    • responsedescription

      protected String responsedescription
    • location

      protected Location location
  • Constructor Details

    • Response

      public Response()
  • Method Details

    • getHref

      public List<String> getHref()
      Gets the value of the href property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the href property.

      For example, to add a new item, do as follows:

         getHref().add(newItem);
      

      Objects of the following type(s) are allowed in the list String

    • getStatus

      public String getStatus()
      Gets the value of the status property.
      Returns:
      possible object is String
    • setStatus

      public void setStatus(String value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is String
    • getPropstat

      public List<Propstat> getPropstat()
      Gets the value of the propstat property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the propstat property.

      For example, to add a new item, do as follows:

         getPropstat().add(newItem);
      

      Objects of the following type(s) are allowed in the list Propstat

    • getError

      public Error getError()
      Gets the value of the error property.
      Returns:
      possible object is Error
    • setError

      public void setError(Error value)
      Sets the value of the error property.
      Parameters:
      value - allowed object is Error
    • getResponsedescription

      public String getResponsedescription()
      Gets the value of the responsedescription property.
      Returns:
      possible object is String
    • setResponsedescription

      public void setResponsedescription(String value)
      Sets the value of the responsedescription property.
      Parameters:
      value - allowed object is String
    • getLocation

      public Location getLocation()
      Gets the value of the location property.
      Returns:
      possible object is Location
    • setLocation

      public void setLocation(Location value)
      Sets the value of the location property.
      Parameters:
      value - allowed object is Location