org.opengts.war.tools
Class BufferedHttpServletResponse.BufferedServletOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by javax.servlet.ServletOutputStream
          extended by org.opengts.war.tools.BufferedHttpServletResponse.BufferedServletOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
BufferedHttpServletResponse

public static class BufferedHttpServletResponse.BufferedServletOutputStream
extends javax.servlet.ServletOutputStream

BufferedServletOutputStream class
Override ServletOutputStream
This class will need to be modified when using Tomcat-8 (Servlet Specification 3.1).


Constructor Summary
BufferedHttpServletResponse.BufferedServletOutputStream()
           
 
Method Summary
 int getSize()
           
 boolean isReady()
           
 byte[] toByteArray()
           
 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, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedHttpServletResponse.BufferedServletOutputStream

public BufferedHttpServletResponse.BufferedServletOutputStream()
Method Detail

write

public void write(int b)
Specified by:
write in class java.io.OutputStream

getSize

public int getSize()

toByteArray

public byte[] toByteArray()

isReady

public boolean isReady()