Package sk.iway.iwcm.system
Class WJResponseStream
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
sk.iway.iwcm.system.WJResponseStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class WJResponseStream
extends javax.servlet.ServletOutputStream
WJResponseStream.java
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayOutputStreamprotected booleanprotected GZIPOutputStreamprotected javax.servlet.ServletOutputStreamprotected javax.servlet.http.HttpServletResponse -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnMethods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
baos
-
gzipstream
-
closed
protected boolean closed -
response
protected javax.servlet.http.HttpServletResponse response -
output
protected javax.servlet.ServletOutputStream output
-
-
Constructor Details
-
WJResponseStream
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
closed
public boolean closed() -
reset
public void reset() -
isReady
public boolean isReady()- Specified by:
isReadyin classjavax.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(javax.servlet.WriteListener arg0) - Specified by:
setWriteListenerin classjavax.servlet.ServletOutputStream
-