Home / Function/ clientCreatePushShouldFailOnRemoteEndpointWhenMaxAllowedStreamsExceeded() — netty Function Reference

clientCreatePushShouldFailOnRemoteEndpointWhenMaxAllowedStreamsExceeded() — netty Function Reference

Architecture documentation for the clientCreatePushShouldFailOnRemoteEndpointWhenMaxAllowedStreamsExceeded() function in DefaultHttp2ConnectionTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  08774255_dcaa_fa11_d1ff_f632caff178f["clientCreatePushShouldFailOnRemoteEndpointWhenMaxAllowedStreamsExceeded()"]
  8ad19b2d_97df_9c7f_e36e_ed43457889f2["DefaultHttp2ConnectionTest"]
  08774255_dcaa_fa11_d1ff_f632caff178f -->|defined in| 8ad19b2d_97df_9c7f_e36e_ed43457889f2
  style 08774255_dcaa_fa11_d1ff_f632caff178f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionTest.java lines 432–443

    @Test
    public void clientCreatePushShouldFailOnRemoteEndpointWhenMaxAllowedStreamsExceeded() throws Http2Exception {
        client = new DefaultHttp2Connection(false, 0);
        client.remote().maxActiveStreams(1);
        final Http2Stream requestStream = client.remote().createStream(2, false);
        assertThrows(Http2Exception.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                client.remote().reservePushStream(4, requestStream);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free