public class PortletResourceProxyResponse extends Object implements ExtendedRestOperations.ProxyResponse
ExtendedRestOperations.ProxyResponse that wraps a portlet ResourceResponse| Constructor and Description |
|---|
PortletResourceProxyResponse(javax.portlet.ResourceResponse resourceResponse) |
PortletResourceProxyResponse(javax.portlet.ResourceResponse resourceResponse,
Set<String> excludedHeaders) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Returns the output stream.
|
void |
setHttpHeaders(org.springframework.http.HttpHeaders headers) |
void |
setHttpStatus(org.springframework.http.HttpStatus status) |
public PortletResourceProxyResponse(javax.portlet.ResourceResponse resourceResponse)
public void setHttpStatus(org.springframework.http.HttpStatus status)
setHttpStatus in interface ExtendedRestOperations.ProxyResponsestatus - The HttpStatus returned by the original requestpublic void setHttpHeaders(org.springframework.http.HttpHeaders headers)
setHttpHeaders in interface ExtendedRestOperations.ProxyResponseheaders - The HttpHeaders returned by the original requestpublic OutputStream getOutputStream() throws IOException
ExtendedRestOperations.ProxyResponsegetOutputStream in interface ExtendedRestOperations.ProxyResponseOutputStream to write the body of the original request toIOException - exceptionCopyright © 2015 Jasig. All Rights Reserved.