org.jasig.springframework.web.client
Class PortletResourceProxyResponse
java.lang.Object
org.jasig.springframework.web.client.PortletResourceProxyResponse
- All Implemented Interfaces:
- ExtendedRestOperations.ProxyResponse
public class PortletResourceProxyResponse
- extends Object
- implements ExtendedRestOperations.ProxyResponse
Implementation of ExtendedRestOperations.ProxyResponse that wraps a portlet ResourceResponse
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletResourceProxyResponse
public PortletResourceProxyResponse(javax.portlet.ResourceResponse resourceResponse)
PortletResourceProxyResponse
public PortletResourceProxyResponse(javax.portlet.ResourceResponse resourceResponse,
Set<String> excludedHeaders)
setHttpStatus
public void setHttpStatus(org.springframework.http.HttpStatus status)
- Specified by:
setHttpStatus in interface ExtendedRestOperations.ProxyResponse
- Parameters:
status - The HttpStatus returned by the original request
setHttpHeaders
public void setHttpHeaders(org.springframework.http.HttpHeaders headers)
- Specified by:
setHttpHeaders in interface ExtendedRestOperations.ProxyResponse
- Parameters:
headers - The HttpHeaders returned by the original request
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream in interface ExtendedRestOperations.ProxyResponse
- Returns:
OutputStream to write the body of the original request to
- Throws:
IOException
Copyright © 2013 Jasig. All Rights Reserved.