Home / Function/ priorityWriteOnPreviouslyExistingParentStreamShouldSucceed() — netty Function Reference

priorityWriteOnPreviouslyExistingParentStreamShouldSucceed() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  cf355859_fa9b_6b97_134a_b10c3bbbbf9b["priorityWriteOnPreviouslyExistingParentStreamShouldSucceed()"]
  aef19477_9a1f_48c4_824a_17c7f3ecbb10["DefaultHttp2ConnectionEncoderTest"]
  cf355859_fa9b_6b97_134a_b10c3bbbbf9b -->|defined in| aef19477_9a1f_48c4_824a_17c7f3ecbb10
  style cf355859_fa9b_6b97_134a_b10c3bbbbf9b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java lines 663–673

    @Test
    public void priorityWriteOnPreviouslyExistingParentStreamShouldSucceed() throws Exception {
        final int parentStreamId = STREAM_ID + 2;
        createStream(STREAM_ID, false);
        createStream(parentStreamId, false).close();

        ChannelPromise promise = newPromise();
        short weight = 255;
        encoder.writePriority(ctx, STREAM_ID, parentStreamId, weight, true, promise);
        verify(writer).writePriority(eq(ctx), eq(STREAM_ID), eq(parentStreamId), eq(weight), eq(true), eq(promise));
    }

Domain

Subdomains

Frequently Asked Questions

What does priorityWriteOnPreviouslyExistingParentStreamShouldSucceed() do?
priorityWriteOnPreviouslyExistingParentStreamShouldSucceed() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java.
Where is priorityWriteOnPreviouslyExistingParentStreamShouldSucceed() defined?
priorityWriteOnPreviouslyExistingParentStreamShouldSucceed() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java at line 663.

Analyze Your Own Codebase

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

Try Supermodel Free