org.fcrepo.server.rest
Class RestUtil
java.lang.Object
org.fcrepo.server.rest.RestUtil
public class RestUtil
- extends Object
Utility class for REST operations.
- Author:
- Bill Branan
|
Field Summary |
protected org.slf4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.slf4j.Logger logger
RestUtil
public RestUtil()
getRequestContent
public org.fcrepo.server.rest.RestUtil.RequestContent getRequestContent(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.HttpHeaders headers)
throws Exception
- Retrieves the contents of the HTTP Request.
- Returns:
- InputStream from the request
- Throws:
Exception
Copyright © 2011 DuraSpace. All Rights Reserved.