vertx-lang-scala-docs_2.12 3.4.0 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package servicediscovery
  Definition Classes
    scala
-  package types
  Definition Classes
    servicediscovery
- EventBusService
- HttpEndpoint
- HttpLocation
- JDBCDataSource
- MessageSource
- MongoDataSource
- RedisDataSource

o

io.vertx.scala.servicediscovery.types

# HttpEndpoint 

###
Companion class HttpEndpoint

#### object HttpEndpoint

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. HttpEndpoint
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def apply(asJava: servicediscovery.types.HttpEndpoint): HttpEndpoint
5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )
7.  def createRecord(name: String, host: String): Record

   Same as io.vertx.scala.servicediscovery.types.HttpEndpoint#createRecord but without metadata, using the port 80 and using "/" as root.

   Same as io.vertx.scala.servicediscovery.types.HttpEndpoint#createRecord but without metadata, using the port 80 and using "/" as root.

   name

     the name

   host

     the host

   returns

     the created recordsee Record

8.  def createRecord(name: String, host: String, port: Int, root: String): Record

   Same as io.vertx.scala.servicediscovery.types.HttpEndpoint#createRecord but without metadata.

   Same as io.vertx.scala.servicediscovery.types.HttpEndpoint#createRecord but without metadata.

   name

     the service name

   host

     the host, must be public

   port

     the port

   root

     the root, if not set "/" is used

   returns

     the created recordsee Record

9.  def createRecord(name: String, ssl: Boolean, host: String, port: Int, root: String, metadata: JsonObject): Record

   Same as io.vertx.scala.servicediscovery.types.HttpEndpoint#createRecord but let you configure whether or not the service is using `https`.

   Same as io.vertx.scala.servicediscovery.types.HttpEndpoint#createRecord but let you configure whether or not the service is using `https`.

   name

     the service name

   ssl

     whether or not the service is using HTTPS

   host

     the host (IP or DNS name), it must be the _public_ IP / name

   port

     the port, it must be the _public_ port

   root

     the path of the service, "/" if not set

   metadata

     additional metadata

   returns

     the created recordsee Record

10.  def createRecord(name: String, host: String, port: Int, root: String, metadata: JsonObject): Record

    Convenient method to create a record for a HTTP endpoint.

    Convenient method to create a record for a HTTP endpoint.

    name

      the service name

    host

      the host (IP or DNS name), it must be the _public_ IP / name

    port

      the port, it must be the _public_ port

    root

      the path of the service, "/" if not set

    metadata

      additional metadata

    returns

      the created recordsee Record

11.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
12.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
13.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
14.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
15.  def getClient(discovery: ServiceDiscovery, filter: (Record) ⇒ Boolean, conf: JsonObject, resultHandler: Handler[AsyncResult[HttpClient]]): Unit

    Convenient method that looks for a HTTP endpoint and provides the configured .

    Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP client.

    discovery

      The service discovery instance

    filter

      The filter

    conf

      the configuration of the client

    resultHandler

      The result handler

16.  def getClient(discovery: ServiceDiscovery, filter: (Record) ⇒ Boolean, resultHandler: Handler[AsyncResult[HttpClient]]): Unit

    Convenient method that looks for a HTTP endpoint and provides the configured .

    Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.

    discovery

      The service discovery instance

    filter

      The filter

    resultHandler

      The result handler

17.  def getClient(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject, resultHandler: Handler[AsyncResult[HttpClient]]): Unit

    Convenient method that looks for a HTTP endpoint and provides the configured .

    Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP client

    discovery

      The service discovery instance

    filter

      The filter, optional

    conf

      the configuration of the client

    resultHandler

      The result handler

18.  def getClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler[AsyncResult[HttpClient]]): Unit

    Convenient method that looks for a HTTP endpoint and provides the configured .

    Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.

    discovery

      The service discovery instance

    filter

      The filter, optional

    resultHandler

      The result handler

19.  def getWebClient(discovery: ServiceDiscovery, filter: (Record) ⇒ Boolean, conf: JsonObject, resultHandler: Handler[AsyncResult[WebClient]]): Unit

    Convenient method that looks for a HTTP endpoint and provides the configured .

    Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP client.

    discovery

      The service discovery instance

    filter

      The filter

    conf

      the configuration of the client

    resultHandler

      The result handler

20.  def getWebClient(discovery: ServiceDiscovery, filter: (Record) ⇒ Boolean, resultHandler: Handler[AsyncResult[WebClient]]): Unit

    Convenient method that looks for a HTTP endpoint and provides the configured .

    Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.

    discovery

      The service discovery instance

    filter

      The filter

    resultHandler

      The result handler

21.  def getWebClient(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject, resultHandler: Handler[AsyncResult[WebClient]]): Unit

    Convenient method that looks for a HTTP endpoint and provides the configured .

    Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP client

    discovery

      The service discovery instance

    filter

      The filter, optional

    conf

      the configuration of the client

    resultHandler

      The result handler

22.  def getWebClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler[AsyncResult[WebClient]]): Unit

    Convenient method that looks for a HTTP endpoint and provides the configured .

    Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.

    discovery

      The service discovery instance

    filter

      The filter, optional

    resultHandler

      The result handler

23.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
24.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
25.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
26.  final def notify(): Unit
    Definition Classes
      AnyRef
27.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
28.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
29.  def toString(): String
    Definition Classes
      AnyRef → Any
30.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
31.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
32.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped