public class MultistatusException extends DavException
| Constructor and Description |
|---|
MultistatusException()
Initializes a new instance of the
MultistatusException class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addResponse(String path,
Property property,
WebDavStatus status)
Adds response for a property.
|
void |
addResponse(String path,
Property property,
WebDavStatus status,
String responseDescription,
String propResponseDescription)
Adds response for a property with a description.
|
void |
addResponse(String path,
WebDavStatus status)
Adds response for an item.
|
void |
addResponse(String path,
WebDavStatus status,
String href,
String responseDescription)
Adds response for an item.
|
void |
addResponses(Response... responses)
Adds responses for items.
|
String |
getResponseDescription()
Retrieves description of whole response.
|
Response[] |
getResponses()
Gets the array of the responses for multiple hierarchy items in this multistatus response.
|
void |
setResponseDescription(String responseDescription)
Sets description of the response.
|
getExtendedError, getLocalName, getNamespace, getStatus, setLocalName, setNamespaceaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MultistatusException()
MultistatusException class.public void addResponses(Response... responses)
responses - Responses.public void addResponse(String path, WebDavStatus status)
path - Item path.status - Status for the item.public void addResponse(String path, WebDavStatus status, String href, String responseDescription)
path - Item path.status - Status for the item.href - Path to the response item.responseDescription - Description of the response.public void addResponse(String path, Property property, WebDavStatus status)
path - Path to an item property belongs to.property - Property.status - Status for the property.public void addResponse(String path, Property property, WebDavStatus status, String responseDescription, String propResponseDescription)
path - Path to an item property belongs to.property - Property.status - Status for the property.responseDescription - Description of the response for the item property belongs to.propResponseDescription - Description for the property status.public Response[] getResponses()
public String getResponseDescription()
public void setResponseDescription(String responseDescription)
responseDescription - Description of the response.Copyright © ITHit. All Rights Reserved.