Home / Function/ headersWithPriority() — netty Function Reference

headersWithPriority() — netty Function Reference

Architecture documentation for the headersWithPriority() function in DefaultHttp2ConnectionEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4288a55f_cf3e_9a77_a292_fe983faeb294["headersWithPriority()"]
  aef19477_9a1f_48c4_824a_17c7f3ecbb10["DefaultHttp2ConnectionEncoderTest"]
  4288a55f_cf3e_9a77_a292_fe983faeb294 -->|defined in| aef19477_9a1f_48c4_824a_17c7f3ecbb10
  28f0aa39_bbbc_f7c5_14c5_1a7106a5f5a4["writeAllFlowControlledFrames()"]
  4288a55f_cf3e_9a77_a292_fe983faeb294 -->|calls| 28f0aa39_bbbc_f7c5_14c5_1a7106a5f5a4
  style 4288a55f_cf3e_9a77_a292_fe983faeb294 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java lines 901–910

    @Test
    public void headersWithPriority() {
        writeAllFlowControlledFrames();
        final int streamId = 6;
        ChannelPromise promise = newPromise();
        encoder.writeHeaders(ctx, streamId, EmptyHttp2Headers.INSTANCE, 10, DEFAULT_PRIORITY_WEIGHT,
                true, 1, false, promise);
        verify(writer).writeHeaders(eq(ctx), eq(streamId), eq(EmptyHttp2Headers.INSTANCE), eq(10),
                eq(DEFAULT_PRIORITY_WEIGHT), eq(true), eq(1), eq(false), eq(promise));
    }

Domain

Subdomains

Frequently Asked Questions

What does headersWithPriority() do?
headersWithPriority() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java.
Where is headersWithPriority() defined?
headersWithPriority() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java at line 901.
What does headersWithPriority() call?
headersWithPriority() calls 1 function(s): writeAllFlowControlledFrames.

Analyze Your Own Codebase

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

Try Supermodel Free