public class GenericContentResponseImpl extends Object implements IContentResponse
| Constructor and Description |
|---|
GenericContentResponseImpl()
Constructor for 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()
Getter for the field
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()
Constructor for GenericContentResponseImpl.
public GenericContentResponseImpl(String proxiedLocation, InputStream content)
proxiedLocation - a String objectcontent - a InputStream objectpublic void close()
close in interface IContentResponsepublic String getProxiedLocation()
getProxiedLocation in interface IContentResponseString objectpublic void setProxiedLocation(String proxiedLocation)
proxiedLocation - a String objectpublic InputStream getContent()
Getter for the field content.
getContent in interface IContentResponseInputStream objectpublic void setContent(InputStream content)
content - a InputStream objectCopyright © 2022 Apereo. All rights reserved.