public interface NamedEndpoint
Modifier and Type | Method and Description |
---|---|
String |
getHostName()
Returns name (IP or DNS name).
|
int |
getPort()
Returns the port.
|
String getHostName()
int getPort()
-1
if not setCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.