open static fun createRecord(name: String, host: String, port: Int, root: String, metadata: JsonObject): Record
Convenient method to create a record for a HTTP endpoint.
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
Return
the created record
open static fun createRecord(name: String, ssl: Boolean, host: String, port: Int, root: String, metadata: JsonObject): Record
Same as io.vertx.rxjava.servicediscovery.types.HttpEndpoint#createRecord but let you configure whether or not the service is using https.
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
Return
the created record
open static fun createRecord(name: String, host: String, port: Int, root: String): Record
Same as io.vertx.rxjava.servicediscovery.types.HttpEndpoint#createRecord but without metadata.
host - the host, must be public
root - the root, if not set "/" is used
Return
the created record
open static fun createRecord(name: String, host: String): Record
Same as io.vertx.rxjava.servicediscovery.types.HttpEndpoint#createRecord but without metadata, using the port 80 and using "/" as root.
Return
the created record