Package sk.iway.iwcm.system.context
Class ContextResponseStream
java.lang.Object
java.io.OutputStream
jakarta.servlet.ServletOutputStream
sk.iway.iwcm.system.context.ContextResponseStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class ContextResponseStream
extends jakarta.servlet.ServletOutputStream
ContextResponseStream.java
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayOutputStreamprotected booleanprotected 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
-
closed
protected boolean closed -
baos
-
originalResponse
protected jakarta.servlet.http.HttpServletResponse originalResponse -
originalOutputStream
protected jakarta.servlet.ServletOutputStream originalOutputStream
-
-
Constructor Details
-
ContextResponseStream
- 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() -
getBaos
-
isReady
public boolean isReady()- Specified by:
isReadyin classjakarta.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(jakarta.servlet.WriteListener arg0) - Specified by:
setWriteListenerin classjakarta.servlet.ServletOutputStream
-