Package org.apache.hc.core5.net
Interface NamedEndpoint
-
- All Known Implementing Classes:
EndpointParameters,Host,HttpHost,URIAuthority
public interface NamedEndpointEndpoint 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.StringgetHostName()Returns name (IP or DNS name).intgetPort()Returns the port.
-