Home / Function/ configureClearText() — netty Function Reference

configureClearText() — netty Function Reference

Architecture documentation for the configureClearText() function in Http2ClientInitializer.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  22eedc29_6e66_560d_c74e_292ba5f1eb16["configureClearText()"]
  3d194589_1edf_6e5a_e7b1_3add79b11968["Http2ClientInitializer"]
  22eedc29_6e66_560d_c74e_292ba5f1eb16 -->|defined in| 3d194589_1edf_6e5a_e7b1_3add79b11968
  ff062f25_3104_30ff_00bd_7656cbb235e3["initChannel()"]
  ff062f25_3104_30ff_00bd_7656cbb235e3 -->|calls| 22eedc29_6e66_560d_c74e_292ba5f1eb16
  style 22eedc29_6e66_560d_c74e_292ba5f1eb16 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/http2/helloworld/client/Http2ClientInitializer.java lines 124–134

    private void configureClearText(SocketChannel ch) {
        HttpClientCodec sourceCodec = new HttpClientCodec();
        Http2ClientUpgradeCodec upgradeCodec = new Http2ClientUpgradeCodec(connectionHandler);
        HttpClientUpgradeHandler upgradeHandler = new HttpClientUpgradeHandler(sourceCodec, upgradeCodec,
                maxContentLength);

        ch.pipeline().addLast(sourceCodec,
                              upgradeHandler,
                              new UpgradeRequestHandler(),
                              new UserEventLogger());
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does configureClearText() do?
configureClearText() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/helloworld/client/Http2ClientInitializer.java.
Where is configureClearText() defined?
configureClearText() is defined in example/src/main/java/io/netty/example/http2/helloworld/client/Http2ClientInitializer.java at line 124.
What calls configureClearText()?
configureClearText() is called by 1 function(s): initChannel.

Analyze Your Own Codebase

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

Try Supermodel Free