com.nordija.tapestry.bayeux.stream
Class DefaultStreamResource

java.lang.Object
  extended by com.nordija.tapestry.bayeux.stream.DefaultStreamResource
All Implemented Interfaces:
StreamResource

public abstract class DefaultStreamResource
extends java.lang.Object
implements StreamResource

Since:
2.0.0
Author:
Jacob von Eyben - Nordija A/S

Constructor Summary
DefaultStreamResource()
           
 
Method Summary
abstract  java.io.InputStream getResourceAsStream()
           
 void writeTo(java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.nordija.tapestry.bayeux.stream.StreamResource
getContentDisposition, getContentType
 

Constructor Detail

DefaultStreamResource

public DefaultStreamResource()
Method Detail

getResourceAsStream

public abstract java.io.InputStream getResourceAsStream()
                                                 throws java.io.IOException
Throws:
java.io.IOException

writeTo

public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
Specified by:
writeTo in interface StreamResource
Throws:
java.io.IOException


Copyright © 2004-2007 Nordija A/S. All Rights Reserved.