Class ChunkedOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.sblim.cimclient.internal.http.io.ChunkedOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class ChunkedOutputStream extends java.io.OutputStream
Class ChunkedOutputStream implements an output stream for chunked messages
-
-
Constructor Summary
Constructors Constructor Description ChunkedOutputStream(java.io.OutputStream pStream, int pBufferLength)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
void
write(byte[] source, int offset, int len)
void
write(int i)
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] source, int offset, int len) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Parameters:
offset
-- Throws:
java.io.IOException
-
write
public void write(int i) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
-