Package org.pentaho.platform.web.http
Class HttpOutputHandler
- java.lang.Object
- 
- org.pentaho.platform.web.http.HttpOutputHandler
 
- 
- All Implemented Interfaces:
- org.pentaho.platform.api.engine.IMimeTypeListener,- org.pentaho.platform.api.engine.IOutputHandler
 
 public class HttpOutputHandler extends Object implements org.pentaho.platform.api.engine.IOutputHandler, org.pentaho.platform.api.engine.IMimeTypeListener 
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.pentaho.platform.api.repository.IContentItemoutputContent
 - 
Constructor SummaryConstructors Constructor Description HttpOutputHandler(javax.servlet.http.HttpServletResponse response, OutputStream outputStream, boolean allowFeedback)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanallowFeedback()booleancontentDone()Deprecated.org.pentaho.platform.api.repository.IContentItemgetFeedbackContentItem()org.pentaho.platform.api.engine.IMimeTypeListenergetMimeTypeListener()org.pentaho.platform.api.repository.IContentItemgetOutputContentItem(String objectName, String contentName, String instanceId, String mimeType)intgetOutputPreference()javax.servlet.http.HttpServletResponsegetResponse()org.pentaho.platform.api.engine.IPentahoSessiongetSession()booleanisResponseExpected()booleanisWritable()voidsetMimeType(String mimeType)voidsetMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)voidsetName(String name)voidsetOutput(String name, Object value)voidsetOutputPreference(int outputType)voidsetResponse(javax.servlet.http.HttpServletResponse response)voidsetSession(org.pentaho.platform.api.engine.IPentahoSession session)
 
- 
- 
- 
Constructor Detail- 
HttpOutputHandlerpublic HttpOutputHandler(javax.servlet.http.HttpServletResponse response, OutputStream outputStream, boolean allowFeedback)
 
- 
 - 
Method Detail- 
setSessionpublic void setSession(org.pentaho.platform.api.engine.IPentahoSession session) - Specified by:
- setSessionin interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
getSessionpublic org.pentaho.platform.api.engine.IPentahoSession getSession() - Specified by:
- getSessionin interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
setOutputPreferencepublic void setOutputPreference(int outputType) - Specified by:
- setOutputPreferencein interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
getOutputPreferencepublic int getOutputPreference() - Specified by:
- getOutputPreferencein interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
setMimeTypepublic void setMimeType(String mimeType) - Specified by:
- setMimeTypein interface- org.pentaho.platform.api.engine.IMimeTypeListener
 
 - 
setNamepublic void setName(String name) - Specified by:
- setNamein interface- org.pentaho.platform.api.engine.IMimeTypeListener
 
 - 
contentDone@Deprecated public boolean contentDone() Deprecated.- Specified by:
- contentDonein interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
allowFeedbackpublic boolean allowFeedback() - Specified by:
- allowFeedbackin interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
getFeedbackContentItempublic org.pentaho.platform.api.repository.IContentItem getFeedbackContentItem() - Specified by:
- getFeedbackContentItemin interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
getOutputContentItempublic org.pentaho.platform.api.repository.IContentItem getOutputContentItem(String objectName, String contentName, String instanceId, String mimeType) - Specified by:
- getOutputContentItemin interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
setOutputpublic void setOutput(String name, Object value) throws IOException - Specified by:
- setOutputin interface- org.pentaho.platform.api.engine.IOutputHandler
- Throws:
- IOException
 
 - 
getMimeTypeListenerpublic org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener() - Specified by:
- getMimeTypeListenerin interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
setMimeTypeListenerpublic void setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener) - Specified by:
- setMimeTypeListenerin interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
getResponsepublic javax.servlet.http.HttpServletResponse getResponse() 
 - 
setResponsepublic void setResponse(javax.servlet.http.HttpServletResponse response) 
 - 
isResponseExpectedpublic boolean isResponseExpected() - Specified by:
- isResponseExpectedin interface- org.pentaho.platform.api.engine.IOutputHandler
 
 - 
isWritablepublic boolean isWritable() 
 
- 
 
-