Home / Function/ String() — netty Function Reference

String() — netty Function Reference

Architecture documentation for the String() function in JdkBaseApplicationProtocolNegotiator.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  dec0e4c4_e3db_dc3f_4878_c638a86a5801["String()"]
  e66283ab_c884_60dd_1348_c7d8caec544e["NoFailProtocolSelector"]
  dec0e4c4_e3db_dc3f_4878_c638a86a5801 -->|defined in| e66283ab_c884_60dd_1348_c7d8caec544e
  style dec0e4c4_e3db_dc3f_4878_c638a86a5801 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/JdkBaseApplicationProtocolNegotiator.java lines 143–152

        @Override
        public String select(List<String> protocols) throws Exception {
            for (String p : supportedProtocols) {
                if (protocols.contains(p)) {
                    engineWrapper.setNegotiatedApplicationProtocol(p);
                    return p;
                }
            }
            return noSelectMatchFound();
        }

Domain

Subdomains

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/JdkBaseApplicationProtocolNegotiator.java.
Where is String() defined?
String() is defined in handler/src/main/java/io/netty/handler/ssl/JdkBaseApplicationProtocolNegotiator.java at line 143.

Analyze Your Own Codebase

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

Try Supermodel Free