Class 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:
    Serialized Form
    • Method Detail

      • getHostname

        public String getHostname()
      • getPort

        public int getPort()
      • isUseSsl

        public boolean isUseSsl()
      • 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.