Home / Function/ InetAddress() — netty Function Reference

InetAddress() — netty Function Reference

Architecture documentation for the InetAddress() function in SocketUtils.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1243e019_a86a_e1a9_f8c1_8ee8df87bded["InetAddress()"]
  be85935f_8b01_e8ee_e605_a1107ff9f20b["SocketUtils"]
  1243e019_a86a_e1a9_f8c1_8ee8df87bded -->|defined in| be85935f_8b01_e8ee_e605_a1107ff9f20b
  style 1243e019_a86a_e1a9_f8c1_8ee8df87bded fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/SocketUtils.java lines 149–160

    public static InetAddress addressByName(final String hostname) throws UnknownHostException {
        try {
            return AccessController.doPrivileged(new PrivilegedExceptionAction<InetAddress>() {
                @Override
                public InetAddress run() throws UnknownHostException {
                    return InetAddress.getByName(hostname);
                }
            });
        } catch (PrivilegedActionException e) {
            throw (UnknownHostException) e.getCause();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does InetAddress() do?
InetAddress() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/SocketUtils.java.
Where is InetAddress() defined?
InetAddress() is defined in common/src/main/java/io/netty/util/internal/SocketUtils.java at line 149.

Analyze Your Own Codebase

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

Try Supermodel Free