class Http2Codec.StreamFinishingSource
extends okio.ForwardingSource
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
bytesRead |
(package private) boolean |
completed |
| Constructor and Description |
|---|
StreamFinishingSource(okio.Source delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
private void |
endOfInput(java.io.IOException e) |
long |
read(okio.Buffer sink,
long byteCount) |
public long read(okio.Buffer sink,
long byteCount)
throws java.io.IOException
read in interface okio.Sourceread in class okio.ForwardingSourcejava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface okio.Sourceclose in class okio.ForwardingSourcejava.io.IOExceptionprivate void endOfInput(java.io.IOException e)