Class ServletOutputStreamCopier
- java.lang.Object
-
- java.io.OutputStream
-
- jakarta.servlet.ServletOutputStream
-
- io.jans.as.server.audit.debug.wrapper.ServletOutputStreamCopier
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class ServletOutputStreamCopier extends jakarta.servlet.ServletOutputStream
-
-
Constructor Summary
Constructors Constructor Description ServletOutputStreamCopier(OutputStream outputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getCopy()
boolean
isReady()
void
setWriteListener(jakarta.servlet.WriteListener writeListener)
void
write(int b)
-
Methods inherited from class jakarta.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, nullOutputStream, write, write
-
-
-
-
Constructor Detail
-
ServletOutputStreamCopier
public ServletOutputStreamCopier(OutputStream outputStream)
-
-
Method Detail
-
write
public void write(int b) throws IOException
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
getCopy
public byte[] getCopy()
-
isReady
public boolean isReady()
- Specified by:
isReady
in classjakarta.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(jakarta.servlet.WriteListener writeListener)
- Specified by:
setWriteListener
in classjakarta.servlet.ServletOutputStream
-
-