Class HttpRegistration

  • All Implemented Interfaces:
    LocationSerializable, java.io.Serializable, scala.Equals, scala.Product

    public final class HttpRegistration
    extends Registration
    implements scala.Product, java.io.Serializable
    HttpRegistration holds information needed to register a Http service

    param: port provide the port where Http service is available param: path provide the path to reach the available http service

    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract static R apply​(T1 v1, T2 v2, T3 v3)  
      Connection.HttpConnection connection()
      The Connection to register with LocationService
      Location location​(java.lang.String hostname)
      Create a HttpLocation that represents the live Http service
      java.lang.String path()  
      int port()  
      static java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

    • Method Detail

      • apply

        public abstract static R apply​(T1 v1,
                                       T2 v2,
                                       T3 v3)
      • toString

        public static java.lang.String toString()
      • port

        public int port()
      • path

        public java.lang.String path()
      • location

        public Location location​(java.lang.String hostname)
        Create a HttpLocation that represents the live Http service

        Specified by:
        location in class Registration
        Parameters:
        hostname - provide the hostname where Http service is available
        Returns:
        (undocumented)