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>
| Modifier and Type | Field and Description |
|---|---|
protected Error |
error |
protected List<String> |
href |
protected Location |
location |
protected List<Propstat> |
propstat |
protected String |
responsedescription |
protected String |
status |
| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
Error |
getError()
Gets the value of the error property.
|
List<String> |
getHref()
Gets the value of the href property.
|
Location |
getLocation()
Gets the value of the location property.
|
List<Propstat> |
getPropstat()
Gets the value of the propstat property.
|
String |
getResponsedescription()
Gets the value of the responsedescription property.
|
String |
getStatus()
Gets the value of the status property.
|
void |
setError(Error value)
Sets the value of the error property.
|
void |
setLocation(Location value)
Sets the value of the location property.
|
void |
setResponsedescription(String value)
Sets the value of the responsedescription property.
|
void |
setStatus(String value)
Sets the value of the status property.
|
protected String status
protected Error error
protected String responsedescription
protected Location location
public List<String> getHref()
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
public String getStatus()
Stringpublic void setStatus(String value)
value - allowed object is
Stringpublic List<Propstat> getPropstat()
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
public Error getError()
Errorpublic void setError(Error value)
value - allowed object is
Errorpublic String getResponsedescription()
Stringpublic void setResponsedescription(String value)
value - allowed object is
Stringpublic Location getLocation()
LocationCopyright © 2019. All rights reserved.