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 AbstractBodyTransferrer
IOException
public void write(Chunk chunk) throws IOException
write
in class AbstractBodyTransferrer
IOException
public void finish() throws IOException
finish
in class AbstractBodyTransferrer
IOException
protected static void writeChunkSize(OutputStream out, int chunkSize) throws IOException
IOException
Copyright © 2012. All Rights Reserved.