Home / Function/ handshakeException() — netty Function Reference

handshakeException() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  bd3db87e_15bb_10ab_35c4_8c54c4a424e8["handshakeException()"]
  df1ad81e_e5bf_85e6_4418_db301b4c3e66["ReferenceCountedOpenSslEngine"]
  bd3db87e_15bb_10ab_35c4_8c54c4a424e8 -->|defined in| df1ad81e_e5bf_85e6_4418_db301b4c3e66
  9f77679b_188a_ea47_0bb0_025af752e7f4["SSLEngineResult()"]
  9f77679b_188a_ea47_0bb0_025af752e7f4 -->|calls| bd3db87e_15bb_10ab_35c4_8c54c4a424e8
  70ac8c99_3ca9_c202_a13f_16dda4571164["handshake()"]
  70ac8c99_3ca9_c202_a13f_16dda4571164 -->|calls| bd3db87e_15bb_10ab_35c4_8c54c4a424e8
  c4b3e9d1_8ba5_707f_4649_4d5a628a2433["shutdown()"]
  bd3db87e_15bb_10ab_35c4_8c54c4a424e8 -->|calls| c4b3e9d1_8ba5_707f_4649_4d5a628a2433
  style bd3db87e_15bb_10ab_35c4_8c54c4a424e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java lines 1921–1937

    private SSLEngineResult.HandshakeStatus handshakeException() throws SSLException {
        if (SSL.bioLengthNonApplication(networkBIO) > 0) {
            // There is something pending, we need to consume it first via a WRAP so we don't loose anything.
            return NEED_WRAP;
        }

        Throwable exception = pendingException;
        assert exception != null;
        pendingException = null;
        shutdown();
        if (exception instanceof SSLHandshakeException) {
            throw (SSLHandshakeException) exception;
        }
        SSLHandshakeException e = new SSLHandshakeException("General OpenSslEngine problem");
        e.initCause(exception);
        throw e;
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does handshakeException() do?
handshakeException() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java.
Where is handshakeException() defined?
handshakeException() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java at line 1921.
What does handshakeException() call?
handshakeException() calls 1 function(s): shutdown.
What calls handshakeException()?
handshakeException() is called by 2 function(s): SSLEngineResult, handshake.

Analyze Your Own Codebase

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

Try Supermodel Free