APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.net.http.qpack

public final Class TablesIndexer

extends Object
Class Inheritance
Static Imports
jdk.internal.net.http.qpack.TableEntry.EntryType.NAME, .TableEntry.EntryType.NAME_VALUE

Field Summary

Modifier and TypeField and Description
private final DynamicTable
private final StaticTable

Constructor Summary

AccessConstructor and Description
public
TablesIndexer(StaticTable staticTable, DynamicTable dynamicTable)

Method Summary

Modifier and TypeMethod and Description
public TableEntry

Returns:

a table entry that matches provided parameters
entryOf
(CharSequence
entry name to search
name
,
CharSequence
entry value to search
value
,
long
known received count to match dynamic table entries, if negative - id check is not performed.
knownReceivedCount
)

Searches in dynamic and static tables for an entry that has matching name or name:value.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dynamicTableback to summary
private final DynamicTable dynamicTable
staticTableback to summary
private final StaticTable staticTable

Constructor Detail

TablesIndexerback to summary
public TablesIndexer(StaticTable staticTable, DynamicTable dynamicTable)

Method Detail

entryOfback to summary
public TableEntry entryOf(CharSequence name, CharSequence value, long knownReceivedCount)

Searches in dynamic and static tables for an entry that has matching name or name:value. Found dynamic table entry ids are matched against provided known receive count value if it is non-negative. If known receive count value is negative the entry id check is not performed.

Parameters
name:CharSequence

entry name to search

value:CharSequence

entry value to search

knownReceivedCount:long

known received count to match dynamic table entries, if negative - id check is not performed.

Returns:TableEntry

a table entry that matches provided parameters