@Contract(threading=IMMUTABLE) public final class Host extends Object implements NamedEndpoint, Serializable
public Host(String name, int port)
public static Host create(String s) throws URISyntaxException
URISyntaxExceptionpublic String getHostName()
NamedEndpointgetHostName in interface NamedEndpointpublic int getPort()
NamedEndpointgetPort in interface NamedEndpoint-1 if not setCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.