Package org.apache.hc.core5.net
Interface NamedEndpoint
-
- All Known Implementing Classes:
EndpointParameters
,Host
,HttpHost
,URIAuthority
public interface NamedEndpoint
Endpoint identified by name (usually a fully qualified domain name) and port.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getHostName()
Returns name (IP or DNS name).int
getPort()
Returns the port.
-