Home / Function/ configurePipeline() — netty Function Reference

configurePipeline() — netty Function Reference

Architecture documentation for the configurePipeline() function in Http2OrHttpHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  03be05a7_3811_0be5_4bb0_2e03b48eaff4["configurePipeline()"]
  7669a10d_56a3_ef47_26ed_a6c191afc22a["Http2OrHttpHandler"]
  03be05a7_3811_0be5_4bb0_2e03b48eaff4 -->|defined in| 7669a10d_56a3_ef47_26ed_a6c191afc22a
  0311c76b_e4c8_a854_debb_a204d3b27141["configureHttp2()"]
  03be05a7_3811_0be5_4bb0_2e03b48eaff4 -->|calls| 0311c76b_e4c8_a854_debb_a204d3b27141
  98da28da_a409_4639_01a1_38e9c8fd346f["configureHttp1()"]
  03be05a7_3811_0be5_4bb0_2e03b48eaff4 -->|calls| 98da28da_a409_4639_01a1_38e9c8fd346f
  style 03be05a7_3811_0be5_4bb0_2e03b48eaff4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/http2/tiles/Http2OrHttpHandler.java lines 41–54

    @Override
    protected void configurePipeline(ChannelHandlerContext ctx, String protocol) throws Exception {
        if (ApplicationProtocolNames.HTTP_2.equals(protocol)) {
            configureHttp2(ctx);
            return;
        }

        if (ApplicationProtocolNames.HTTP_1_1.equals(protocol)) {
            configureHttp1(ctx);
            return;
        }

        throw new IllegalStateException("unknown protocol: " + protocol);
    }

Domain

Subdomains

Frequently Asked Questions

What does configurePipeline() do?
configurePipeline() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/tiles/Http2OrHttpHandler.java.
Where is configurePipeline() defined?
configurePipeline() is defined in example/src/main/java/io/netty/example/http2/tiles/Http2OrHttpHandler.java at line 41.
What does configurePipeline() call?
configurePipeline() calls 2 function(s): configureHttp1, configureHttp2.

Analyze Your Own Codebase

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

Try Supermodel Free