public class HttpOutputHandler extends Object implements org.pentaho.platform.api.engine.IOutputHandler, org.pentaho.platform.api.engine.IMimeTypeListener
Modifier and Type | Field and Description |
---|---|
protected org.pentaho.platform.api.repository.IContentItem |
outputContent |
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.IOutputHandler
public org.pentaho.platform.api.engine.IPentahoSession getSession()
getSession
in interface org.pentaho.platform.api.engine.IOutputHandler
public void setOutputPreference(int outputType)
setOutputPreference
in interface org.pentaho.platform.api.engine.IOutputHandler
public int getOutputPreference()
getOutputPreference
in interface org.pentaho.platform.api.engine.IOutputHandler
public void setMimeType(String mimeType)
setMimeType
in interface org.pentaho.platform.api.engine.IMimeTypeListener
public 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.IOutputHandler
public boolean allowFeedback()
allowFeedback
in interface org.pentaho.platform.api.engine.IOutputHandler
public org.pentaho.platform.api.repository.IContentItem getFeedbackContentItem()
getFeedbackContentItem
in interface org.pentaho.platform.api.engine.IOutputHandler
public org.pentaho.platform.api.repository.IContentItem getOutputContentItem(String objectName, String contentName, String instanceId, String mimeType)
getOutputContentItem
in interface org.pentaho.platform.api.engine.IOutputHandler
public void setOutput(String name, Object value) throws IOException
setOutput
in interface org.pentaho.platform.api.engine.IOutputHandler
IOException
public org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener()
getMimeTypeListener
in interface org.pentaho.platform.api.engine.IOutputHandler
public void setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)
setMimeTypeListener
in interface org.pentaho.platform.api.engine.IOutputHandler
public javax.servlet.http.HttpServletResponse getResponse()
public void setResponse(javax.servlet.http.HttpServletResponse response)
public boolean isResponseExpected()
isResponseExpected
in interface org.pentaho.platform.api.engine.IOutputHandler
public boolean isWritable()
Copyright © 2021 Hitachi Vantara. All rights reserved.