open class HttpEndpoint
for HTTP endpoint (REST api). Consumers receive a HTTP client configured with the host and port of the endpoint. NOTE: This class has been automatically generated from the io.vertx.servicediscovery.types.HttpEndpoint non RX-ified interface using Vert.x codegen.
HttpEndpoint(delegate: HttpEndpoint) |
static val __TYPE_ARG: TypeArg<HttpEndpoint> |
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. open static fun createRecord(name: String, ssl: Boolean, host: String, port: Int, root: String, metadata: JsonObject): Record
Same as open static fun createRecord(name: String, host: String, port: Int, root: String): Record
Same as open static fun createRecord(name: String, host: String): Record
Same as |
|
open fun equals(other: Any?): Boolean |
|
open static fun getClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler<AsyncResult<HttpClient>>): Unitopen static fun getClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, resultHandler: Handler<AsyncResult<HttpClient>>): Unit
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. open static fun getClient(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject, resultHandler: Handler<AsyncResult<HttpClient>>): Unit
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 open static fun getClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, conf: JsonObject, resultHandler: Handler<AsyncResult<HttpClient>>): Unit
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. |
|
open fun getDelegate(): HttpEndpoint |
|
open static fun getWebClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler<AsyncResult<WebClient>>): Unitopen static fun getWebClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, resultHandler: Handler<AsyncResult<WebClient>>): Unit
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. open static fun getWebClient(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject, resultHandler: Handler<AsyncResult<WebClient>>): Unit
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 open static fun getWebClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, conf: JsonObject, resultHandler: Handler<AsyncResult<WebClient>>): Unit
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. |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: HttpEndpoint): HttpEndpoint |
|
open static fun rxGetClient(discovery: ServiceDiscovery, filter: JsonObject): Single<HttpClient>open static fun rxGetClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<HttpClient>
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. open static fun rxGetClient(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject): Single<HttpClient>
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 open static fun rxGetClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, conf: JsonObject): Single<HttpClient>
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. |
|
open static fun rxGetWebClient(discovery: ServiceDiscovery, filter: JsonObject): Single<WebClient>open static fun rxGetWebClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<WebClient>
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. open static fun rxGetWebClient(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject): Single<WebClient>
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 open static fun rxGetWebClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, conf: JsonObject): Single<WebClient>
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. |
|
open fun toString(): String |