Home / Class/ NameEntry Class — netty Architecture

NameEntry Class — netty Architecture

Architecture documentation for the NameEntry class in HpackEncoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  35bdcbcc_8eb2_cb72_2547_6db2b8386c10["NameEntry"]
  b04c7124_b021_2376_03d8_147c4787bd78["HpackEncoder.java"]
  35bdcbcc_8eb2_cb72_2547_6db2b8386c10 -->|defined in| b04c7124_b021_2376_03d8_147c4787bd78
  0c23a641_2937_1223_9ffb_08c57ba8096b["NameEntry()"]
  35bdcbcc_8eb2_cb72_2547_6db2b8386c10 -->|method| 0c23a641_2937_1223_9ffb_08c57ba8096b
  0645c426_ebbe_adc3_62f2_910b53979f04["unlink()"]
  35bdcbcc_8eb2_cb72_2547_6db2b8386c10 -->|method| 0645c426_ebbe_adc3_62f2_910b53979f04

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java lines 509–529

    private static final class NameEntry {
        NameEntry next;

        final CharSequence name;

        final int hash;

        // This is used to compute the index in the dynamic table.
        int counter;

        NameEntry(int hash, CharSequence name, int counter, NameEntry next) {
            this.hash = hash;
            this.name = name;
            this.counter = counter;
            this.next = next;
        }

        void unlink() {
            next = null; // null references to prevent nepotism in generational GC.
        }
    }

Frequently Asked Questions

What is the NameEntry class?
NameEntry is a class in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java.
Where is NameEntry defined?
NameEntry is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java at line 509.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free