Class RestUtilImpl

java.lang.Object
org.duracloud.common.rest.RestUtilImpl
All Implemented Interfaces:
RestUtil

public class RestUtilImpl extends Object implements RestUtil
Utility class for REST operations.
Author:
Bill Branan
  • Field Details

    • log

      protected final org.slf4j.Logger log
  • Constructor Details

    • RestUtilImpl

      public RestUtilImpl()
  • Method Details

    • getRequestContent

      public RestUtil.RequestContent getRequestContent(javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.HttpHeaders headers) throws Exception
      Retrieves the contents of the HTTP Request.
      Specified by:
      getRequestContent in interface RestUtil
      Returns:
      InputStream from the request
      Throws:
      Exception