Package org.pentaho.platform.web.http
Class HttpContentItem
- java.lang.Object
-
- org.pentaho.platform.web.http.HttpContentItem
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IMimeTypeListener,org.pentaho.platform.api.repository.IContentItem
public class HttpContentItem extends Object implements org.pentaho.platform.api.repository.IContentItem
-
-
Constructor Summary
Constructors Constructor Description HttpContentItem(OutputStream outputStream, HttpOutputHandler outputHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseOutputStream()org.pentaho.commons.connection.IPentahoStreamSourcegetDataSource()InputStreamgetInputStream()StringgetMimeType()org.pentaho.platform.api.engine.IMimeTypeListenergetMimeTypeListener()OutputStreamgetOutputStream(String actionName)StringgetPath()voidsetMimeType(String mimeType)voidsetMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)voidsetName(String name)voidsetOutputStream(OutputStream outputStream)
-
-
-
Constructor Detail
-
HttpContentItem
public HttpContentItem(OutputStream outputStream, HttpOutputHandler outputHandler)
-
-
Method Detail
-
closeOutputStream
public void closeOutputStream()
- Specified by:
closeOutputStreamin interfaceorg.pentaho.platform.api.repository.IContentItem
-
getPath
public String getPath()
- Specified by:
getPathin interfaceorg.pentaho.platform.api.repository.IContentItem
-
getMimeType
public String getMimeType()
- Specified by:
getMimeTypein interfaceorg.pentaho.platform.api.repository.IContentItem
-
setMimeType
public void setMimeType(String mimeType)
- Specified by:
setMimeTypein interfaceorg.pentaho.platform.api.repository.IContentItem- Specified by:
setMimeTypein interfaceorg.pentaho.platform.api.engine.IMimeTypeListener
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceorg.pentaho.platform.api.engine.IMimeTypeListener
-
getInputStream
public InputStream getInputStream() throws org.pentaho.platform.api.repository.ContentException
- Specified by:
getInputStreamin interfaceorg.pentaho.platform.api.repository.IContentItem- Throws:
org.pentaho.platform.api.repository.ContentException
-
getDataSource
public org.pentaho.commons.connection.IPentahoStreamSource getDataSource()
- Specified by:
getDataSourcein interfaceorg.pentaho.platform.api.repository.IContentItem
-
getOutputStream
public OutputStream getOutputStream(String actionName)
- Specified by:
getOutputStreamin interfaceorg.pentaho.platform.api.repository.IContentItem
-
setOutputStream
public void setOutputStream(OutputStream outputStream)
-
getMimeTypeListener
public org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener()
-
setMimeTypeListener
public void setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)
-
-