public class GenericContentResponseImpl extends Object implements IContentResponse
| Constructor and Description |
|---|
GenericContentResponseImpl() |
GenericContentResponseImpl(String proxiedLocation,
InputStream content)
Construct a content response using the provided location and content stream
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the content response.
|
InputStream |
getContent()
Get a stream of retrieved content.
|
String |
getProxiedLocation()
Get the proxied location.
|
void |
setContent(InputStream content)
Set the stream of retrieved content.
|
void |
setProxiedLocation(String proxiedLocation)
Set the proxied location.
|
public GenericContentResponseImpl()
public GenericContentResponseImpl(String proxiedLocation, InputStream content)
proxiedLocation - content - public void close()
IContentResponseclose in interface IContentResponsepublic String getProxiedLocation()
IContentResponsegetProxiedLocation in interface IContentResponsepublic void setProxiedLocation(String proxiedLocation)
proxiedLocation - public InputStream getContent()
IContentResponsegetContent in interface IContentResponsepublic void setContent(InputStream content)
content - Copyright © 2013 Jasig. All Rights Reserved.