Home / Function/ isLocalWindowsHost() — netty Function Reference

isLocalWindowsHost() — netty Function Reference

Architecture documentation for the isLocalWindowsHost() function in DnsNameResolver.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c31c4adb_bc6e_20a0_4ab3_d1eff71ae67e["isLocalWindowsHost()"]
  a8faea52_3f45_7b36_4918_3dfb9bd6ee9b["DnsNameResolver"]
  c31c4adb_bc6e_20a0_4ab3_d1eff71ae67e -->|defined in| a8faea52_3f45_7b36_4918_3dfb9bd6ee9b
  dbdd435e_4d75_a906_0143_a41cc717b39e["InetAddress()"]
  dbdd435e_4d75_a906_0143_a41cc717b39e -->|calls| c31c4adb_bc6e_20a0_4ab3_d1eff71ae67e
  4dce8143_7bbd_5966_f9d4_77c78c0fb83a["resolveHostsFileEntries()"]
  4dce8143_7bbd_5966_f9d4_77c78c0fb83a -->|calls| c31c4adb_bc6e_20a0_4ab3_d1eff71ae67e
  style c31c4adb_bc6e_20a0_4ab3_d1eff71ae67e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java lines 740–744

    private static boolean isLocalWindowsHost(String hostname) {
        return PlatformDependent.isWindows() &&
                (LOCALHOST.equalsIgnoreCase(hostname) ||
                        (WINDOWS_HOST_NAME != null && WINDOWS_HOST_NAME.equalsIgnoreCase(hostname)));
    }

Subdomains

Frequently Asked Questions

What does isLocalWindowsHost() do?
isLocalWindowsHost() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java.
Where is isLocalWindowsHost() defined?
isLocalWindowsHost() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java at line 740.
What calls isLocalWindowsHost()?
isLocalWindowsHost() is called by 2 function(s): InetAddress, resolveHostsFileEntries.

Analyze Your Own Codebase

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

Try Supermodel Free