String() — netty Function Reference
Architecture documentation for the String() function in EnhancingX509ExtendedTrustManager.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6e8b10cb_ec1a_f08a_e4d5_84ac7850db3c["String()"] c5d2be08_7d10_3353_b854_1b0eee00afa0["EnhancingX509ExtendedTrustManager"] 6e8b10cb_ec1a_f08a_e4d5_84ac7850db3c -->|defined in| c5d2be08_7d10_3353_b854_1b0eee00afa0 style 6e8b10cb_ec1a_f08a_e4d5_84ac7850db3c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/EnhancingX509ExtendedTrustManager.java lines 164–176
private static String getSNIHostName(SSLSession session) {
if (!(session instanceof ExtendedSSLSession)) {
return null;
}
List<SNIServerName> names = ((ExtendedSSLSession) session).getRequestedServerNames();
for (SNIServerName sni : names) {
if (sni instanceof SNIHostName) {
SNIHostName hostName = (SNIHostName) sni;
return hostName.getAsciiName();
}
}
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/EnhancingX509ExtendedTrustManager.java.
Where is String() defined?
String() is defined in handler/src/main/java/io/netty/handler/ssl/EnhancingX509ExtendedTrustManager.java at line 164.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free