Home / Function/ defaultProtocols() — netty Function Reference

defaultProtocols() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  08e8425c_02ad_d102_e133_8ace7f656fa4["defaultProtocols()"]
  ed038636_6deb_9fdb_0fd6_26635e25e0e6["OpenSsl"]
  08e8425c_02ad_d102_e133_8ace7f656fa4 -->|defined in| ed038636_6deb_9fdb_0fd6_26635e25e0e6
  969eb638_9e79_3d0b_850e_5424c0426f79["isProtocolSupported()"]
  08e8425c_02ad_d102_e133_8ace7f656fa4 -->|calls| 969eb638_9e79_3d0b_850e_5424c0426f79
  style 08e8425c_02ad_d102_e133_8ace7f656fa4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSsl.java lines 809–822

    private static Set<String> defaultProtocols(String property) {
        String protocolsString = SystemPropertyUtil.get(property, null);
        Set<String> protocols = new HashSet<>();
        if (protocolsString != null) {
            for (String proto : protocolsString.split(",")) {
                String p = proto.trim();
                protocols.add(p);
            }
        } else {
            protocols.add(SslProtocols.TLS_v1_2);
            protocols.add(SslProtocols.TLS_v1_3);
        }
        return protocols;
    }

Domain

Subdomains

Frequently Asked Questions

What does defaultProtocols() do?
defaultProtocols() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java.
Where is defaultProtocols() defined?
defaultProtocols() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java at line 809.
What does defaultProtocols() call?
defaultProtocols() calls 1 function(s): isProtocolSupported.

Analyze Your Own Codebase

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

Try Supermodel Free