Home / Type/ ExtensionHeaderNames Type — netty Architecture

ExtensionHeaderNames Type — netty Architecture

Architecture documentation for the ExtensionHeaderNames type/interface in HttpConversionUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  65dce7e4_37a1_1d1e_0347_bdb14c3beaa3["ExtensionHeaderNames"]
  c9afade8_db3e_8af8_f9ef_81beb249ccd9["HttpConversionUtil.java"]
  65dce7e4_37a1_1d1e_0347_bdb14c3beaa3 -->|defined in| c9afade8_db3e_8af8_f9ef_81beb249ccd9
  style 65dce7e4_37a1_1d1e_0347_bdb14c3beaa3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java lines 122–175

    public enum ExtensionHeaderNames {
        /**
         * HTTP extension header which will identify the stream id from the HTTP/2 event(s) responsible for
         * generating an {@code HttpObject}
         * <p>
         * {@code "x-http2-stream-id"}
         */
        STREAM_ID("x-http2-stream-id"),
        /**
         * HTTP extension header which will identify the scheme pseudo header from the HTTP/2 event(s) responsible for
         * generating an {@code HttpObject}
         * <p>
         * {@code "x-http2-scheme"}
         */
        SCHEME("x-http2-scheme"),
        /**
         * HTTP extension header which will identify the path pseudo header from the HTTP/2 event(s) responsible for
         * generating an {@code HttpObject}
         * <p>
         * {@code "x-http2-path"}
         */
        PATH("x-http2-path"),
        /**
         * HTTP extension header which will identify the stream id used to create this stream in an HTTP/2 push promise
         * frame
         * <p>
         * {@code "x-http2-stream-promise-id"}
         */
        STREAM_PROMISE_ID("x-http2-stream-promise-id"),
        /**
         * HTTP extension header which will identify the stream id which this stream is dependent on. This stream will
         * be a child node of the stream id associated with this header value.
         * <p>
         * {@code "x-http2-stream-dependency-id"}
         */
        STREAM_DEPENDENCY_ID("x-http2-stream-dependency-id"),
        /**
         * HTTP extension header which will identify the weight (if non-default and the priority is not on the default
         * stream) of the associated HTTP/2 stream responsible responsible for generating an {@code HttpObject}
         * <p>
         * {@code "x-http2-stream-weight"}
         */
        STREAM_WEIGHT("x-http2-stream-weight");

        private final AsciiString text;

        ExtensionHeaderNames(String text) {
            this.text = AsciiString.cached(text);
        }

        public AsciiString text() {
            return text;
        }
    }

Frequently Asked Questions

What is the ExtensionHeaderNames type?
ExtensionHeaderNames is a type/interface in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java.
Where is ExtensionHeaderNames defined?
ExtensionHeaderNames is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java at line 122.

Analyze Your Own Codebase

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

Try Supermodel Free