Class ItemResponse
java.lang.Object
com.ithit.webdav.server.exceptions.Response
com.ithit.webdav.server.exceptions.ItemResponse
Status for an items to be included into multistatus response.
-
Constructor Summary
ConstructorsConstructorDescriptionItemResponse(String itemPath, WebDavStatus status, String href, String responseDescription) Initializes a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetHrefs()Hrefs included in the response.Gets the response for the item.Methods inherited from class com.ithit.webdav.server.exceptions.Response
getItemPath, getResponseDescription
-
Constructor Details
-
ItemResponse
Initializes a new instance.- Parameters:
itemPath- Path of the item in the hierarchy tree.status- WebDAV response for the item.href- Href to be included in the response.responseDescription- Description of the response.
-
-
Method Details
-
getHrefs
Hrefs included in the response.- Returns:
- Path of the item.
-
getStatus
Gets the response for the item.- Returns:
- Response for the item
-