private abstract class Http1Codec.AbstractSource
extends java.lang.Object
implements okio.Source
| Modifier and Type | Field and Description |
|---|---|
protected long |
bytesRead |
protected boolean |
closed |
protected okio.ForwardingTimeout |
timeout |
| Modifier | Constructor and Description |
|---|---|
private |
AbstractSource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
endOfInput(boolean reuseConnection,
java.io.IOException e)
Closes the cache entry and makes the socket available for reuse.
|
long |
read(okio.Buffer sink,
long byteCount) |
okio.Timeout |
timeout() |
protected final okio.ForwardingTimeout timeout
protected boolean closed
protected long bytesRead
public okio.Timeout timeout()
timeout in interface okio.Sourcepublic long read(okio.Buffer sink,
long byteCount)
throws java.io.IOException
read in interface okio.Sourcejava.io.IOExceptionprotected final void endOfInput(boolean reuseConnection,
java.io.IOException e)
throws java.io.IOException
java.io.IOException