assertSessionContext() — netty Function Reference
Architecture documentation for the assertSessionContext() function in OpenSslEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0ca565f1_0885_115f_ed7e_dac96ef23512["assertSessionContext()"] 08957e63_66e1_e2b4_c8aa_4f617c598a7d["OpenSslEngineTest"] 0ca565f1_0885_115f_ed7e_dac96ef23512 -->|defined in| 08957e63_66e1_e2b4_c8aa_4f617c598a7d fdc84bfd_249f_f34c_dd69_a73396c17a0c["testSessionCache()"] fdc84bfd_249f_f34c_dd69_a73396c17a0c -->|calls| 0ca565f1_0885_115f_ed7e_dac96ef23512 style 0ca565f1_0885_115f_ed7e_dac96ef23512 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 1555–1566
private static void assertSessionContext(SslContext context) {
if (context == null) {
return;
}
OpenSslSessionContext serverSessionCtx = (OpenSslSessionContext) context.sessionContext();
assertTrue(serverSessionCtx.isSessionCacheEnabled());
if (serverSessionCtx.getIds().hasMoreElements()) {
serverSessionCtx.setSessionCacheEnabled(false);
assertFalse(serverSessionCtx.getIds().hasMoreElements());
assertFalse(serverSessionCtx.isSessionCacheEnabled());
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does assertSessionContext() do?
assertSessionContext() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java.
Where is assertSessionContext() defined?
assertSessionContext() is defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java at line 1555.
What calls assertSessionContext()?
assertSessionContext() is called by 1 function(s): testSessionCache.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free