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