Package io.fluxcapacitor.javaclient.web
Class OutputStreamCapturer
java.lang.Object
java.io.OutputStream
io.fluxcapacitor.javaclient.web.OutputStreamCapturer
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionOutputStreamCapturer
(int chunkSize, BiConsumer<byte[], Boolean> chunkHandler) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
OutputStreamCapturer
-
-
Method Details
-
write
public void write(int b) - Specified by:
write
in classOutputStream
-
write
public void write(byte[] b, int off, int len) - Overrides:
write
in classOutputStream
-
flush
public void flush(boolean isFinal) -
flush
public void flush()- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-