net.officefloor.plugin.servlet.container
Class HttpResponseServletOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by javax.servlet.ServletOutputStream
          extended by net.officefloor.plugin.servlet.container.HttpResponseServletOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class HttpResponseServletOutputStream
extends javax.servlet.ServletOutputStream

ServletOutputStream for the HttpResponse.

Author:
Daniel Sagenschneider

Constructor Summary
HttpResponseServletOutputStream(OutputStream delegate)
          Initiate.
 
Method Summary
 void flush()
           
 void write(int b)
           
 
Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
 
Methods inherited from class java.io.OutputStream
close, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponseServletOutputStream

public HttpResponseServletOutputStream(OutputStream delegate)
Initiate.

Parameters:
delegate - Delegate OutputStream.
Method Detail

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException


Copyright © 2005-2011. All Rights Reserved.