org.jboss.portal.server.output
Class StreamResult

java.lang.Object
  extended by org.jboss.portal.server.output.Result
      extended by org.jboss.portal.server.output.StreamResult

public class StreamResult
extends Result

Stream a result to the client directly.


Constructor Summary
StreamResult(WindowContext producer, java.lang.String contentType, byte[] bytes)
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String getContentType()
           
 
Methods inherited from class org.jboss.portal.server.output.Result
getProducer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamResult

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

getContentType

public java.lang.String getContentType()

getBytes

public byte[] getBytes()