Home / Function/ needsNormalization() — netty Function Reference

needsNormalization() — netty Function Reference

Architecture documentation for the needsNormalization() function in DomainNameMapping.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  dc924c12_d06e_b834_0b28_d3798341d33d["needsNormalization()"]
  c25c4773_f951_fbcd_4633_f867679f934d["DomainNameMapping"]
  dc924c12_d06e_b834_0b28_d3798341d33d -->|defined in| c25c4773_f951_fbcd_4633_f867679f934d
  4f29e73f_3ba4_b804_6f61_92552d4b5c4c["String()"]
  4f29e73f_3ba4_b804_6f61_92552d4b5c4c -->|calls| dc924c12_d06e_b834_0b28_d3798341d33d
  style dc924c12_d06e_b834_0b28_d3798341d33d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/DomainNameMapping.java lines 116–125

    private static boolean needsNormalization(String hostname) {
        final int length = hostname.length();
        for (int i = 0; i < length; i++) {
            int c = hostname.charAt(i);
            if (c > 0x7F) {
                return true;
            }
        }
        return false;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does needsNormalization() do?
needsNormalization() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/DomainNameMapping.java.
Where is needsNormalization() defined?
needsNormalization() is defined in common/src/main/java/io/netty/util/DomainNameMapping.java at line 116.
What calls needsNormalization()?
needsNormalization() is called by 1 function(s): String.

Analyze Your Own Codebase

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

Try Supermodel Free