static final class Http2Reader.ContinuationSource
extends java.lang.Object
implements okio.Source
Hpack.Reader.readHeaders()
.Modifier and Type | Field and Description |
---|---|
(package private) byte |
flags |
(package private) int |
left |
(package private) int |
length |
(package private) short |
padding |
private okio.BufferedSource |
source |
(package private) int |
streamId |
Constructor and Description |
---|
ContinuationSource(okio.BufferedSource source) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
read(okio.Buffer sink,
long byteCount) |
private void |
readContinuationHeader() |
okio.Timeout |
timeout() |
private final okio.BufferedSource source
int length
byte flags
int streamId
int left
short padding
public long read(okio.Buffer sink, long byteCount) throws java.io.IOException
read
in interface okio.Source
java.io.IOException
public okio.Timeout timeout()
timeout
in interface okio.Source
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface okio.Source
java.io.IOException
private void readContinuationHeader() throws java.io.IOException
java.io.IOException