Home / Function/ EmbeddedChannel() — netty Function Reference

EmbeddedChannel() — netty Function Reference

Architecture documentation for the EmbeddedChannel() function in WebSocketServerProtocolHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  80f33c2c_3b4b_5696_fbad_e6b9f93bb80d["EmbeddedChannel()"]
  7afc952d_7109_096b_f81d_bf3293e37581["WebSocketServerProtocolHandlerTest"]
  80f33c2c_3b4b_5696_fbad_e6b9f93bb80d -->|defined in| 7afc952d_7109_096b_f81d_bf3293e37581
  bccac56d_f218_d352_47bd_9f365425b97c["testCreateUTF8Validator()"]
  bccac56d_f218_d352_47bd_9f365425b97c -->|calls| 80f33c2c_3b4b_5696_fbad_e6b9f93bb80d
  b7a0fac2_887f_0b3e_ff2c_a4dd93270712["testDoNotCreateUTF8Validator()"]
  b7a0fac2_887f_0b3e_ff2c_a4dd93270712 -->|calls| 80f33c2c_3b4b_5696_fbad_e6b9f93bb80d
  8c8de3ea_ff5c_f8bf_252e_bf28c1f471a0["testCheckValidWebSocketPath()"]
  8c8de3ea_ff5c_f8bf_252e_bf28c1f471a0 -->|calls| 80f33c2c_3b4b_5696_fbad_e6b9f93bb80d
  f7db3d74_d600_26b2_58d7_6d4d1832dedf["testCheckInvalidWebSocketPath()"]
  f7db3d74_d600_26b2_58d7_6d4d1832dedf -->|calls| 80f33c2c_3b4b_5696_fbad_e6b9f93bb80d
  01fe7a57_5185_2669_acb1_5d0d48feca37["T()"]
  01fe7a57_5185_2669_acb1_5d0d48feca37 -->|calls| 80f33c2c_3b4b_5696_fbad_e6b9f93bb80d
  style 80f33c2c_3b4b_5696_fbad_e6b9f93bb80d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java lines 403–417

    private EmbeddedChannel createClient(ChannelHandler... handlers) throws Exception {
        WebSocketClientProtocolConfig clientConfig = WebSocketClientProtocolConfig.newBuilder()
            .webSocketUri("http://test/test")
            .dropPongFrames(false)
            .handleCloseFrames(false)
            .build();
        EmbeddedChannel ch = new EmbeddedChannel(false, false,
            new HttpClientCodec(),
            new HttpObjectAggregator(8192),
            new WebSocketClientProtocolHandler(clientConfig)
        );
        ch.pipeline().addLast(handlers);
        ch.register();
        return ch;
    }

Domain

Subdomains

Frequently Asked Questions

What does EmbeddedChannel() do?
EmbeddedChannel() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java.
Where is EmbeddedChannel() defined?
EmbeddedChannel() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java at line 403.
What calls EmbeddedChannel()?
EmbeddedChannel() is called by 5 function(s): T, testCheckInvalidWebSocketPath, testCheckValidWebSocketPath, testCreateUTF8Validator, testDoNotCreateUTF8Validator.

Analyze Your Own Codebase

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

Try Supermodel Free