public class ChunkedOutputStream
extends java.io.FilterOutputStream
Does not write any "chunk extensions" (because the RFC does not define any concrete chunk extensions).
| Constructor and Description |
|---|
ChunkedOutputStream(java.io.OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(java.lang.String name,
java.lang.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) |
public void write(int b)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void flush()
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreampublic void addHeader(java.lang.String name,
java.lang.String value)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOException