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
  dbbac426_4e5d_137b_2211_c0be3afd86c5["selectProtocol()"]
  cf0a1b16_6ca2_f98f_b8d1_d62a3e799753["ClientEngine"]
  dbbac426_4e5d_137b_2211_c0be3afd86c5 -->|defined in| cf0a1b16_6ca2_f98f_b8d1_d62a3e799753
  7bace539_99f9_d03e_3eed_443671615e0d["selectProtocol()"]
  7bace539_99f9_d03e_3eed_443671615e0d -->|calls| dbbac426_4e5d_137b_2211_c0be3afd86c5
  925a3e50_b672_ff24_705b_00a32a6e9d08["ClientEngine()"]
  925a3e50_b672_ff24_705b_00a32a6e9d08 -->|calls| dbbac426_4e5d_137b_2211_c0be3afd86c5
  7bace539_99f9_d03e_3eed_443671615e0d["selectProtocol()"]
  dbbac426_4e5d_137b_2211_c0be3afd86c5 -->|calls| 7bace539_99f9_d03e_3eed_443671615e0d
  style dbbac426_4e5d_137b_2211_c0be3afd86c5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java lines 131–138

        private void selectProtocol() throws SSLException {
            String protocol = Conscrypt.getApplicationProtocol(getWrappedEngine());
            try {
                protocolListener.selected(protocol);
            } 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 131.
What does selectProtocol() call?
selectProtocol() calls 1 function(s): selectProtocol.
What calls selectProtocol()?
selectProtocol() is called by 2 function(s): ClientEngine, selectProtocol.

Analyze Your Own Codebase

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

Try Supermodel Free