org.fcrepo.server.rest
Class RestUtil

java.lang.Object
  extended by 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
           
 
Constructor Summary
RestUtil()
           
 
Method Summary
 org.fcrepo.server.rest.RestUtil.RequestContent getRequestContent(javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.HttpHeaders headers)
          Retrieves the contents of the HTTP Request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.slf4j.Logger logger
Constructor Detail

RestUtil

public RestUtil()
Method Detail

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.