clientHelloInMultipleFragments() — netty Function Reference
Architecture documentation for the clientHelloInMultipleFragments() function in SniHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6b9b70c0_eeec_0906_9031_a6f1f1812e07["clientHelloInMultipleFragments()"] 00b45f27_cbf5_af92_430f_7f0426117fa5["SniHandlerTest"] 6b9b70c0_eeec_0906_9031_a6f1f1812e07 -->|defined in| 00b45f27_cbf5_af92_430f_7f0426117fa5 d73ebfb6_9ce4_313d_a85b_5057d9debdae["testWithFragmentSize()"] d73ebfb6_9ce4_313d_a85b_5057d9debdae -->|calls| 6b9b70c0_eeec_0906_9031_a6f1f1812e07 a4a7b127_212b_3c93_1374_d19982ad8d7a["split()"] 6b9b70c0_eeec_0906_9031_a6f1f1812e07 -->|calls| a4a7b127_212b_3c93_1374_d19982ad8d7a 495097de_5185_3185_66b9_43abc32cf9ab["releaseAll()"] 6b9b70c0_eeec_0906_9031_a6f1f1812e07 -->|calls| 495097de_5185_3185_66b9_43abc32cf9ab style 6b9b70c0_eeec_0906_9031_a6f1f1812e07 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java lines 675–692
private static List<ByteBuf> clientHelloInMultipleFragments(
SslProvider provider, String hostname, int maxTlsPlaintextSize) throws SSLException {
final EmbeddedChannel client = new EmbeddedChannel();
final SslContext ctx = SslContextBuilder.forClient()
.sslProvider(provider)
.trustManager(InsecureTrustManagerFactory.INSTANCE)
.build();
try {
final SslHandler sslHandler = ctx.newHandler(client.alloc(), hostname, -1);
client.pipeline().addLast(sslHandler);
final ByteBuf clientHello = client.readOutbound();
List<ByteBuf> buffers = split(clientHello, maxTlsPlaintextSize);
assertTrue(client.finishAndReleaseAll());
return buffers;
} finally {
releaseAll(ctx);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does clientHelloInMultipleFragments() do?
clientHelloInMultipleFragments() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java.
Where is clientHelloInMultipleFragments() defined?
clientHelloInMultipleFragments() is defined in handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java at line 675.
What does clientHelloInMultipleFragments() call?
clientHelloInMultipleFragments() calls 2 function(s): releaseAll, split.
What calls clientHelloInMultipleFragments()?
clientHelloInMultipleFragments() is called by 1 function(s): testWithFragmentSize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free