public class HttpOutputHandler extends Object implements IOutputHandler, IMimeTypeListener
Modifier and Type | Field and Description |
---|---|
protected IContentItem |
outputContent |
CONTENT, FILE, OUTPUT_TYPE_CONTENT, OUTPUT_TYPE_DEFAULT, OUTPUT_TYPE_PARAMETERS, RESPONSE
Constructor and Description |
---|
HttpOutputHandler(javax.servlet.http.HttpServletResponse response,
OutputStream outputStream,
boolean allowFeedback) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowFeedback() |
boolean |
contentDone()
Deprecated.
|
IContentItem |
getFeedbackContentItem() |
IMimeTypeListener |
getMimeTypeListener() |
IContentItem |
getOutputContentItem(String objectName,
String contentName,
String instanceId,
String mimeType) |
int |
getOutputPreference() |
javax.servlet.http.HttpServletResponse |
getResponse() |
IPentahoSession |
getSession() |
boolean |
isResponseExpected() |
boolean |
isWritable() |
void |
setMimeType(String mimeType) |
void |
setMimeTypeListener(IMimeTypeListener mimeTypeListener) |
void |
setName(String name) |
void |
setOutput(String name,
Object value) |
void |
setOutputPreference(int outputType) |
void |
setResponse(javax.servlet.http.HttpServletResponse response) |
void |
setSession(IPentahoSession session) |
protected IContentItem outputContent
public HttpOutputHandler(javax.servlet.http.HttpServletResponse response, OutputStream outputStream, boolean allowFeedback)
public void setSession(IPentahoSession session)
setSession
in interface IOutputHandler
public IPentahoSession getSession()
getSession
in interface IOutputHandler
public void setOutputPreference(int outputType)
setOutputPreference
in interface IOutputHandler
public int getOutputPreference()
getOutputPreference
in interface IOutputHandler
public void setMimeType(String mimeType)
setMimeType
in interface IMimeTypeListener
public void setName(String name)
setName
in interface IMimeTypeListener
@Deprecated public boolean contentDone()
contentDone
in interface IOutputHandler
public boolean allowFeedback()
allowFeedback
in interface IOutputHandler
public IContentItem getFeedbackContentItem()
getFeedbackContentItem
in interface IOutputHandler
public IContentItem getOutputContentItem(String objectName, String contentName, String instanceId, String mimeType)
getOutputContentItem
in interface IOutputHandler
public void setOutput(String name, Object value) throws IOException
setOutput
in interface IOutputHandler
IOException
public IMimeTypeListener getMimeTypeListener()
getMimeTypeListener
in interface IOutputHandler
public void setMimeTypeListener(IMimeTypeListener mimeTypeListener)
setMimeTypeListener
in interface IOutputHandler
public javax.servlet.http.HttpServletResponse getResponse()
public void setResponse(javax.servlet.http.HttpServletResponse response)
public boolean isResponseExpected()
isResponseExpected
in interface IOutputHandler
public boolean isWritable()
Copyright © 2017 Hitachi Vantara. All rights reserved.