Home / Function/ isOptionSupported() — netty Function Reference

isOptionSupported() — netty Function Reference

Architecture documentation for the isOptionSupported() function in OpenSsl.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a582f8f3_ebba_28ed_7496_dae91153d845["isOptionSupported()"]
  ed038636_6deb_9fdb_0fd6_26635e25e0e6["OpenSsl"]
  a582f8f3_ebba_28ed_7496_dae91153d845 -->|defined in| ed038636_6deb_9fdb_0fd6_26635e25e0e6
  79be9e3e_427d_2797_27cf_ea0babfbadb8["isAvailable()"]
  a582f8f3_ebba_28ed_7496_dae91153d845 -->|calls| 79be9e3e_427d_2797_27cf_ea0babfbadb8
  df4bb299_6056_a1cb_3fb7_5dcb0a0db23e["isBoringSSL()"]
  a582f8f3_ebba_28ed_7496_dae91153d845 -->|calls| df4bb299_6056_a1cb_3fb7_5dcb0a0db23e
  6df272b2_ad0f_011c_8dc7_80020ebcf41a["isAWSLC()"]
  a582f8f3_ebba_28ed_7496_dae91153d845 -->|calls| 6df272b2_ad0f_011c_8dc7_80020ebcf41a
  style a582f8f3_ebba_28ed_7496_dae91153d845 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSsl.java lines 791–807

    static boolean isOptionSupported(SslContextOption<?> option) {
        if (isAvailable()) {
            if (option == OpenSslContextOption.USE_TASKS ||
                    option == OpenSslContextOption.TMP_DH_KEYLENGTH) {
                return true;
            }
            // Check for options that are only supported by BoringSSL atm.
            if (isBoringSSL() || isAWSLC()) {
                return option == OpenSslContextOption.ASYNC_PRIVATE_KEY_METHOD ||
                        option == OpenSslContextOption.PRIVATE_KEY_METHOD ||
                        option == OpenSslContextOption.CERTIFICATE_COMPRESSION_ALGORITHMS ||
                        option == OpenSslContextOption.TLS_FALSE_START ||
                        option == OpenSslContextOption.MAX_CERTIFICATE_LIST_BYTES;
            }
        }
        return false;
    }

Domain

Subdomains

Frequently Asked Questions

What does isOptionSupported() do?
isOptionSupported() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java.
Where is isOptionSupported() defined?
isOptionSupported() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java at line 791.
What does isOptionSupported() call?
isOptionSupported() calls 3 function(s): isAWSLC, isAvailable, isBoringSSL.

Analyze Your Own Codebase

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

Try Supermodel Free