java.lang.Object
io.helidon.http.http2.Http2Headers.DynamicTable
- Enclosing class:
Http2Headers
There is one dynamic table for inbound headers and one for outbound headers for each connection.
This is to minimize size of headers on the transport.
The table caches header names and values and then uses indexes only when transferring headers over network.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Http2Headers.DynamicTable
create
(long maxTableSize) Create dynamic header table with the defined size.void
protocolMaxTableSize
(long number) Update protocol max table size.
-
Method Details
-
create
Create dynamic header table with the defined size.- Parameters:
maxTableSize
- size in bytes- Returns:
- new dynamic table
-
protocolMaxTableSize
public void protocolMaxTableSize(long number) Update protocol max table size.- Parameters:
number
- maximal table size in bytes
-