Home / Function/ Channel() — netty Function Reference

Channel() — netty Function Reference

Architecture documentation for the Channel() function in OcspTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  968f2e35_cff7_7d29_3b21_b2419b670377["Channel()"]
  9135fc19_1676_c0ae_d77a_3a05e26293b5["OcspTest"]
  968f2e35_cff7_7d29_3b21_b2419b670377 -->|defined in| 9135fc19_1676_c0ae_d77a_3a05e26293b5
  style 968f2e35_cff7_7d29_3b21_b2419b670377 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java lines 396–407

    private static Channel newServer(EventLoopGroup group, SocketAddress address,
            SslContext context, byte[] response, ChannelHandler handler) {

        ServerBootstrap bootstrap = new ServerBootstrap()
                .channel(LocalServerChannel.class)
                .group(group)
                .childHandler(newServerHandler(context, response, handler));

        return bootstrap.bind(address)
                .syncUninterruptibly()
                .channel();
    }

Domain

Subdomains

Frequently Asked Questions

What does Channel() do?
Channel() is a function in the netty codebase, defined in handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java.
Where is Channel() defined?
Channel() is defined in handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java at line 396.

Analyze Your Own Codebase

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

Try Supermodel Free