String() — netty Function Reference
Architecture documentation for the String() function in JdkAlpnSslEngine.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 00bbeee1_a1ed_4eda_8a7f_ba9f999421da["String()"] 301bb277_7cd2_153d_3f93_7fceaab2afee["AlpnSelector"] 00bbeee1_a1ed_4eda_8a7f_ba9f999421da -->|defined in| 301bb277_7cd2_153d_3f93_7fceaab2afee style 00bbeee1_a1ed_4eda_8a7f_ba9f999421da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/JdkAlpnSslEngine.java lines 45–60
@Override
public String apply(SSLEngine sslEngine, List<String> strings) {
assert !called;
called = true;
try {
String selected = selector.select(strings);
return selected == null ? StringUtil.EMPTY_STRING : selected;
} catch (Exception cause) {
// Returning null means we want to fail the handshake.
//
// See https://download.java.net/java/jdk9/docs/api/javax/net/ssl/
// SSLEngine.html#setHandshakeApplicationProtocolSelector-java.util.function.BiFunction-
return null;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does String() do?
String() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/JdkAlpnSslEngine.java.
Where is String() defined?
String() is defined in handler/src/main/java/io/netty/handler/ssl/JdkAlpnSslEngine.java at line 45.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free