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

StreamResult - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.server.output
Class StreamResult

java.lang.Object
  extended byorg.jboss.portal.server.output.Result
      extended byorg.jboss.portal.server.output.StreamResult

public class StreamResult
extends Result

Stream a result to the client directly.


Constructor Summary
StreamResult(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
 

Constructor Detail

StreamResult

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

getContentType

public java.lang.String getContentType()

getBytes

public byte[] getBytes()