vertx / io.vertx.rxjava.servicediscovery.types / HttpEndpoint

# HttpEndpoint

`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.

### Constructors

<init> | `HttpEndpoint(delegate: HttpEndpoint)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<HttpEndpoint>`

### Functions

createRecord | `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 `io.vertx.rxjava.servicediscovery.types.HttpEndpoint#createRecord` but let you configure whether or not the service is using `https`. `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. `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.
equals | `open fun equals(other: Any?): Boolean`
getClient | `open static fun getClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler<AsyncResult<HttpClient>>): Unit` `open 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.
getDelegate | `open fun getDelegate(): HttpEndpoint`
getWebClient | `open static fun getWebClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler<AsyncResult<WebClient>>): Unit` `open 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.
hashCode | `open fun hashCode(): Int`
newInstance | `open static fun newInstance(arg: HttpEndpoint): HttpEndpoint`
rxGetClient | `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.
rxGetWebClient | `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.
toString | `open fun toString(): String`