Home / Function/ onHttpClientUpgradeWithoutHandlerAdded() — netty Function Reference

onHttpClientUpgradeWithoutHandlerAdded() — netty Function Reference

Architecture documentation for the onHttpClientUpgradeWithoutHandlerAdded() function in Http2ConnectionHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  30b11561_1e74_1df1_1098_fe2701c27d0c["onHttpClientUpgradeWithoutHandlerAdded()"]
  e8b32c7d_fa9d_422b_0744_82047ac00ea5["Http2ConnectionHandlerTest"]
  30b11561_1e74_1df1_1098_fe2701c27d0c -->|defined in| e8b32c7d_fa9d_422b_0744_82047ac00ea5
  style 30b11561_1e74_1df1_1098_fe2701c27d0c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 257–267

    @Test
    public void onHttpClientUpgradeWithoutHandlerAdded() throws Exception {
        handler = new Http2ConnectionHandlerBuilder().frameListener(new Http2FrameAdapter()).server(false).build();
        Http2Exception e = assertThrows(Http2Exception.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                handler.onHttpClientUpgrade();
            }
        });
        assertEquals(Http2Error.INTERNAL_ERROR, e.error());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free