Class StreamResponse

java.lang.Object
org.gatein.pc.api.invocation.response.PortletInvocationResponse
org.gatein.pc.api.invocation.response.StreamResponse

public class StreamResponse extends PortletInvocationResponse
Stream a result to the client directly.
Version:
$Revision: 5448 $
Author:
Julien Viet
  • Constructor Details

    • StreamResponse

      public StreamResponse(String contentType, byte[] bytes)
  • Method Details

    • getContentType

      public String getContentType()
    • getBytes

      public byte[] getBytes()