com.ithit.webdav.server.exceptions
Class ItemResponse
java.lang.Object
com.ithit.webdav.server.exceptions.Response
com.ithit.webdav.server.exceptions.ItemResponse
public final class ItemResponse
- extends Response
Status for an items to be included into multistatus response.
|
Constructor Summary |
ItemResponse(java.lang.String itemPath,
WebDavStatus status,
java.lang.String href,
java.lang.String responseDescription)
Initializes a new instance. |
|
Method Summary |
java.util.List<java.lang.String> |
getHrefs()
Hrefs included in the response. |
WebDavStatus |
getStatus()
Gets the response for the item. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemResponse
public ItemResponse(java.lang.String itemPath,
WebDavStatus status,
java.lang.String href,
java.lang.String responseDescription)
- 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.
getHrefs
public java.util.List<java.lang.String> getHrefs()
- Hrefs included in the response.
- Returns:
- path of the item.
getStatus
public WebDavStatus getStatus()
- Gets the response for the item.
- Returns:
- response for the item
Copyright © 2009 ITHit. All Rights Reserved.