Home / Function/ Inet6Address() — netty Function Reference

Inet6Address() — netty Function Reference

Architecture documentation for the Inet6Address() function in NetUtilInitializations.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5073a988_15c0_e7bb_1892_e169f2ecdec6["Inet6Address()"]
  079fd0dd_85b4_85e3_2cd2_da5d5fb2b78e["NetUtilInitializations"]
  5073a988_15c0_e7bb_1892_e169f2ecdec6 -->|defined in| 079fd0dd_85b4_85e3_2cd2_da5d5fb2b78e
  style 5073a988_15c0_e7bb_1892_e169f2ecdec6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/NetUtilInitializations.java lines 57–69

    static Inet6Address createLocalhost6() {
        byte[] LOCALHOST6_BYTES = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1};

        Inet6Address localhost6 = null;
        try {
            localhost6 = (Inet6Address) InetAddress.getByAddress("localhost", LOCALHOST6_BYTES);
        } catch (Exception e) {
            // We should not get here as long as the length of the address is correct.
            PlatformDependent.throwException(e);
        }

        return localhost6;
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free