getProtocolBit() — netty Function Reference
Architecture documentation for the getProtocolBit() function in OpenSsl.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6024b928_41e9_d570_d968_8379f61d7d07["getProtocolBit()"] ed038636_6deb_9fdb_0fd6_26635e25e0e6["OpenSsl"] 6024b928_41e9_d570_d968_8379f61d7d07 -->|defined in| ed038636_6deb_9fdb_0fd6_26635e25e0e6 969eb638_9e79_3d0b_850e_5424c0426f79["isProtocolSupported()"] 969eb638_9e79_3d0b_850e_5424c0426f79 -->|calls| 6024b928_41e9_d570_d968_8379f61d7d07 style 6024b928_41e9_d570_d968_8379f61d7d07 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/OpenSsl.java lines 841–864
private static int getProtocolBit(String protocol) {
if (protocol == null) {
return -1;
}
switch (protocol) {
case SslProtocols.SSL_v2_HELLO:
return SSL_V2_HELLO;
case SslProtocols.SSL_v2:
return SSL_V2;
case SslProtocols.SSL_v3:
return SSL_V3;
case SslProtocols.TLS_v1:
return TLS_V1;
case SslProtocols.TLS_v1_1:
return TLS_V1_1;
case SslProtocols.TLS_v1_2:
return TLS_V1_2;
case SslProtocols.TLS_v1_3:
return TLS_V1_3;
default:
return -1;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getProtocolBit() do?
getProtocolBit() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java.
Where is getProtocolBit() defined?
getProtocolBit() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSsl.java at line 841.
What calls getProtocolBit()?
getProtocolBit() is called by 1 function(s): isProtocolSupported.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free