Class HttpEndpoint

java.lang.Object
com.clickhouse.client.api.transport.HttpEndpoint
All Implemented Interfaces:
Endpoint

public class HttpEndpoint extends Object implements Endpoint
  • Constructor Details

    • HttpEndpoint

      public HttpEndpoint(String host, int port, boolean secure, String path)
  • Method Details

    • getURI

      public URI getURI()
      Description copied from interface: Endpoint
      Returns URI without query parameters
      Specified by:
      getURI in interface Endpoint
      Returns:
      endpoint url
    • getHost

      public String getHost()
      Description copied from interface: Endpoint
      Returns hostname of target server
      Specified by:
      getHost in interface Endpoint
      Returns:
      dns hostname
    • getPort

      public int getPort()
      Description copied from interface: Endpoint
      Returns port of target server
      Specified by:
      getPort in interface Endpoint
      Returns:
      port number
    • getPath

      public String getPath()
    • isSecure

      public boolean isSecure()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object