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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.pentaho.commons.connection.IPentahoStreamSource
org.pentaho.platform.api.engine.IMimeTypeListener
getOutputStream
(String actionName) getPath()
void
setMimeType
(String mimeType) void
setMimeTypeListener
(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener) void
void
setOutputStream
(OutputStream outputStream)
-
Constructor Details
-
HttpContentItem
-
-
Method Details
-
closeOutputStream
public void closeOutputStream()- Specified by:
closeOutputStream
in interfaceorg.pentaho.platform.api.repository.IContentItem
-
getPath
- Specified by:
getPath
in interfaceorg.pentaho.platform.api.repository.IContentItem
-
getMimeType
- Specified by:
getMimeType
in interfaceorg.pentaho.platform.api.repository.IContentItem
-
setMimeType
- Specified by:
setMimeType
in interfaceorg.pentaho.platform.api.repository.IContentItem
- Specified by:
setMimeType
in interfaceorg.pentaho.platform.api.engine.IMimeTypeListener
-
setName
- Specified by:
setName
in interfaceorg.pentaho.platform.api.engine.IMimeTypeListener
-
getInputStream
- Specified by:
getInputStream
in interfaceorg.pentaho.platform.api.repository.IContentItem
- Throws:
org.pentaho.platform.api.repository.ContentException
-
getDataSource
public org.pentaho.commons.connection.IPentahoStreamSource getDataSource()- Specified by:
getDataSource
in interfaceorg.pentaho.platform.api.repository.IContentItem
-
getOutputStream
- Specified by:
getOutputStream
in interfaceorg.pentaho.platform.api.repository.IContentItem
-
setOutputStream
-
getMimeTypeListener
public org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener() -
setMimeTypeListener
public void setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)
-