Home / Function/ String() — netty Function Reference

String() — netty Function Reference

Architecture documentation for the String() function in JdkDelegatingPrivateKeyMethodTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a847fd95_75bd_8b53_9b1c_7d94990f5181["String()"]
  2ac7122d_91ea_6ce8_76a0_fb9ed7fcbdbc["JdkDelegatingPrivateKeyMethodTest"]
  a847fd95_75bd_8b53_9b1c_7d94990f5181 -->|defined in| 2ac7122d_91ea_6ce8_76a0_fb9ed7fcbdbc
  258ca29b_254c_5099_2a8a_08100b96b77c["runClient()"]
  a847fd95_75bd_8b53_9b1c_7d94990f5181 -->|calls| 258ca29b_254c_5099_2a8a_08100b96b77c
  style a847fd95_75bd_8b53_9b1c_7d94990f5181 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/JdkDelegatingPrivateKeyMethodTest.java lines 442–467

    private static String performHandshakeTest(SslContext serverContext, SslContext clientContext) throws Exception {
        // Set up server
        ServerBootstrap serverBootstrap = new ServerBootstrap()
                .group(GROUP)
                .channel(NioServerSocketChannel.class)
                .childHandler(new ChannelInitializer<SocketChannel>() {
                    @Override
                    protected void initChannel(SocketChannel ch) {
                        ChannelPipeline pipeline = ch.pipeline();
                        SslHandler serverSslHandler = serverContext.newHandler(ch.alloc());
                        pipeline.addLast(serverSslHandler);
                        pipeline.addLast(ServerHandler.INSTANCE);
                    }
                });

        ChannelFuture serverChannelFuture = serverBootstrap.bind(0).sync();
        Channel serverChannel = serverChannelFuture.channel();
        int serverPort = ((java.net.InetSocketAddress) serverChannel.localAddress()).getPort();

        try {
            // Run client and verify handshake
            return runClient(serverPort, clientContext).get(10, TimeUnit.SECONDS);
        } finally {
            serverChannel.close().sync();
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does String() do?
String() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/JdkDelegatingPrivateKeyMethodTest.java.
Where is String() defined?
String() is defined in handler/src/test/java/io/netty/handler/ssl/JdkDelegatingPrivateKeyMethodTest.java at line 442.
What does String() call?
String() calls 1 function(s): runClient.

Analyze Your Own Codebase

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

Try Supermodel Free