Class ChunkedOutputStream
java.lang.Object
java.io.OutputStream
org.sblim.cimclient.internal.http.io.ChunkedOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Class ChunkedOutputStream implements an output stream for chunked messages
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
nullOutputStream, write
-
Constructor Details
-
ChunkedOutputStream
Ctor.- Parameters:
pStream
- The stream to create this one uponpBufferLength
- The buffer length. When this value is exceeded a new chunk will be started.
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Parameters:
offset
-- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-