public class ResolvedInetAddress extends Address
| Constructor and Description |
|---|
ResolvedInetAddress(String originalHostname,
InetAddress inetAddress,
int port) |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
toInetSocketAddress(int port)
Construct an InetSocketAddress for this address with a specific port
|
equals, getHost, getPort, hashCode, isHostWithPort, parseAddress, parseAddresses, parseHost, parsePort, toStringpublic ResolvedInetAddress(String originalHostname, InetAddress inetAddress, int port)
public InetSocketAddress toInetSocketAddress(int port)
AddresstoInetSocketAddress in class AddressCopyright © 2025 Broadcom Inc. and its subsidiaries.. All rights reserved.