Package org.duracloud.common.rest
Class RestUtilImpl
- java.lang.Object
-
- org.duracloud.common.rest.RestUtilImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.duracloud.common.rest.RestUtil
RestUtil.RequestContent
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description RestUtilImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestUtil.RequestContentgetRequestContent(javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.HttpHeaders headers)Retrieves the contents of the HTTP Request.
-
-
-
Method Detail
-
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:
getRequestContentin interfaceRestUtil- Returns:
- InputStream from the request
- Throws:
Exception
-
-