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 Details

    • ItemResponse

      public ItemResponse(String itemPath, WebDavStatus status, String href, 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.
  • Method Details

    • getHrefs

      public List<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