Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)`

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

### StreamResponse

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

Method Detail

### getContentType

    public java.lang.String getContentType()

### getBytes

    public byte[] getBytes()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD