Home / Class/ DefaultPropertyKey Class — netty Architecture

DefaultPropertyKey Class — netty Architecture

Architecture documentation for the DefaultPropertyKey class in DefaultHttp2Connection.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  67985f4c_6454_2db9_9775_3af67ac9f45e["DefaultPropertyKey"]
  c1b91a38_3d50_98cc_116d_1d9e5bc49432["DefaultHttp2Connection.java"]
  67985f4c_6454_2db9_9775_3af67ac9f45e -->|defined in| c1b91a38_3d50_98cc_116d_1d9e5bc49432
  cf20029f_7f67_92db_3694_32116ce860b4["DefaultPropertyKey()"]
  67985f4c_6454_2db9_9775_3af67ac9f45e -->|method| cf20029f_7f67_92db_3694_32116ce860b4

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 1077–1090

    final class DefaultPropertyKey implements PropertyKey {
        final int index;

        DefaultPropertyKey(int index) {
            this.index = index;
        }

        DefaultPropertyKey verifyConnection(Http2Connection connection) {
            if (connection != DefaultHttp2Connection.this) {
                throw new IllegalArgumentException("Using a key that was not created by this connection");
            }
            return this;
        }
    }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free