public class ChunkedOutputStream extends FilterOutputStream
Does not write any "chunk extensions" (because the RFC does not define any concrete chunk extensions).
out| Constructor and Description |
|---|
ChunkedOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String name,
String value)
Appends one message header to the trailer.
|
void |
close() |
void |
flush() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
writepublic ChunkedOutputStream(OutputStream out)
public void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void flush()
flush in interface Flushableflush in class FilterOutputStreampublic void addHeader(String name, String value)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionCopyright © 2018 Arno Unkrig. All rights reserved.