Home / Function/ String() — netty Function Reference

String() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1062d547_fd3b_3117_1f1b_9533b9cd36b8["String()"]
  e4820084_7d1b_2721_63ce_f22384be66c9["SignatureAlgorithmConverter"]
  1062d547_fd3b_3117_1f1b_9533b9cd36b8 -->|defined in| e4820084_7d1b_2721_63ce_f22384be66c9
  style 1062d547_fd3b_3117_1f1b_9533b9cd36b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/SignatureAlgorithmConverter.java lines 54–73

    static String toJavaName(String opensslName) {
        if (opensslName == null) {
            return null;
        }
        Matcher matcher = PATTERN.matcher(opensslName);
        if (matcher.matches()) {
            String group1 = matcher.group(1);
            if (group1 != null) {
                return group1.toUpperCase(Locale.ROOT) + "with" + matcher.group(2).toUpperCase(Locale.ROOT);
            }
            if (matcher.group(3) != null) {
                return matcher.group(4).toUpperCase(Locale.ROOT) + "with" + matcher.group(3).toUpperCase(Locale.ROOT);
            }

            if (matcher.group(5) != null) {
                return matcher.group(6).toUpperCase(Locale.ROOT) + "with" + matcher.group(5).toUpperCase(Locale.ROOT);
            }
        }
        return null;
    }

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

Analyze Your Own Codebase

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

Try Supermodel Free