| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private final List | |
| private final Map | |
| private final Map | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public boolean | |
| public void | dump(Appendable out, String indent)
Implements org. Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| public Entry | |
| public Entry | |
| public Entry | |
| public Entry | Returns: the entry with the absolute index.the absolute index of the entry in the table. absoluteIndex)Get an entry from the Dynamic table given an absolute index. |
| public int | |
| public int | |
| protected int | Returns: the smallest absolute index that is allowed to be referenced.Entries with indexes lower than the draining index should not be referenced. |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public Iterator | |
| public void | |
| public String |
| _absoluteIndex | back to summary |
|---|---|
| private int _absoluteIndex | |
| _capacity | back to summary |
|---|---|
| private int _capacity | |
| _drainingIndex | back to summary |
|---|---|
| private int _drainingIndex | |
| _entries | back to summary |
|---|---|
| private final List<Entry> _entries | |
| _fieldMap | back to summary |
|---|---|
| private final Map<HttpField, Entry> _fieldMap | |
| _nameMap | back to summary |
|---|---|
| private final Map<String, Entry> _nameMap | |
| _size | back to summary |
|---|---|
| private int _size | |
| DynamicTable | back to summary |
|---|---|
| public DynamicTable() | |
| add | back to summary |
|---|---|
| public void add(Entry entry) Add an entry into the Dynamic Table. This will throw if it is not possible to insert this entry.
Use
| |
| canInsert | back to summary |
|---|---|
| public boolean canInsert(HttpField field) Is there enough room to insert a new entry into the Dynamic Table, possibly evicting unreferenced entries.
| |
| canReference | back to summary |
|---|---|
| public boolean canReference(Entry entry) | |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Implements org. Doc from org. Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| get | back to summary |
|---|---|
| public Entry get(int index) | |
| get | back to summary |
|---|---|
| public Entry get(String name) | |
| get | back to summary |
|---|---|
| public Entry get(HttpField field) | |
| getAbsolute | back to summary |
|---|---|
| public Entry getAbsolute(int absoluteIndex) Get an entry from the Dynamic table given an absolute index.
| |
| getBase | back to summary |
|---|---|
| public int getBase() | |
| getCapacity | back to summary |
|---|---|
| public int getCapacity() | |
| getDrainingIndex | back to summary |
|---|---|
| protected int getDrainingIndex() Entries with indexes lower than the draining index should not be referenced. This allows these entries to eventually be evicted as no more references will be made to them.
| |
| getInsertCount | back to summary |
|---|---|
| public int getInsertCount() | |
| getNumEntries | back to summary |
|---|---|
| public int getNumEntries() | |
| getSize | back to summary |
|---|---|
| public int getSize() | |
| getSpace | back to summary |
|---|---|
| public int getSpace() | |
| index | back to summary |
|---|---|
| public int index(Entry entry) Get the relative index of an entry in the Dynamic Table.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| setCapacity | back to summary |
|---|---|
| public void setCapacity(int capacity) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |