Package hudson.util
Class FlushProofOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- hudson.util.DelegatingOutputStream
-
- hudson.util.FlushProofOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class FlushProofOutputStream extends DelegatingOutputStream
OutputStream
that blocksflush()
method.- Since:
- 1.349
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from class hudson.util.DelegatingOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description FlushProofOutputStream(OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
-
Methods inherited from class hudson.util.DelegatingOutputStream
close, write, write, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
FlushProofOutputStream
public FlushProofOutputStream(OutputStream out)
-
-
Method Detail
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classDelegatingOutputStream
- Throws:
IOException
-
-