Interface Endpoint

All Known Implementing Classes:
HttpEndpoint

public interface Endpoint
Interface defining the behavior of transport endpoint. It is transport responsibility to provide suitable implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns hostname of target server
    int
    Returns port of target server
    Returns URI without query parameters
  • Method Details

    • getURI

      URI getURI()
      Returns URI without query parameters
      Returns:
      endpoint url
    • getHost

      String getHost()
      Returns hostname of target server
      Returns:
      dns hostname
    • getPort

      int getPort()
      Returns port of target server
      Returns:
      port number