public class HttpContentItem extends Object implements org.pentaho.platform.api.repository.IContentItem
Constructor and Description |
---|
HttpContentItem(OutputStream outputStream,
HttpOutputHandler outputHandler) |
Modifier and Type | Method and Description |
---|---|
void |
closeOutputStream() |
org.pentaho.commons.connection.IPentahoStreamSource |
getDataSource() |
InputStream |
getInputStream() |
String |
getMimeType() |
org.pentaho.platform.api.engine.IMimeTypeListener |
getMimeTypeListener() |
OutputStream |
getOutputStream(String actionName) |
String |
getPath() |
void |
setMimeType(String mimeType) |
void |
setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener) |
void |
setName(String name) |
void |
setOutputStream(OutputStream outputStream) |
public HttpContentItem(OutputStream outputStream, HttpOutputHandler outputHandler)
public void closeOutputStream()
closeOutputStream
in interface org.pentaho.platform.api.repository.IContentItem
public String getPath()
getPath
in interface org.pentaho.platform.api.repository.IContentItem
public String getMimeType()
getMimeType
in interface org.pentaho.platform.api.repository.IContentItem
public void setMimeType(String mimeType)
setMimeType
in interface org.pentaho.platform.api.engine.IMimeTypeListener
setMimeType
in interface org.pentaho.platform.api.repository.IContentItem
public void setName(String name)
setName
in interface org.pentaho.platform.api.engine.IMimeTypeListener
public InputStream getInputStream() throws org.pentaho.platform.api.repository.ContentException
getInputStream
in interface org.pentaho.platform.api.repository.IContentItem
org.pentaho.platform.api.repository.ContentException
public org.pentaho.commons.connection.IPentahoStreamSource getDataSource()
getDataSource
in interface org.pentaho.platform.api.repository.IContentItem
public OutputStream getOutputStream(String actionName)
getOutputStream
in interface org.pentaho.platform.api.repository.IContentItem
public void setOutputStream(OutputStream outputStream)
public org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener()
public void setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)
Copyright © 2021 Hitachi Vantara. All rights reserved.