Home / Function/ V() — netty Function Reference

V() — netty Function Reference

Architecture documentation for the V() function in DomainNameMappingBuilder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  441838a1_c85c_1c1e_d8fd_ceba5034210b["V()"]
  3d0847f8_b839_0e5d_4c34_8fa3423b62b5["ImmutableDomainNameMapping"]
  441838a1_c85c_1c1e_d8fd_ceba5034210b -->|defined in| 3d0847f8_b839_0e5d_4c34_8fa3423b62b5
  style 441838a1_c85c_1c1e_d8fd_ceba5034210b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/DomainNameMappingBuilder.java lines 134–148

        @Override
        public V map(String hostname) {
            if (hostname != null) {
                hostname = normalizeHostname(hostname);

                int length = domainNamePatterns.length;
                for (int index = 0; index < length; ++index) {
                    if (matches(domainNamePatterns[index], hostname)) {
                        return values[index];
                    }
                }
            }

            return defaultValue;
        }

Domain

Subdomains

Frequently Asked Questions

What does V() do?
V() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/DomainNameMappingBuilder.java.
Where is V() defined?
V() is defined in common/src/main/java/io/netty/util/DomainNameMappingBuilder.java at line 134.

Analyze Your Own Codebase

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

Try Supermodel Free