Class Endpoint

java.lang.Object
com.yahoo.vespa.http.client.config.Endpoint
All Implemented Interfaces:
Serializable

public final class Endpoint extends Object implements Serializable
Represents an endpoint, in most cases a JDisc container in a Vespa cluster configured with document-api.
Author:
Einar M R Rosenvinge
See Also:
  • Method Details

    • getHostname

      public String getHostname()
    • getPort

      public int getPort()
    • isUseSsl

      public boolean isUseSsl()
    • toString

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static Endpoint create(String hostname)
      Creates an Endpoint with the default port and without using SSL
    • create

      public static Endpoint create(String hostname, int port, boolean useSsl)
      Creates an Endpoint with the given hostname, port and SSL setting.
    • create

      public static Endpoint create(URL url)