Package ch.qos.logback.access.servlet
Class TeeServletOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- javax.servlet.ServletOutputStream
-
- ch.qos.logback.access.servlet.TeeServletOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class TeeServletOutputStream extends javax.servlet.ServletOutputStream
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()booleanisReady()voidsetWriteListener(javax.servlet.WriteListener listener)voidwrite(byte[] byteArray)voidwrite(byte[] byteArray, int offset, int length)voidwrite(int val)
-
-
-
Method Detail
-
write
public void write(int val) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] byteArray) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] byteArray, int offset, int length) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
isReady
public boolean isReady()
- Specified by:
isReadyin classjavax.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(javax.servlet.WriteListener listener)
- Specified by:
setWriteListenerin classjavax.servlet.ServletOutputStream
-
-