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 IContentItempublic String getPath()
getPath in interface IContentItempublic String getMimeType()
getMimeType in interface IContentItempublic void setMimeType(String mimeType)
setMimeType in interface IMimeTypeListenersetMimeType in interface IContentItempublic void setName(String name)
setName in interface IMimeTypeListenerpublic InputStream getInputStream() throws ContentException
getInputStream in interface IContentItemContentExceptionpublic org.pentaho.commons.connection.IPentahoStreamSource getDataSource()
getDataSource in interface IContentItempublic OutputStream getOutputStream(String actionName)
getOutputStream in interface IContentItempublic void setOutputStream(OutputStream outputStream)
public IMimeTypeListener getMimeTypeListener()
public void setMimeTypeListener(IMimeTypeListener mimeTypeListener)
Copyright © 2017 Hitachi Vantara. All rights reserved.