assertSessionCache() — netty Function Reference
Architecture documentation for the assertSessionCache() function in SSLEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7f5b1fd5_3463_a8cf_7885_74cd1a06486c["assertSessionCache()"] 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b["SSLEngineTest"] 7f5b1fd5_3463_a8cf_7885_74cd1a06486c -->|defined in| 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b 19dcc27e_3987_d074_4e29_5604494bbd1a["testSessionCacheTimeout()"] 19dcc27e_3987_d074_4e29_5604494bbd1a -->|calls| 7f5b1fd5_3463_a8cf_7885_74cd1a06486c style 7f5b1fd5_3463_a8cf_7885_74cd1a06486c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java lines 3270–3281
private static void assertSessionCache(SSLSessionContext sessionContext, int numSessions) {
Enumeration<byte[]> ids = sessionContext.getIds();
int numIds = 0;
while (ids.hasMoreElements()) {
numIds++;
byte[] id = ids.nextElement();
assertNotEquals(0, id.length);
SSLSession session = sessionContext.getSession(id);
assertArrayEquals(id, session.getId());
}
assertEquals(numSessions, numIds);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does assertSessionCache() do?
assertSessionCache() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java.
Where is assertSessionCache() defined?
assertSessionCache() is defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java at line 3270.
What calls assertSessionCache()?
assertSessionCache() is called by 1 function(s): testSessionCacheTimeout.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free