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) |
write
public ChunkedOutputStream(OutputStream out)
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void flush()
flush
in interface Flushable
flush
in class FilterOutputStream
public void addHeader(String name, String value)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
Copyright © 2018 Arno Unkrig. All rights reserved.