当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
StreamResponse - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.portlet.invocation.response
Class StreamResponse
java.lang.Object
org.jboss.portal.portlet.invocation.response.PortletInvocationResponse
org.jboss.portal.portlet.invocation.response.StreamResponse
- public class StreamResponse
- extends PortletInvocationResponse
Stream a result to the client directly.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Constructor Summary |
StreamResponse(java.lang.String contentType,
byte[] bytes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentType
private java.lang.String contentType
bytes
private byte[] bytes
StreamResponse
public StreamResponse(java.lang.String contentType,
byte[] bytes)
getContentType
public java.lang.String getContentType()
getBytes
public byte[] getBytes()