public class DechunkedOutputStream extends LimitOutputStream
LimitOutputStream.DoneCallback_callback, _isDoneout| Constructor and Description |
|---|
DechunkedOutputStream(OutputStream raw,
LimitOutputStream.DoneCallback callback,
boolean strip) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] buf,
int off,
int len)
Subclasses MUST override the following method
such that it calls done() when finished
and throws EOFException if called again
|
isDone, setDone, writeclose, flush, writepublic DechunkedOutputStream(OutputStream raw, LimitOutputStream.DoneCallback callback, boolean strip)
public void write(byte[] buf,
int off,
int len)
throws IOException
LimitOutputStreamwrite in class LimitOutputStreamIOException