Package sk.iway.iwcm.system
Class WJResponseStream
java.lang.Object
java.io.OutputStream
jakarta.servlet.ServletOutputStream
sk.iway.iwcm.system.WJResponseStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class WJResponseStream
extends jakarta.servlet.ServletOutputStream
WJResponseStream.java
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayOutputStreamprotected booleanprotected GZIPOutputStreamprotected jakarta.servlet.ServletOutputStreamprotected jakarta.servlet.http.HttpServletResponse -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
baos
-
gzipstream
-
closed
protected boolean closed -
response
protected jakarta.servlet.http.HttpServletResponse response -
output
protected jakarta.servlet.ServletOutputStream output
-
-
Constructor Details
-
WJResponseStream
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classjakarta.servlet.ServletOutputStream- 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 classjakarta.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(jakarta.servlet.WriteListener arg0) - Specified by:
setWriteListenerin classjakarta.servlet.ServletOutputStream
-