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 ByteArrayOutputStream
protected boolean
protected GZIPOutputStream
protected javax.servlet.ServletOutputStream
protected 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, println
Methods 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
closed
public boolean closed() -
reset
public void reset() -
isReady
public boolean isReady()- Specified by:
isReady
in classjavax.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(javax.servlet.WriteListener arg0) - Specified by:
setWriteListener
in classjavax.servlet.ServletOutputStream
-