站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

StreamResponse - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.invocation.response
Class StreamResponse

java.lang.Object
  extended byorg.jboss.portal.portlet.invocation.response.PortletInvocationResponse
      extended byorg.jboss.portal.portlet.invocation.response.StreamResponse

public class StreamResponse
extends PortletInvocationResponse

Stream a result to the client directly.

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
private  byte[] bytes
           
private  java.lang.String contentType
           
 
Constructor Summary
StreamResponse(java.lang.String contentType, byte[] bytes)
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String getContentType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentType

private java.lang.String contentType

bytes

private byte[] bytes
Constructor Detail

StreamResponse

public StreamResponse(java.lang.String contentType,
                      byte[] bytes)
Method Detail

getContentType

public java.lang.String getContentType()

getBytes

public byte[] getBytes()