Home
last modified time | relevance | path

Searched refs:hpackReader (Results 1 – 4 of 4) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DHpackTest.java34 private Hpack.Reader hpackReader; field in HpackTest
39 hpackReader = newReader(bytesIn); in reset()
56 hpackReader.readHeaders(); in largeHeaderValue()
58 assertEquals(0, hpackReader.headerCount); in largeHeaderValue()
60 assertEquals(headerBlock, hpackReader.getAndResetHeaderList()); in largeHeaderValue()
75 hpackReader.headerTableSizeSetting(1); in tooLargeToHPackIsStillEmitted()
76 hpackReader.readHeaders(); in tooLargeToHPackIsStillEmitted()
78 assertEquals(0, hpackReader.headerCount); in tooLargeToHPackIsStillEmitted()
80 assertEquals(headerEntries("custom-key", "custom-header"), hpackReader.getAndResetHeaderList()); in tooLargeToHPackIsStillEmitted()
107 hpackReader.headerTableSizeSetting(110); in testEviction()
[all …]
DHttp2ConnectionTest.java147 assertEquals(0, frameReader.hpackReader.maxDynamicTableByteCount());
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/
DHpackDecodeTestBase.java54 private final Hpack.Reader hpackReader = new Hpack.Reader(4096, bytesIn); field in HpackDecodeTestBase
73 hpackReader.readHeaders(); in testDecoder()
75 hpackReader.getAndResetHeaderList()); in testDecoder()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DHttp2.java93 final Hpack.Reader hpackReader; field in Http2.Reader
99 this.hpackReader = new Hpack.Reader(headerTableSize, continuation); in Reader()
212 hpackReader.readHeaders(); in readHeaderBlock()
213 return hpackReader.getAndResetHeaderList(); in readHeaderBlock()
305 hpackReader.headerTableSizeSetting(settings.getHeaderTableSize()); in readSettings()