Class Http2Headers.DynamicTable

java.lang.Object
io.helidon.http.http2.Http2Headers.DynamicTable
Enclosing class:
Http2Headers

public static class Http2Headers.DynamicTable extends Object
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 Details

    • create

      public static Http2Headers.DynamicTable create(long maxTableSize)
      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