public class HttpEndpoint extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<HttpEndpoint> |
__TYPE_ARG |
static String |
TYPE |
static String |
UNKNOWN
Unknown type.
|
Constructor and Description |
---|
HttpEndpoint(io.vertx.servicediscovery.types.HttpEndpoint delegate) |
HttpEndpoint(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static io.vertx.servicediscovery.Record |
createRecord(String name,
boolean ssl,
String host,
int port,
String root,
io.vertx.core.json.JsonObject metadata)
Same as
createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject) but let you configure whether or not the
service is using https . |
static io.vertx.servicediscovery.Record |
createRecord(String name,
String host)
Same as
createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject) but without metadata, using the port 80
and using "/" as root. |
static io.vertx.servicediscovery.Record |
createRecord(String name,
String host,
int port,
String root)
Same as
createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject) but without metadata. |
static io.vertx.servicediscovery.Record |
createRecord(String name,
String host,
int port,
String root,
io.vertx.core.json.JsonObject metadata)
Convenient method to create a record for a HTTP endpoint.
|
boolean |
equals(Object o) |
static io.reactivex.rxjava3.core.Single<HttpClient> |
getClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<HttpClient> |
getClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter,
io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<HttpClient> |
getClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<HttpClient> |
getClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter,
io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
io.vertx.servicediscovery.types.HttpEndpoint |
getDelegate() |
static io.reactivex.rxjava3.core.Single<WebClient> |
getWebClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<WebClient> |
getWebClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter,
io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<WebClient> |
getWebClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<WebClient> |
getWebClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter,
io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
int |
hashCode() |
static HttpEndpoint |
newInstance(io.vertx.servicediscovery.types.HttpEndpoint arg) |
static io.reactivex.rxjava3.core.Single<HttpClient> |
rxGetClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<HttpClient> |
rxGetClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter,
io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<HttpClient> |
rxGetClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<HttpClient> |
rxGetClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter,
io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<WebClient> |
rxGetWebClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<WebClient> |
rxGetWebClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter,
io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<WebClient> |
rxGetWebClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static io.reactivex.rxjava3.core.Single<WebClient> |
rxGetWebClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter,
io.vertx.core.json.JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
String |
toString() |
public static final TypeArg<HttpEndpoint> __TYPE_ARG
public static final String UNKNOWN
public static final String TYPE
public HttpEndpoint(io.vertx.servicediscovery.types.HttpEndpoint delegate)
public HttpEndpoint(Object delegate)
public io.vertx.servicediscovery.types.HttpEndpoint getDelegate()
public static io.vertx.servicediscovery.Record createRecord(String name, String host, int port, String root, io.vertx.core.json.JsonObject metadata)
name
- the service namehost
- the host (IP or DNS name), it must be the _public_ IP / nameport
- the port, it must be the _public_ portroot
- the path of the service, "/" if not setmetadata
- additional metadatapublic static io.vertx.servicediscovery.Record createRecord(String name, boolean ssl, String host, int port, String root, io.vertx.core.json.JsonObject metadata)
createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but let you configure whether or not the
service is using https
.name
- the service namessl
- whether or not the service is using HTTPShost
- the host (IP or DNS name), it must be the _public_ IP / nameport
- the port, it must be the _public_ portroot
- the path of the service, "/" if not setmetadata
- additional metadatapublic static io.vertx.servicediscovery.Record createRecord(String name, String host, int port, String root)
createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but without metadata.name
- the service namehost
- the host, must be publicport
- the portroot
- the root, if not set "/" is usedpublic static io.vertx.servicediscovery.Record createRecord(String name, String host)
createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but without metadata, using the port 80
and using "/" as root.name
- the namehost
- the hostpublic static io.reactivex.rxjava3.core.Single<HttpClient> getClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
discovery
- The service discovery instancefilter
- The filter, optionalpublic static io.reactivex.rxjava3.core.Single<HttpClient> rxGetClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
discovery
- The service discovery instancefilter
- The filter, optionalpublic static io.reactivex.rxjava3.core.Single<WebClient> getWebClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
discovery
- The service discovery instancefilter
- The filter, optionalpublic static io.reactivex.rxjava3.core.Single<WebClient> rxGetWebClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
discovery
- The service discovery instancefilter
- The filter, optionalpublic static io.reactivex.rxjava3.core.Single<HttpClient> getClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the clientpublic static io.reactivex.rxjava3.core.Single<HttpClient> rxGetClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the clientpublic static io.reactivex.rxjava3.core.Single<WebClient> getWebClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the clientpublic static io.reactivex.rxjava3.core.Single<WebClient> rxGetWebClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject conf)
discovery
- The service discovery instancefilter
- The filter, optionalconf
- the configuration of the clientpublic static io.reactivex.rxjava3.core.Single<HttpClient> getClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
discovery
- The service discovery instancefilter
- The filterpublic static io.reactivex.rxjava3.core.Single<HttpClient> rxGetClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
discovery
- The service discovery instancefilter
- The filterpublic static io.reactivex.rxjava3.core.Single<WebClient> getWebClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
discovery
- The service discovery instancefilter
- The filterpublic static io.reactivex.rxjava3.core.Single<WebClient> rxGetWebClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
discovery
- The service discovery instancefilter
- The filterpublic static io.reactivex.rxjava3.core.Single<HttpClient> getClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the clientpublic static io.reactivex.rxjava3.core.Single<HttpClient> rxGetClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the clientpublic static io.reactivex.rxjava3.core.Single<WebClient> getWebClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the clientpublic static io.reactivex.rxjava3.core.Single<WebClient> rxGetWebClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject conf)
discovery
- The service discovery instancefilter
- The filterconf
- the configuration of the clientpublic static HttpEndpoint newInstance(io.vertx.servicediscovery.types.HttpEndpoint arg)
Copyright © 2021 Eclipse. All rights reserved.