Home / Function/ isProtocolEnabled() — netty Function Reference

isProtocolEnabled() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f3e3f180_c9e1_2c2f_b4a8_be9afb24dc37["isProtocolEnabled()"]
  df1ad81e_e5bf_85e6_4418_db301b4c3e66["ReferenceCountedOpenSslEngine"]
  f3e3f180_c9e1_2c2f_b4a8_be9afb24dc37 -->|defined in| df1ad81e_e5bf_85e6_4418_db301b4c3e66
  597187e9_65f2_df9a_22e3_c3e7eb0f231a["ReferenceCountedOpenSslEngine()"]
  597187e9_65f2_df9a_22e3_c3e7eb0f231a -->|calls| f3e3f180_c9e1_2c2f_b4a8_be9afb24dc37
  5d28e123_a6b0_b540_a11c_88aa34c167ca["getEnabledCipherSuites()"]
  5d28e123_a6b0_b540_a11c_88aa34c167ca -->|calls| f3e3f180_c9e1_2c2f_b4a8_be9afb24dc37
  style f3e3f180_c9e1_2c2f_b4a8_be9afb24dc37 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java lines 1773–1777

    private static boolean isProtocolEnabled(int opts, int disableMask, String protocolString) {
        // We also need to check if the actual protocolString is supported as depending on the openssl API
        // implementations it may use a disableMask of 0 (BoringSSL is doing this for example).
        return (opts & disableMask) == 0 && OpenSsl.isProtocolSupported(protocolString);
    }

Domain

Subdomains

Frequently Asked Questions

What does isProtocolEnabled() do?
isProtocolEnabled() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java.
Where is isProtocolEnabled() defined?
isProtocolEnabled() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java at line 1773.
What calls isProtocolEnabled()?
isProtocolEnabled() is called by 2 function(s): ReferenceCountedOpenSslEngine, getEnabledCipherSuites.

Analyze Your Own Codebase

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

Try Supermodel Free