Package net.bull.javamelody.internal.web
Class FilterServletOutputStream
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
net.bull.javamelody.internal.web.FilterServletOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
CounterResponseStream
Output stream pour un filtre implémentant
ServletOutputStream à partir d'un autre ServletOutputStream ou d'un OutputStream.- Author:
- Emeric Vernat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()booleanisReady()voidsetWriteListener(WriteListener writeListener) voidwrite(byte[] bytes) voidwrite(byte[] bytes, int off, int len) voidwrite(int b) Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
FilterServletOutputStream
Constructeur.- Parameters:
output- OutputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- 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
-
isReady
public boolean isReady()- Specified by:
isReadyin classServletOutputStream
-
setWriteListener
- Specified by:
setWriteListenerin classServletOutputStream
-