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, toString
public ResolvedInetAddress(String originalHostname, InetAddress inetAddress, int port)
public InetSocketAddress toInetSocketAddress(int port)
Address
toInetSocketAddress
in class Address
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.