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.Source
read
in class okio.ForwardingSource
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface okio.Source
close
in class okio.ForwardingSource
java.io.IOException
private void endOfInput(java.io.IOException e)