public class ChunkedBodyTransferrer extends AbstractBodyTransferrer
| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
ZERO |
| Constructor and Description |
|---|
ChunkedBodyTransferrer(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
void |
write(byte[] content,
int i,
int length) |
void |
write(Chunk chunk) |
protected static void |
writeChunkSize(OutputStream out,
int chunkSize) |
public ChunkedBodyTransferrer(OutputStream out)
public void write(byte[] content,
int i,
int length)
throws IOException
write in class AbstractBodyTransferrerIOExceptionpublic void write(Chunk chunk) throws IOException
write in class AbstractBodyTransferrerIOExceptionpublic void finish()
throws IOException
finish in class AbstractBodyTransferrerIOExceptionprotected static void writeChunkSize(OutputStream out, int chunkSize) throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.