Home / Type/ OpenSslSession Type — netty Architecture

OpenSslSession Type — netty Architecture

Architecture documentation for the OpenSslSession type/interface in OpenSslSession.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7af65515_ccc5_4259_21eb_966fb10e15b0["OpenSslSession"]
  d3908f02_690d_912d_4a05_1cb722f6ec36["OpenSslSession.java"]
  7af65515_ccc5_4259_21eb_966fb10e15b0 -->|defined in| d3908f02_690d_912d_4a05_1cb722f6ec36
  style 7af65515_ccc5_4259_21eb_966fb10e15b0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSslSession.java lines 24–39

public interface OpenSslSession extends SSLSession {

    /**
     * Returns true if the peer has provided certificates during the handshake.
     * <p>
     * This method is similar to {@link SSLSession#getPeerCertificates()} but it does not throw a
     * {@link SSLPeerUnverifiedException} if no certs are provided, making it more efficient to check if a mTLS
     * connection is used.
     *
     * @return true if peer certificates are available.
     */
    boolean hasPeerCertificates();

    @Override
    OpenSslSessionContext getSessionContext();
}

Frequently Asked Questions

What is the OpenSslSession type?
OpenSslSession is a type/interface in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSession.java.
Where is OpenSslSession defined?
OpenSslSession is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslSession.java at line 24.

Analyze Your Own Codebase

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

Try Supermodel Free