public class HttpContentItem extends Object implements 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() |
IMimeTypeListener |
getMimeTypeListener() |
OutputStream |
getOutputStream(String actionName) |
String |
getPath() |
void |
setMimeType(String mimeType) |
void |
setMimeTypeListener(IMimeTypeListener mimeTypeListener) |
void |
setName(String name) |
void |
setOutputStream(OutputStream outputStream) |
public HttpContentItem(OutputStream outputStream, HttpOutputHandler outputHandler)
public void closeOutputStream()
closeOutputStream
in interface IContentItem
public String getPath()
getPath
in interface IContentItem
public String getMimeType()
getMimeType
in interface IContentItem
public void setMimeType(String mimeType)
setMimeType
in interface IMimeTypeListener
setMimeType
in interface IContentItem
public void setName(String name)
setName
in interface IMimeTypeListener
public InputStream getInputStream() throws ContentException
getInputStream
in interface IContentItem
ContentException
public org.pentaho.commons.connection.IPentahoStreamSource getDataSource()
getDataSource
in interface IContentItem
public OutputStream getOutputStream(String actionName)
getOutputStream
in interface IContentItem
public void setOutputStream(OutputStream outputStream)
public IMimeTypeListener getMimeTypeListener()
public void setMimeTypeListener(IMimeTypeListener mimeTypeListener)
Copyright © 2017 Hitachi Vantara. All rights reserved.