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

    Modifier and Type
    Method
    Description
    Returns name (IP or DNS name).
    int
    Returns the port.
  • Method Details

    • getHostName

      String getHostName()
      Returns name (IP or DNS name).
      Returns:
      the host name (IP or DNS name)
    • getPort

      int getPort()
      Returns the port.
      Returns:
      the host port, or -1 if not set