private final class Http1Codec.ChunkedSink
extends java.lang.Object
implements okio.Sink
| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed |
private okio.ForwardingTimeout |
timeout |
| Constructor and Description |
|---|
ChunkedSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
okio.Timeout |
timeout() |
void |
write(okio.Buffer source,
long byteCount) |
public okio.Timeout timeout()
timeout in interface okio.Sinkpublic void write(okio.Buffer source,
long byteCount)
throws java.io.IOException
write in interface okio.Sinkjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in interface okio.Sinkjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface okio.Sinkjava.io.IOException