public class HttpOutputHandler extends Object implements org.pentaho.platform.api.engine.IOutputHandler, org.pentaho.platform.api.engine.IMimeTypeListener
| Constructor and Description |
|---|
HttpOutputHandler(javax.servlet.http.HttpServletResponse response,
OutputStream outputStream,
boolean allowFeedback) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowFeedback() |
boolean |
contentDone()
Deprecated.
|
org.pentaho.platform.api.repository.IContentItem |
getFeedbackContentItem() |
org.pentaho.platform.api.engine.IMimeTypeListener |
getMimeTypeListener() |
org.pentaho.platform.api.repository.IContentItem |
getOutputContentItem(String objectName,
String contentName,
String instanceId,
String mimeType) |
int |
getOutputPreference() |
javax.servlet.http.HttpServletResponse |
getResponse() |
org.pentaho.platform.api.engine.IPentahoSession |
getSession() |
boolean |
isResponseExpected() |
boolean |
isWritable() |
void |
setMimeType(String mimeType) |
void |
setMimeTypeListener(org.pentaho.platform.api.engine.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(org.pentaho.platform.api.engine.IPentahoSession session) |
public HttpOutputHandler(javax.servlet.http.HttpServletResponse response,
OutputStream outputStream,
boolean allowFeedback)
public void setSession(org.pentaho.platform.api.engine.IPentahoSession session)
setSession in interface org.pentaho.platform.api.engine.IOutputHandlerpublic org.pentaho.platform.api.engine.IPentahoSession getSession()
getSession in interface org.pentaho.platform.api.engine.IOutputHandlerpublic void setOutputPreference(int outputType)
setOutputPreference in interface org.pentaho.platform.api.engine.IOutputHandlerpublic int getOutputPreference()
getOutputPreference in interface org.pentaho.platform.api.engine.IOutputHandlerpublic void setMimeType(String mimeType)
setMimeType in interface org.pentaho.platform.api.engine.IMimeTypeListenerpublic void setName(String name)
setName in interface org.pentaho.platform.api.engine.IMimeTypeListener@Deprecated public boolean contentDone()
contentDone in interface org.pentaho.platform.api.engine.IOutputHandlerpublic boolean allowFeedback()
allowFeedback in interface org.pentaho.platform.api.engine.IOutputHandlerpublic org.pentaho.platform.api.repository.IContentItem getFeedbackContentItem()
getFeedbackContentItem in interface org.pentaho.platform.api.engine.IOutputHandlerpublic org.pentaho.platform.api.repository.IContentItem getOutputContentItem(String objectName, String contentName, String instanceId, String mimeType)
getOutputContentItem in interface org.pentaho.platform.api.engine.IOutputHandlerpublic void setOutput(String name, Object value) throws IOException
setOutput in interface org.pentaho.platform.api.engine.IOutputHandlerIOExceptionpublic org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener()
getMimeTypeListener in interface org.pentaho.platform.api.engine.IOutputHandlerpublic void setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)
setMimeTypeListener in interface org.pentaho.platform.api.engine.IOutputHandlerpublic javax.servlet.http.HttpServletResponse getResponse()
public void setResponse(javax.servlet.http.HttpServletResponse response)
public boolean isResponseExpected()
isResponseExpected in interface org.pentaho.platform.api.engine.IOutputHandlerpublic boolean isWritable()