Home / Function/ SSLSession() — netty Function Reference

SSLSession() — netty Function Reference

Architecture documentation for the SSLSession() function in ReferenceCountedOpenSslEngine.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  50a4b923_0639_a209_0e86_6fa11968efb1["SSLSession()"]
  df1ad81e_e5bf_85e6_4418_db301b4c3e66["ReferenceCountedOpenSslEngine"]
  50a4b923_0639_a209_0e86_6fa11968efb1 -->|defined in| df1ad81e_e5bf_85e6_4418_db301b4c3e66
  style 50a4b923_0639_a209_0e86_6fa11968efb1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java lines 559–572

    @Override
    public final synchronized SSLSession getHandshakeSession() {
        // Javadocs state return value should be:
        // null if this instance is not currently handshaking, or if the current handshake has not
        // progressed far enough to create a basic SSLSession. Otherwise, this method returns the
        // SSLSession currently being negotiated.
        switch(handshakeState) {
            case NOT_STARTED:
            case FINISHED:
                return null;
            default:
                return session;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does SSLSession() do?
SSLSession() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java.
Where is SSLSession() defined?
SSLSession() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java at line 559.

Analyze Your Own Codebase

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

Try Supermodel Free