Home / Function/ OpenSslInternalSession() — netty Function Reference

OpenSslInternalSession() — netty Function Reference

Architecture documentation for the OpenSslInternalSession() function in OpenSslSessionCache.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  122cf5ab_8a79_b12f_0bf0_2819ed57ca9a["OpenSslInternalSession()"]
  6355c604_3e83_2b17_e056_558795a68fc3["OpenSslSessionCache"]
  122cf5ab_8a79_b12f_0bf0_2819ed57ca9a -->|defined in| 6355c604_3e83_2b17_e056_558795a68fc3
  219256b2_175f_0f2b_aca5_e31008ba7083["getSession()"]
  122cf5ab_8a79_b12f_0bf0_2819ed57ca9a -->|calls| 219256b2_175f_0f2b_aca5_e31008ba7083
  ad6e504f_835f_5a30_4635_c8827fa4567b["isValid()"]
  122cf5ab_8a79_b12f_0bf0_2819ed57ca9a -->|calls| ad6e504f_835f_5a30_4635_c8827fa4567b
  adc4a21b_2741_c870_2d79_c0b7f58a00b1["removeSessionWithId()"]
  122cf5ab_8a79_b12f_0bf0_2819ed57ca9a -->|calls| adc4a21b_2741_c870_2d79_c0b7f58a00b1
  style 122cf5ab_8a79_b12f_0bf0_2819ed57ca9a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java lines 251–260

    final synchronized OpenSslInternalSession getSession(OpenSslSessionId id) {
        NativeSslSession session = sessions.get(id);
        if (session != null && !session.isValid()) {
            // The session is not valid anymore, let's remove it and just signal back that there is no session
            // with the given ID in the cache anymore. This also takes care of calling SSL_SESSION_free(...)
            removeSessionWithId(session.sessionId());
            return null;
        }
        return session;
    }

Domain

Subdomains

Frequently Asked Questions

What does OpenSslInternalSession() do?
OpenSslInternalSession() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java.
Where is OpenSslInternalSession() defined?
OpenSslInternalSession() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSessionCache.java at line 251.
What does OpenSslInternalSession() call?
OpenSslInternalSession() calls 3 function(s): getSession, isValid, removeSessionWithId.

Analyze Your Own Codebase

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

Try Supermodel Free