Home / Function/ selectProtocol() — netty Function Reference

selectProtocol() — netty Function Reference

Architecture documentation for the selectProtocol() function in ConscryptAlpnSslEngine.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  7bace539_99f9_d03e_3eed_443671615e0d["selectProtocol()"]
  d9d431a0_964c_2741_0842_d5f52db90e6f["ServerEngine"]
  7bace539_99f9_d03e_3eed_443671615e0d -->|defined in| d9d431a0_964c_2741_0842_d5f52db90e6f
  dbbac426_4e5d_137b_2211_c0be3afd86c5["selectProtocol()"]
  dbbac426_4e5d_137b_2211_c0be3afd86c5 -->|calls| 7bace539_99f9_d03e_3eed_443671615e0d
  298cc142_0d70_c4e8_9b2c_f49d46facc57["ServerEngine()"]
  298cc142_0d70_c4e8_9b2c_f49d46facc57 -->|calls| 7bace539_99f9_d03e_3eed_443671615e0d
  dbbac426_4e5d_137b_2211_c0be3afd86c5["selectProtocol()"]
  7bace539_99f9_d03e_3eed_443671615e0d -->|calls| dbbac426_4e5d_137b_2211_c0be3afd86c5
  style 7bace539_99f9_d03e_3eed_443671615e0d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java lines 162–170

        private void selectProtocol() throws SSLException {
            try {
                String protocol = Conscrypt.getApplicationProtocol(getWrappedEngine());
                protocolSelector.select(protocol != null ? Collections.singletonList(protocol)
                        : Collections.<String>emptyList());
            } catch (Throwable e) {
                throw toSSLHandshakeException(e);
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does selectProtocol() do?
selectProtocol() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java.
Where is selectProtocol() defined?
selectProtocol() is defined in handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java at line 162.
What does selectProtocol() call?
selectProtocol() calls 1 function(s): selectProtocol.
What calls selectProtocol()?
selectProtocol() is called by 2 function(s): ServerEngine, selectProtocol.

Analyze Your Own Codebase

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

Try Supermodel Free