| Modifier and Type | Method and Description |
|---|---|
JsonObject |
AmqpMessage.applicationProperties() |
JsonObject |
AmqpMessage.bodyAsJsonObject() |
JsonObject |
AmqpClientOptionsConverter.encode(AmqpClientOptions value) |
JsonObject |
AmqpReceiverOptionsConverter.encode(AmqpReceiverOptions value) |
JsonObject |
AmqpSenderOptionsConverter.encode(AmqpSenderOptions value) |
JsonObject |
AmqpReceiverOptions.toJson() |
JsonObject |
AmqpClientOptions.toJson() |
JsonObject |
AmqpSenderOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
AmqpMessageBuilder |
AmqpMessageBuilder.applicationProperties(JsonObject props) |
AmqpClientOptions |
AmqpClientOptionsConverter.decode(JsonObject value) |
AmqpReceiverOptions |
AmqpReceiverOptionsConverter.decode(JsonObject value) |
AmqpSenderOptions |
AmqpSenderOptionsConverter.decode(JsonObject value) |
static void |
AmqpClientOptionsConverter.toJson(AmqpClientOptions obj,
JsonObject json) |
static void |
AmqpReceiverOptionsConverter.toJson(AmqpReceiverOptions obj,
JsonObject json) |
static void |
AmqpSenderOptionsConverter.toJson(AmqpSenderOptions obj,
JsonObject json) |
AmqpMessageBuilder |
AmqpMessageBuilder.withJsonObjectAsBody(JsonObject json) |
| Constructor and Description |
|---|
AmqpClientOptions(JsonObject json) |
AmqpReceiverOptions(JsonObject json) |
AmqpSenderOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
CassandraClientOptionsConverter.encode(CassandraClientOptions value) |
JsonObject |
CassandraClientOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
CassandraClientOptions |
CassandraClientOptionsConverter.decode(JsonObject value) |
static void |
CassandraClientOptionsConverter.toJson(CassandraClientOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
CassandraClientOptions(JsonObject json)
Constructor to create options from JSON.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
CircuitBreakerOptionsConverter.encode(CircuitBreakerOptions value) |
JsonObject |
CircuitBreakerOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
CircuitBreakerOptions |
CircuitBreakerOptionsConverter.decode(JsonObject value) |
static void |
CircuitBreakerOptionsConverter.toJson(CircuitBreakerOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
CircuitBreakerOptions(JsonObject json)
Creates a new instance of
CircuitBreakerOptions from the given json object. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ConfigRetrieverOptionsConverter.encode(ConfigRetrieverOptions value) |
JsonObject |
ConfigRetriever.getCachedConfig()
Gets the last computed configuration.
|
JsonObject |
ConfigStoreOptions.getConfig() |
JsonObject |
ConfigChange.getNewConfiguration() |
JsonObject |
ConfigChange.getPreviousConfiguration() |
JsonObject |
ConfigRetrieverOptions.toJson() |
JsonObject |
ConfigStoreOptions.toJson() |
JsonObject |
ConfigChange.toJson() |
| Modifier and Type | Method and Description |
|---|---|
ReadStream<JsonObject> |
ConfigRetriever.configStream() |
static Future<JsonObject> |
ConfigRetriever.getConfigAsFuture(ConfigRetriever retriever)
Same as
ConfigRetriever.getConfig(Handler), but returning a Future object. |
| Modifier and Type | Method and Description |
|---|---|
ConfigRetrieverOptions |
ConfigRetrieverOptionsConverter.decode(JsonObject value) |
ConfigStoreOptions |
ConfigStoreOptions.setConfig(JsonObject config)
Sets the configuration of the store
|
ConfigChange |
ConfigChange.setNewConfiguration(JsonObject conf)
Sets the new configuration.
|
ConfigChange |
ConfigChange.setPreviousConfiguration(JsonObject conf)
Sets the previous configuration.
|
static void |
ConfigRetrieverOptionsConverter.toJson(ConfigRetrieverOptions obj,
JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigRetriever.getConfig(Handler<AsyncResult<JsonObject>> completionHandler)
Reads the configuration from the different
ConfigStore
and computes the final configuration. |
ConfigRetriever |
ConfigRetriever.setConfigurationProcessor(java.util.function.Function<JsonObject,JsonObject> processor)
Registers a handler that process the configuration before being injected into
ConfigRetriever.getConfig(Handler) or ConfigRetriever.listen(Handler). |
ConfigRetriever |
ConfigRetriever.setConfigurationProcessor(java.util.function.Function<JsonObject,JsonObject> processor)
Registers a handler that process the configuration before being injected into
ConfigRetriever.getConfig(Handler) or ConfigRetriever.listen(Handler). |
| Constructor and Description |
|---|
ConfigChange(JsonObject json)
Creates a new
ConfigChange instance from the given JSON object. |
ConfigChange(JsonObject prevConf,
JsonObject newConf)
Creates a new
ConfigChange instance. |
ConfigRetrieverOptions(JsonObject json) |
ConfigStoreOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
ConsulConfigStoreFactory.create(Vertx vertx,
JsonObject configuration) |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
GitConfigStoreFactory.create(Vertx vertx,
JsonObject configuration) |
| Constructor and Description |
|---|
GitConfigStore(Vertx vertx,
JsonObject configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
HoconProcessor.process(Vertx vertx,
JsonObject configuration,
Buffer input,
Handler<AsyncResult<JsonObject>> handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
HoconProcessor.process(Vertx vertx,
JsonObject configuration,
Buffer input,
Handler<AsyncResult<JsonObject>> handler) |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
ConfigMapStoreFactory.create(Vertx vertx,
JsonObject configuration) |
| Constructor and Description |
|---|
ConfigMapStore(Vertx vertx,
JsonObject configuration) |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
RedisConfigStoreFactory.create(Vertx vertx,
JsonObject configuration) |
| Constructor and Description |
|---|
RedisConfigStore(Vertx vertx,
JsonObject config) |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
ConfigStoreFactory.create(Vertx vertx,
JsonObject configuration)
Creates an instance of the
ConfigStore. |
void |
ConfigProcessor.process(Vertx vertx,
JsonObject configuration,
Buffer input,
Handler<AsyncResult<JsonObject>> handler)
Transforms the given
input into a JsonObject. |
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigProcessor.process(Vertx vertx,
JsonObject configuration,
Buffer input,
Handler<AsyncResult<JsonObject>> handler)
Transforms the given
input into a JsonObject. |
| Modifier and Type | Method and Description |
|---|---|
static JsonObject |
JsonObjectHelper.from(Properties props) |
static JsonObject |
JsonObjectHelper.from(Properties props,
boolean rawData) |
| Modifier and Type | Method and Description |
|---|---|
static void |
JsonObjectHelper.put(JsonObject json,
String name,
String value,
boolean rawData) |
static Buffer |
JsonObjectHelper.toBuffer(JsonObject json)
Deprecated.
use
toBuffer() instead |
| Modifier and Type | Method and Description |
|---|---|
void |
FileSet.buildConfiguration(List<File> files,
Handler<AsyncResult<JsonObject>> handler)
Iterates over the given set of files, and for each matching file, computes the resulting configuration.
|
| Constructor and Description |
|---|
FileSet(Vertx vertx,
File root,
JsonObject set)
Creates a new
FileSet from a json object. |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
SpringConfigServerStoreFactory.create(Vertx vertx,
JsonObject configuration) |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
VaultConfigStoreFactory.create(Vertx vertx,
JsonObject configuration) |
| Constructor and Description |
|---|
VaultConfigStore(Vertx vertx,
JsonObject config)
Creates an instance of
VaultConfigStore. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
TokenRequestConverter.encode(TokenRequest value) |
JsonObject |
Secret.getData() |
JsonObject |
Lookup.getMetadata() |
JsonObject |
Auth.getMetadata() |
JsonObject |
TokenRequest.toJson() |
JsonObject |
TokenRequest.toPayload() |
| Modifier and Type | Method and Description |
|---|---|
TokenRequest |
TokenRequestConverter.decode(JsonObject value) |
static void |
TokenRequestConverter.toJson(TokenRequest obj,
JsonObject json) |
void |
SlimVaultClient.write(String path,
JsonObject secrets,
Handler<AsyncResult<Secret>> resultHandler)
Write a secret to `path`.
|
| Constructor and Description |
|---|
SlimVaultClient(Vertx vertx,
JsonObject configuration)
Creates an instance of
SlimVaultClient. |
TokenRequest(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
void |
YamlProcessor.process(Vertx vertx,
JsonObject configuration,
Buffer input,
Handler<AsyncResult<JsonObject>> handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
YamlProcessor.process(Vertx vertx,
JsonObject configuration,
Buffer input,
Handler<AsyncResult<JsonObject>> handler) |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
ZookeeperConfigStoreFactory.create(Vertx vertx,
JsonObject configuration) |
| Constructor and Description |
|---|
ZookeeperConfigStore(Vertx vertx,
JsonObject configuration) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
Context.config()
If the context is associated with a Verticle deployment, this returns the configuration that was specified when
the verticle was deployed.
|
JsonObject |
AbstractVerticle.config()
Get the configuration of the verticle.
|
JsonObject |
DeploymentOptionsConverter.encode(DeploymentOptions value) |
JsonObject |
VertxOptionsConverter.encode(VertxOptions value) |
JsonObject |
DeploymentOptions.getConfig()
Get the JSON configuration that will be passed to the verticle(s) when deployed.
|
JsonObject |
VertxOptions.toJson() |
JsonObject |
DeploymentOptions.toJson()
Convert this to JSON
|
| Modifier and Type | Method and Description |
|---|---|
void |
Launcher.afterConfigParsed(JsonObject config)
Hook for sub-classes of
Launcher after the config has been parsed. |
VertxOptions |
VertxOptionsConverter.decode(JsonObject value) |
DeploymentOptions |
DeploymentOptionsConverter.decode(JsonObject value) |
void |
DeploymentOptions.fromJson(JsonObject json)
Initialise the fields of this instance from the specified JSON
|
DeploymentOptions |
DeploymentOptions.setConfig(JsonObject config)
Set the JSON configuration that will be passed to the verticle(s) when it's deployed
|
| Constructor and Description |
|---|
DeploymentOptions(JsonObject json)
Constructor for creating a instance from JSON
|
VertxOptions(JsonObject json)
Create an instance from a
JsonObject |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
Buffer.toJsonObject()
Returns a Json object representation of the Buffer.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ArgumentConverter.encode(Argument value) |
JsonObject |
OptionConverter.encode(Option value) |
JsonObject |
Argument.toJson()
Exports this
Argument to its corresponding JSON representation. |
JsonObject |
Option.toJson()
Gets the json representation of this
Option. |
| Modifier and Type | Method and Description |
|---|---|
Option |
OptionConverter.decode(JsonObject value) |
Argument |
ArgumentConverter.decode(JsonObject value) |
| Constructor and Description |
|---|
Argument(JsonObject json)
Creates a new instance of
Argument from the given JSON object. |
Option(JsonObject json)
Creates a new instance of
Option from the given JsonObject |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
DatagramSocketOptionsConverter.encode(DatagramSocketOptions value) |
| Modifier and Type | Method and Description |
|---|---|
DatagramSocketOptions |
DatagramSocketOptionsConverter.decode(JsonObject value) |
| Constructor and Description |
|---|
DatagramSocketOptions(JsonObject json)
Constructor to create options from JSON
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
AddressResolverOptionsConverter.encode(AddressResolverOptions value) |
JsonObject |
DnsClientOptionsConverter.encode(DnsClientOptions value) |
JsonObject |
DnsClientOptions.toJson() |
JsonObject |
AddressResolverOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
AddressResolverOptions |
AddressResolverOptionsConverter.decode(JsonObject value) |
DnsClientOptions |
DnsClientOptionsConverter.decode(JsonObject value) |
static void |
DnsClientOptionsConverter.toJson(DnsClientOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
AddressResolverOptions(JsonObject json) |
DnsClientOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
EventBusOptionsConverter.encode(EventBusOptions value) |
JsonObject |
EventBusOptions.toJson()
Builds a JSON object representing the current
EventBusOptions. |
JsonObject |
DeliveryOptions.toJson()
Convert to JSON.
|
| Modifier and Type | Method and Description |
|---|---|
EventBusOptions |
EventBusOptionsConverter.decode(JsonObject value) |
| Constructor and Description |
|---|
DeliveryOptions(JsonObject json)
Create a delivery options from JSON
|
EventBusOptions(JsonObject json)
Creates a new instance of
EventBusOptions from the JSON object. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
FileSystemOptionsConverter.encode(FileSystemOptions value) |
JsonObject |
FileSystemOptions.toJson()
Builds a JSON object representing the current
FileSystemOptions. |
| Modifier and Type | Method and Description |
|---|---|
OpenOptions |
OpenOptionsConverter.decode(JsonObject value) |
CopyOptions |
CopyOptionsConverter.decode(JsonObject value) |
FileSystemOptions |
FileSystemOptionsConverter.decode(JsonObject value) |
| Constructor and Description |
|---|
CopyOptions(JsonObject json)
Constructor to create options from JSON.
|
FileSystemOptions(JsonObject json)
Creates a new instance of
FileSystemOptions from the JSON object. |
OpenOptions(JsonObject json)
Constructor to create options from JSON
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
GoAwayConverter.encode(GoAway value) |
JsonObject |
Http2SettingsConverter.encode(Http2Settings value) |
JsonObject |
HttpClientOptionsConverter.encode(HttpClientOptions value) |
JsonObject |
HttpServerOptionsConverter.encode(HttpServerOptions value) |
JsonObject |
RequestOptionsConverter.encode(RequestOptions value) |
JsonObject |
WebSocketConnectOptionsConverter.encode(WebSocketConnectOptions value) |
JsonObject |
Http2Settings.toJson() |
JsonObject |
WebSocketConnectOptions.toJson() |
JsonObject |
StreamPriority.toJson() |
JsonObject |
HttpClientOptions.toJson()
Convert to JSON
|
JsonObject |
RequestOptions.toJson() |
JsonObject |
GoAway.toJson() |
JsonObject |
HttpServerOptions.toJson()
Convert to JSON
|
| Modifier and Type | Method and Description |
|---|---|
HttpClientOptions |
HttpClientOptionsConverter.decode(JsonObject value) |
WebSocketConnectOptions |
WebSocketConnectOptionsConverter.decode(JsonObject value) |
RequestOptions |
RequestOptionsConverter.decode(JsonObject value) |
HttpServerOptions |
HttpServerOptionsConverter.decode(JsonObject value) |
GoAway |
GoAwayConverter.decode(JsonObject value) |
Http2Settings |
Http2SettingsConverter.decode(JsonObject value) |
static void |
RequestOptionsConverter.toJson(RequestOptions obj,
JsonObject json) |
static void |
WebSocketConnectOptionsConverter.toJson(WebSocketConnectOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
GoAway(JsonObject json) |
Http2Settings(JsonObject json)
Create an settings from JSON
|
HttpClientOptions(JsonObject json)
Constructor to create an options from JSON
|
HttpServerOptions(JsonObject json)
Create an options from JSON
|
RequestOptions(JsonObject json)
Create options from JSON
|
StreamPriority(JsonObject json) |
WebSocketConnectOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
JsonObject.clear()
Remove all the entries in this JSON object
|
JsonObject |
JsonObject.copy()
Copy the JSON object
|
JsonObject |
JsonArray.getJsonObject(int pos)
Get the JsonObject at position
pos in the array. |
JsonObject |
JsonObject.getJsonObject(String key)
Get the JsonObject value with the specified key
|
JsonObject |
JsonObject.getJsonObject(String key,
JsonObject def)
Like
getJsonObject(String) but specifying a default value to return if there is no entry. |
static JsonObject |
JsonObject.mapFrom(Object obj)
Create a JsonObject from the fields of a Java object.
|
JsonObject |
JsonObject.mergeIn(JsonObject other)
Merge in another JSON object.
|
JsonObject |
JsonObject.mergeIn(JsonObject other,
boolean deep)
Merge in another JSON object.
|
JsonObject |
JsonObject.mergeIn(JsonObject other,
int depth)
Merge in another JSON object.
|
JsonObject |
JsonObject.put(String key,
Boolean value)
Put a Boolean into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
byte[] value)
Put a byte[] into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
CharSequence value)
Put an CharSequence into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Double value)
Put a Double into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Enum value)
Put an Enum into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Float value)
Put a Float into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
java.time.Instant value)
Put a Instant into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Integer value)
Put an Integer into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
JsonArray value)
Put a JSON array into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
JsonObject value)
Put another JSON object into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Long value)
Put a Long into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Object value)
Put an Object into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
String value)
Put a String into the JSON object with the specified key.
|
JsonObject |
JsonObject.putNull(String key)
Put a null value into the JSON object with the specified key.
|
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
JsonArray.add(JsonObject value)
Add a JSON object to the JSON array.
|
JsonObject |
JsonObject.getJsonObject(String key,
JsonObject def)
Like
getJsonObject(String) but specifying a default value to return if there is no entry. |
JsonObject |
JsonObject.mergeIn(JsonObject other)
Merge in another JSON object.
|
JsonObject |
JsonObject.mergeIn(JsonObject other,
boolean deep)
Merge in another JSON object.
|
JsonObject |
JsonObject.mergeIn(JsonObject other,
int depth)
Merge in another JSON object.
|
JsonObject |
JsonObject.put(String key,
JsonObject value)
Put another JSON object into the JSON object with the specified key.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MetricsOptionsConverter.encode(MetricsOptions value) |
JsonObject |
MetricsOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
MetricsOptions |
MetricsOptionsConverter.decode(JsonObject value) |
| Constructor and Description |
|---|
MetricsOptions(JsonObject json)
Create an instance from a
JsonObject |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ClientOptionsBaseConverter.encode(ClientOptionsBase value) |
JsonObject |
JksOptionsConverter.encode(JksOptions value) |
JsonObject |
NetClientOptionsConverter.encode(NetClientOptions value) |
JsonObject |
NetServerOptionsConverter.encode(NetServerOptions value) |
JsonObject |
NetworkOptionsConverter.encode(NetworkOptions value) |
JsonObject |
OpenSSLEngineOptionsConverter.encode(OpenSSLEngineOptions value) |
JsonObject |
PemKeyCertOptionsConverter.encode(PemKeyCertOptions value) |
JsonObject |
PemTrustOptionsConverter.encode(PemTrustOptions value) |
JsonObject |
PfxOptionsConverter.encode(PfxOptions value) |
JsonObject |
ProxyOptionsConverter.encode(ProxyOptions value) |
JsonObject |
TCPSSLOptionsConverter.encode(TCPSSLOptions value) |
JsonObject |
TCPSSLOptions.toJson()
Convert to JSON
|
JsonObject |
NetServerOptions.toJson()
Convert to JSON
|
JsonObject |
ClientOptionsBase.toJson()
Convert to JSON
|
JsonObject |
JdkSSLEngineOptions.toJson() |
JsonObject |
PfxOptions.toJson()
Convert to JSON
|
JsonObject |
PemKeyCertOptions.toJson()
Convert to JSON
|
JsonObject |
NetworkOptions.toJson()
Convert to JSON
|
JsonObject |
JksOptions.toJson()
Convert to JSON
|
JsonObject |
TrustOptions.toJson() |
JsonObject |
ProxyOptions.toJson()
Convert to JSON
|
JsonObject |
OpenSSLEngineOptions.toJson() |
JsonObject |
PemTrustOptions.toJson()
Convert to JSON
|
| Modifier and Type | Method and Description |
|---|---|
NetClientOptions |
NetClientOptionsConverter.decode(JsonObject value) |
PemKeyCertOptions |
PemKeyCertOptionsConverter.decode(JsonObject value) |
OpenSSLEngineOptions |
OpenSSLEngineOptionsConverter.decode(JsonObject value) |
PemTrustOptions |
PemTrustOptionsConverter.decode(JsonObject value) |
PfxOptions |
PfxOptionsConverter.decode(JsonObject value) |
NetServerOptions |
NetServerOptionsConverter.decode(JsonObject value) |
ProxyOptions |
ProxyOptionsConverter.decode(JsonObject value) |
JksOptions |
JksOptionsConverter.decode(JsonObject value) |
static void |
JksOptionsConverter.toJson(JksOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
ClientOptionsBase(JsonObject json)
Create options from some JSON
|
JdkSSLEngineOptions(JsonObject json) |
JksOptions(JsonObject json)
Create options from JSON
|
NetClientOptions(JsonObject json)
Create options from JSON
|
NetServerOptions(JsonObject json)
Create some options from JSON
|
NetworkOptions(JsonObject json)
Constructor from JSON
|
OpenSSLEngineOptions(JsonObject json) |
PemKeyCertOptions(JsonObject json)
Create options from JSON
|
PemTrustOptions(JsonObject json)
Create options from JSON
|
PfxOptions(JsonObject json)
Create options from JSON
|
ProxyOptions(JsonObject json)
Create options from JSON.
|
TCPSSLOptions(JsonObject json)
Create options from JSON
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
JsonEvent.objectValue() |
| Modifier and Type | Method and Description |
|---|---|
default TracingOptions |
VertxTracerFactory.newOptions(JsonObject jsonObject)
Create tracing options from the provided
jsonObject. |
default MetricsOptions |
VertxMetricsFactory.newOptions(JsonObject jsonObject)
Create metrics options from the provided
jsonObject. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
TracingOptionsConverter.encode(TracingOptions value) |
JsonObject |
TracingOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
TracingOptions |
TracingOptionsConverter.decode(JsonObject value) |
| Constructor and Description |
|---|
TracingOptions(JsonObject json)
Create an instance from a
JsonObject |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
User.principal()
Get the underlying principal for the User.
|
| Modifier and Type | Method and Description |
|---|---|
default Future<User> |
AuthProvider.authenticate(JsonObject authInfo)
Authenticate a user.
|
void |
AuthProvider.authenticate(JsonObject authInfo,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
SecretOptions |
SecretOptionsConverter.decode(JsonObject value) |
PubSecKeyOptions |
PubSecKeyOptionsConverter.decode(JsonObject value) |
KeyStoreOptions |
KeyStoreOptionsConverter.decode(JsonObject value) |
static void |
KeyStoreOptionsConverter.toJson(KeyStoreOptions obj,
JsonObject json) |
static void |
PubSecKeyOptionsConverter.toJson(PubSecKeyOptions obj,
JsonObject json) |
static void |
SecretOptionsConverter.toJson(SecretOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
KeyStoreOptions(JsonObject json)
Deprecated.
Constructor to create an options from JSON
|
PubSecKeyOptions(JsonObject json)
Constructor to create an options from JSON
|
SecretOptions(JsonObject json)
Deprecated.
Constructor to create an options from JSON
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
HtpasswdAuthOptionsConverter.encode(HtpasswdAuthOptions value) |
JsonObject |
HtpasswdAuthOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
HtpasswdAuthOptions |
HtpasswdAuthOptionsConverter.decode(JsonObject value) |
static void |
HtpasswdAuthOptionsConverter.toJson(HtpasswdAuthOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
HtpasswdAuthOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
JDBCAuthOptions.getConfig() |
| Modifier and Type | Method and Description |
|---|---|
JDBCAuthOptions |
JDBCAuthOptionsConverter.decode(JsonObject value) |
JDBCAuthOptions |
JDBCAuthOptions.setConfig(JsonObject config)
The configuration of the JDBC client: refer to the Vert.x JDBC Client configuration.
|
static void |
JDBCAuthOptionsConverter.toJson(JDBCAuthOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
JDBCAuthOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
List<JsonObject> |
JWTAuthOptions.getJwks() |
| Modifier and Type | Method and Description |
|---|---|
JWTAuthOptions |
JWTAuthOptions.addJwk(JsonObject jwk) |
static JWTAuth |
JWTAuth.create(Vertx vertx,
JsonObject config)
Deprecated.
|
JWTKeyStoreOptions |
JWTKeyStoreOptionsConverter.decode(JsonObject value) |
JWTAuthOptions |
JWTAuthOptionsConverter.decode(JsonObject value) |
default String |
JWTAuth.generateToken(JsonObject claims)
Generate a new JWT token.
|
String |
JWTAuth.generateToken(JsonObject claims,
io.vertx.ext.jwt.JWTOptions options)
Generate a new JWT token.
|
static void |
JWTAuthOptionsConverter.toJson(JWTAuthOptions obj,
JsonObject json) |
static void |
JWTKeyStoreOptionsConverter.toJson(JWTKeyStoreOptions obj,
JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JWTAuthOptions |
JWTAuthOptions.setJwks(List<JsonObject> jwks) |
| Constructor and Description |
|---|
JWTAuthOptions(JsonObject json)
Constructor to create an options from JSON
|
JWTKeyStoreOptions(JsonObject json)
Deprecated.
Constructor to create an options from JSON
|
JWTOptions(JsonObject json)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MongoAuthOptions.getConfig() |
| Modifier and Type | Method and Description |
|---|---|
static MongoAuth |
MongoAuth.create(MongoClient mongoClient,
JsonObject config)
Creates an instance of MongoAuth by using the given
MongoClient and configuration object. |
MongoAuthOptions |
MongoAuthOptionsConverter.decode(JsonObject value) |
MongoAuthOptions |
MongoAuthOptions.setConfig(JsonObject config)
The mongo client configuration: see Mongo Client documentation.
|
static void |
MongoAuthOptionsConverter.toJson(MongoAuthOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
MongoAuthOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
AccessToken.accessToken()
The Access Token if present parsed as a JsonObject
|
static JsonObject |
KeycloakHelper.accessToken(JsonObject principal)
Get decoded `access_token` from the principal.
|
JsonObject |
OAuth2ClientOptionsConverter.encode(OAuth2ClientOptions value) |
JsonObject |
OAuth2ClientOptions.getExtraParameters()
Extra parameters to send to the provider
|
JsonObject |
OAuth2ClientOptions.getHeaders()
Custom headers to send along with every request.
|
JsonObject |
OAuth2ClientOptions.getUserInfoParameters()
Set the provider custom userInfo parameters to send when requesting them.
|
JsonObject |
AccessToken.idToken()
The Id Token if present parsed as a JsonObject
|
static JsonObject |
KeycloakHelper.idToken(JsonObject principal)
Get decoded `id_token` from the principal.
|
JsonObject |
OAuth2Response.jsonObject()
The HTTP response body as a JsonObject
|
static JsonObject |
KeycloakHelper.parseToken(String token)
Parse the token string with base64 decoder.
|
| Modifier and Type | Method and Description |
|---|---|
default Future<JsonObject> |
AccessToken.userInfo()
Load the user info as per OIDC spec.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonObject |
KeycloakHelper.accessToken(JsonObject principal)
Get decoded `access_token` from the principal.
|
static String |
KeycloakHelper.acr(JsonObject principal) |
static Set<String> |
KeycloakHelper.allowedOrigins(JsonObject principal) |
String |
OAuth2Auth.authorizeURL(JsonObject params)
Generate a redirect URL to the authN/Z backend.
|
static int |
KeycloakHelper.authTime(JsonObject principal) |
OAuth2ClientOptions |
OAuth2ClientOptionsConverter.decode(JsonObject value) |
static String |
KeycloakHelper.email(JsonObject principal) |
default Future<OAuth2Response> |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload)
Fetches a JSON resource using this Access Token.
|
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload,
Handler<AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
static JsonObject |
KeycloakHelper.idToken(JsonObject principal)
Get decoded `id_token` from the principal.
|
static String |
KeycloakHelper.name(JsonObject principal) |
static String |
KeycloakHelper.nickName(JsonObject principal) |
static String |
KeycloakHelper.preferredUsername(JsonObject principal) |
static String |
KeycloakHelper.rawAccessToken(JsonObject principal)
Get raw `access_token` string from the principal.
|
static String |
KeycloakHelper.rawIdToken(JsonObject principal)
Get raw `id_token` string from the principal.
|
static String |
KeycloakHelper.sessionState(JsonObject principal) |
OAuth2ClientOptions |
OAuth2ClientOptions.setExtraParameters(JsonObject extraParams)
Set extra parameters to be sent to the provider on each request
|
OAuth2ClientOptions |
OAuth2ClientOptions.setHeaders(JsonObject headers)
Set custom headers to be sent with every request to the provider
|
OAuth2ClientOptions |
OAuth2ClientOptions.setUserInfoParameters(JsonObject userInfoParams)
Set custom parameters to be sent during the userInfo resource request
|
static void |
OAuth2ClientOptionsConverter.toJson(OAuth2ClientOptions obj,
JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
AccessToken.userInfo(Handler<AsyncResult<JsonObject>> callback)
Load the user info as per OIDC spec.
|
| Constructor and Description |
|---|
OAuth2ClientOptions(JsonObject json)
Constructor to create an options from JSON
|
| Modifier and Type | Method and Description |
|---|---|
static OAuth2Auth |
GoogleAuth.create(Vertx vertx,
JsonObject serviceAccountJson)
Create a OAuth2Auth provider for Google Service Account (Server to Server)
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
JsonObject config)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
GoogleAuth.create(Vertx vertx,
JsonObject serviceAccountJson,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Google Service Account (Server to Server)
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
JsonObject config,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
OAuth2FlowType flow,
JsonObject config)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
OAuth2FlowType flow,
JsonObject config,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Keycloak
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ShiroAuthOptions.getConfig() |
| Modifier and Type | Method and Description |
|---|---|
static ShiroAuth |
ShiroAuth.create(Vertx vertx,
ShiroAuthRealmType realmType,
JsonObject config)
Deprecated.
|
ShiroAuthOptions |
ShiroAuthOptionsConverter.decode(JsonObject value) |
ShiroAuthOptions |
ShiroAuthOptions.setConfig(JsonObject config)
Set the Shiro auth config.
|
static void |
ShiroAuthOptionsConverter.toJson(ShiroAuthOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
ShiroAuthOptions(JsonObject json) |
| Modifier and Type | Field and Description |
|---|---|
static JsonObject |
PermittedOptions.DEFAULT_MATCH
The default permitted match :
null. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
BridgeOptionsConverter.encode(BridgeOptions value) |
JsonObject |
PermittedOptionsConverter.encode(PermittedOptions value) |
JsonObject |
PermittedOptions.getMatch() |
JsonObject |
BaseBridgeEvent.getRawMessage()
Get the raw JSON message for the event.
|
JsonObject |
BridgeOptions.toJson()
Serializes the current
BridgeOptions to JSON. |
JsonObject |
PermittedOptions.toJson()
Serializes the current instance of
PermittedOptions to JSON. |
| Modifier and Type | Method and Description |
|---|---|
PermittedOptions |
PermittedOptionsConverter.decode(JsonObject value) |
BridgeOptions |
BridgeOptionsConverter.decode(JsonObject value) |
PermittedOptions |
PermittedOptions.setMatch(JsonObject match)
This allows you to allow messages based on their structure.
|
BaseBridgeEvent |
BaseBridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
static void |
BridgeOptionsConverter.toJson(BridgeOptions obj,
JsonObject json) |
static void |
PermittedOptionsConverter.toJson(PermittedOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
BridgeOptions(JsonObject json)
Creates a new instance of
BridgeOptions from its JSON representation. |
PermittedOptions(JsonObject json)
Creates a new instance of
PermittedOptions from its JSON representation. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
BlockingQueryOptionsConverter.encode(BlockingQueryOptions value) |
JsonObject |
CheckConverter.encode(Check value) |
JsonObject |
CheckListConverter.encode(CheckList value) |
JsonObject |
CheckOptionsConverter.encode(CheckOptions value) |
JsonObject |
CheckQueryOptionsConverter.encode(CheckQueryOptions value) |
JsonObject |
ConsulClientOptionsConverter.encode(ConsulClientOptions value) |
JsonObject |
CoordinateConverter.encode(Coordinate value) |
JsonObject |
CoordinateListConverter.encode(CoordinateList value) |
JsonObject |
DcCoordinatesConverter.encode(DcCoordinates value) |
JsonObject |
EventConverter.encode(Event value) |
JsonObject |
EventListConverter.encode(EventList value) |
JsonObject |
EventListOptionsConverter.encode(EventListOptions value) |
JsonObject |
EventOptionsConverter.encode(EventOptions value) |
JsonObject |
KeyValueConverter.encode(KeyValue value) |
JsonObject |
KeyValueListConverter.encode(KeyValueList value) |
JsonObject |
NodeConverter.encode(Node value) |
JsonObject |
NodeListConverter.encode(NodeList value) |
JsonObject |
NodeQueryOptionsConverter.encode(NodeQueryOptions value) |
JsonObject |
PreparedQueryExecuteOptionsConverter.encode(PreparedQueryExecuteOptions value) |
JsonObject |
PreparedQueryExecuteResponseConverter.encode(PreparedQueryExecuteResponse value) |
JsonObject |
ServiceEntryConverter.encode(ServiceEntry value) |
JsonObject |
ServiceEntryListConverter.encode(ServiceEntryList value) |
JsonObject |
ServiceListConverter.encode(ServiceList value) |
JsonObject |
ServiceOptionsConverter.encode(ServiceOptions value) |
JsonObject |
ServiceQueryOptionsConverter.encode(ServiceQueryOptions value) |
JsonObject |
SessionConverter.encode(Session value) |
JsonObject |
SessionListConverter.encode(SessionList value) |
JsonObject |
TxnErrorConverter.encode(TxnError value) |
JsonObject |
TxnKVOperationConverter.encode(TxnKVOperation value) |
JsonObject |
KeyValueList.toJson()
Convert to JSON
|
JsonObject |
CheckOptions.toJson()
Convert to JSON
|
JsonObject |
ServiceQueryOptions.toJson()
Convert to JSON
|
JsonObject |
CheckList.toJson()
Convert to JSON
|
JsonObject |
Node.toJson()
Convert to JSON
|
JsonObject |
PreparedQueryExecuteResponse.toJson()
Convert to JSON
|
JsonObject |
TxnResponse.toJson()
Convert to JSON
|
JsonObject |
PreparedQueryDefinition.toJson()
Convert to JSON
|
JsonObject |
PreparedQueryExecuteOptions.toJson()
Convert to JSON
|
JsonObject |
SessionOptions.toJson()
Convert to JSON
|
JsonObject |
AclToken.toJson()
Convert to JSON
|
JsonObject |
KeyValueOptions.toJson()
Convert to JSON
|
JsonObject |
EventListOptions.toJson()
Convert to JSON
|
JsonObject |
TxnRequest.toJson()
Convert to JSON
|
JsonObject |
CheckQueryOptions.toJson()
Convert to JSON
|
JsonObject |
NodeQueryOptions.toJson()
Convert to JSON
|
JsonObject |
Check.toJson()
Convert to JSON
|
JsonObject |
NodeList.toJson()
Convert to JSON
|
JsonObject |
Event.toJson()
Convert to JSON
|
JsonObject |
DcCoordinates.toJson()
Convert to JSON
|
JsonObject |
EventOptions.toJson()
Convert to JSON
|
JsonObject |
Service.toJson()
Convert to JSON
|
JsonObject |
ServiceList.toJson()
Convert to JSON
|
JsonObject |
EventList.toJson()
Convert to JSON
|
JsonObject |
TxnKVOperation.toJson()
Convert to JSON
|
JsonObject |
ServiceEntry.toJson()
Convert to JSON
|
JsonObject |
Coordinate.toJson()
Convert to JSON
|
JsonObject |
TxnError.toJson()
Convert to JSON
|
JsonObject |
ServiceOptions.toJson()
Convert to JSON
|
JsonObject |
ConsulClientOptions.toJson()
Convert to JSON
|
JsonObject |
Session.toJson()
Convert to JSON
|
JsonObject |
CoordinateList.toJson()
Convert to JSON
|
JsonObject |
BlockingQueryOptions.toJson()
Convert to JSON
|
JsonObject |
ServiceEntryList.toJson()
Convert to JSON
|
JsonObject |
KeyValue.toJson()
Convert to JSON
|
JsonObject |
MaintenanceOptions.toJson()
Convert to JSON
|
JsonObject |
SessionList.toJson()
Convert to JSON
|
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeConverter.decode(JsonObject value) |
ServiceEntry |
ServiceEntryConverter.decode(JsonObject value) |
ServiceOptions |
ServiceOptionsConverter.decode(JsonObject value) |
NodeList |
NodeListConverter.decode(JsonObject value) |
Session |
SessionConverter.decode(JsonObject value) |
EventList |
EventListConverter.decode(JsonObject value) |
TxnKVOperation |
TxnKVOperationConverter.decode(JsonObject value) |
CheckList |
CheckListConverter.decode(JsonObject value) |
ConsulClientOptions |
ConsulClientOptionsConverter.decode(JsonObject value) |
KeyValue |
KeyValueConverter.decode(JsonObject value) |
PreparedQueryExecuteResponse |
PreparedQueryExecuteResponseConverter.decode(JsonObject value) |
Coordinate |
CoordinateConverter.decode(JsonObject value) |
NodeQueryOptions |
NodeQueryOptionsConverter.decode(JsonObject value) |
CheckQueryOptions |
CheckQueryOptionsConverter.decode(JsonObject value) |
ServiceList |
ServiceListConverter.decode(JsonObject value) |
BlockingQueryOptions |
BlockingQueryOptionsConverter.decode(JsonObject value) |
ServiceQueryOptions |
ServiceQueryOptionsConverter.decode(JsonObject value) |
Check |
CheckConverter.decode(JsonObject value) |
ServiceEntryList |
ServiceEntryListConverter.decode(JsonObject value) |
DcCoordinates |
DcCoordinatesConverter.decode(JsonObject value) |
PreparedQueryExecuteOptions |
PreparedQueryExecuteOptionsConverter.decode(JsonObject value) |
CheckOptions |
CheckOptionsConverter.decode(JsonObject value) |
Event |
EventConverter.decode(JsonObject value) |
SessionList |
SessionListConverter.decode(JsonObject value) |
KeyValueList |
KeyValueListConverter.decode(JsonObject value) |
EventOptions |
EventOptionsConverter.decode(JsonObject value) |
TxnError |
TxnErrorConverter.decode(JsonObject value) |
EventListOptions |
EventListOptionsConverter.decode(JsonObject value) |
CoordinateList |
CoordinateListConverter.decode(JsonObject value) |
static void |
BlockingQueryOptionsConverter.toJson(BlockingQueryOptions obj,
JsonObject json) |
static void |
CheckConverter.toJson(Check obj,
JsonObject json) |
static void |
CheckListConverter.toJson(CheckList obj,
JsonObject json) |
static void |
CheckOptionsConverter.toJson(CheckOptions obj,
JsonObject json) |
static void |
CheckQueryOptionsConverter.toJson(CheckQueryOptions obj,
JsonObject json) |
static void |
ConsulClientOptionsConverter.toJson(ConsulClientOptions obj,
JsonObject json) |
static void |
CoordinateConverter.toJson(Coordinate obj,
JsonObject json) |
static void |
CoordinateListConverter.toJson(CoordinateList obj,
JsonObject json) |
static void |
DcCoordinatesConverter.toJson(DcCoordinates obj,
JsonObject json) |
static void |
EventConverter.toJson(Event obj,
JsonObject json) |
static void |
EventListConverter.toJson(EventList obj,
JsonObject json) |
static void |
EventListOptionsConverter.toJson(EventListOptions obj,
JsonObject json) |
static void |
EventOptionsConverter.toJson(EventOptions obj,
JsonObject json) |
static void |
KeyValueConverter.toJson(KeyValue obj,
JsonObject json) |
static void |
KeyValueListConverter.toJson(KeyValueList obj,
JsonObject json) |
static void |
NodeConverter.toJson(Node obj,
JsonObject json) |
static void |
NodeListConverter.toJson(NodeList obj,
JsonObject json) |
static void |
NodeQueryOptionsConverter.toJson(NodeQueryOptions obj,
JsonObject json) |
static void |
PreparedQueryExecuteOptionsConverter.toJson(PreparedQueryExecuteOptions obj,
JsonObject json) |
static void |
PreparedQueryExecuteResponseConverter.toJson(PreparedQueryExecuteResponse obj,
JsonObject json) |
static void |
ServiceEntryConverter.toJson(ServiceEntry obj,
JsonObject json) |
static void |
ServiceEntryListConverter.toJson(ServiceEntryList obj,
JsonObject json) |
static void |
ServiceListConverter.toJson(ServiceList obj,
JsonObject json) |
static void |
ServiceOptionsConverter.toJson(ServiceOptions obj,
JsonObject json) |
static void |
ServiceQueryOptionsConverter.toJson(ServiceQueryOptions obj,
JsonObject json) |
static void |
SessionConverter.toJson(Session obj,
JsonObject json) |
static void |
SessionListConverter.toJson(SessionList obj,
JsonObject json) |
static void |
TxnErrorConverter.toJson(TxnError obj,
JsonObject json) |
static void |
TxnKVOperationConverter.toJson(TxnKVOperation obj,
JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
ConsulClient |
ConsulClient.agentInfo(Handler<AsyncResult<JsonObject>> resultHandler)
Returns the configuration and member information of the local agent
|
| Constructor and Description |
|---|
AclToken(JsonObject token)
Constructor from JSON
|
BlockingQueryOptions(JsonObject options)
Constructor from JSON
|
Check(JsonObject check)
Constructor from JSON
|
CheckList(JsonObject json)
Constructor from JSON
|
CheckOptions(JsonObject options)
Constructor from JSON
|
CheckQueryOptions(JsonObject json)
Constructor from JSON
|
ConsulClientOptions(JsonObject json)
Constructor from JSON
|
Coordinate(JsonObject coordinate)
Constructor from JSON
|
CoordinateList(JsonObject json)
Constructor from JSON
|
DcCoordinates(JsonObject coords)
Constructor from JSON
|
Event(JsonObject json)
Constructor from JSON
|
EventList(JsonObject json)
Constructor from JSON
|
EventListOptions(JsonObject json)
Constructor from JSON
|
EventOptions(JsonObject options)
Constructor from JSON
|
KeyValue(JsonObject json)
Constructor from JSON
|
KeyValueList(JsonObject json)
Constructor from JSON
|
KeyValueOptions(JsonObject options)
Constructor from JSON
|
MaintenanceOptions(JsonObject options)
Constructor from JSON
|
Node(JsonObject json)
Constructor from JSON
|
NodeList(JsonObject json)
Constructor from JSON
|
NodeQueryOptions(JsonObject json)
Constructor from JSON
|
PreparedQueryDefinition(JsonObject json)
Constructor from JSON
|
PreparedQueryExecuteOptions(JsonObject json)
Constructor from JSON
|
PreparedQueryExecuteResponse(JsonObject json)
Constructor from JSON
|
Service(JsonObject service)
Constructor from JSON
|
ServiceEntry(JsonObject json)
Constructor from JSON
|
ServiceEntryList(JsonObject json)
Constructor from JSON
|
ServiceList(JsonObject json)
Constructor from JSON
|
ServiceOptions(JsonObject options)
Constructor from JSON
|
ServiceQueryOptions(JsonObject json)
Constructor from JSON
|
Session(JsonObject session)
Constructor from JSON
|
SessionList(JsonObject json)
Constructor from JSON
|
SessionOptions(JsonObject options)
Constructor from JSON
|
TxnError(JsonObject json)
Constructor from JSON
|
TxnKVOperation(JsonObject json)
Constructor from JSON
|
TxnRequest(JsonObject json)
Constructor from JSON
|
TxnResponse(JsonObject json)
Constructor from JSON
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
DropwizardMetricsOptionsConverter.encode(DropwizardMetricsOptions value) |
JsonObject |
MetricsService.getMetricsSnapshot(Measured measured)
Will return the metrics that correspond with the
measured object, null if no metrics is available.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server. |
JsonObject |
MetricsService.getMetricsSnapshot(String baseName)
Will return the metrics that begins with the
baseName, null if no metrics is available.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server. |
JsonObject |
DropwizardMetricsOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
DropwizardMetricsOptions |
DropwizardMetricsOptionsConverter.decode(JsonObject value) |
static void |
DropwizardMetricsOptionsConverter.toJson(DropwizardMetricsOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
DropwizardMetricsOptions(JsonObject json)
Create an instance from a
JsonObject |
Match(JsonObject json)
Create an instance from a
JsonObject |
| Modifier and Type | Method and Description |
|---|---|
BridgeEvent |
BridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
StatusConverter.encode(Status value) |
JsonObject |
Status.getData() |
JsonObject |
Status.toJson()
Builds the JSON representation of the current
Status instance. |
| Modifier and Type | Method and Description |
|---|---|
Status |
StatusConverter.decode(JsonObject value) |
static Status |
Status.KO(JsonObject data)
Creates a status when something bad is detected.
|
static Status |
Status.OK(JsonObject data)
Creates a status when everything is fine and adds metadata.
|
Status |
Status.setData(JsonObject data)
Sets the metadata.
|
static void |
StatusConverter.toJson(Status obj,
JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
HealthChecks |
HealthChecks.invoke(Handler<JsonObject> resultHandler)
Invokes the registered procedures and computes the outcome.
|
HealthChecks |
HealthChecks.invoke(String name,
Handler<AsyncResult<JsonObject>> resultHandler)
Invokes the registered procedure with the given name and sub-procedures.
|
| Constructor and Description |
|---|
Status(JsonObject json)
Creates a new instance of
Status from the given JSON structure. |
| Modifier and Type | Method and Description |
|---|---|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config)
Like
JDBCClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default data source name |
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a JDBC client which shares its data source with any other JDBC clients created with the same
data source name
|
| Modifier and Type | Method and Description |
|---|---|
DataSource |
DataSourceProvider.getDataSource(JsonObject config) |
int |
DataSourceProvider.maximumPoolSize(DataSource dataSource,
JsonObject config) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MailConfig.toJson()
convert config object to Json representation
|
JsonObject |
MailAttachment.toJson()
convert this object to JSON representation
|
JsonObject |
MailResult.toJson() |
JsonObject |
MailMessage.toJson()
convert the mail message to Json representation
|
| Modifier and Type | Method and Description |
|---|---|
static MailAttachment |
MailAttachment.create(JsonObject json)
create a MailAttachment object from a JsonObject representation
|
| Constructor and Description |
|---|
MailConfig(JsonObject config)
construct config object from Json representation
|
MailMessage(JsonObject json)
construct object from a JsonObject representation
|
MailResult(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
AggregateOptionsConverter.encode(AggregateOptions value) |
JsonObject |
FindOptionsConverter.encode(FindOptions value) |
JsonObject |
BulkOperation.getDocument()
Returns the document, used by insert, replace, and update operations
|
JsonObject |
MongoClientUpdateResult.getDocUpsertedId()
Get the document id that's upserted
|
JsonObject |
FindOptions.getFields()
Get the fields
|
JsonObject |
BulkOperation.getFilter()
Returns the filter document, used by replace, update, and delete operations
|
JsonObject |
IndexModel.getKey()
Get the index key
|
JsonObject |
IndexOptions.getPartialFilterExpression()
Get the filter expression for the documents to be included in the index or null if not set
|
JsonObject |
FindOptions.getSort()
Get the sort document
|
JsonObject |
IndexOptions.getStorageEngine()
Gets the storage engine options document for this index.
|
JsonObject |
IndexOptions.getWeights()
Gets the weighting object for use with a text index
|
JsonObject |
BulkWriteOptions.toJson() |
JsonObject |
AggregateOptions.toJson()
Convert to JSON
|
JsonObject |
IndexOptions.toJson()
Convert to JSON
|
JsonObject |
MongoClientDeleteResult.toJson()
Convert to JSON
|
JsonObject |
BulkOperation.toJson()
Generate a json from this object
|
JsonObject |
FindOptions.toJson()
Convert to JSON
|
JsonObject |
MongoClientUpdateResult.toJson()
Convert to JSON
|
JsonObject |
UpdateOptions.toJson() |
JsonObject |
MongoClientBulkWriteResult.toJson()
Convert to JSON
|
| Modifier and Type | Method and Description |
|---|---|
ReadStream<JsonObject> |
MongoClient.aggregate(String collection,
JsonArray pipeline)
Run aggregate MongoDB command with default
AggregateOptions. |
ReadStream<JsonObject> |
MongoClient.aggregateWithOptions(String collection,
JsonArray pipeline,
AggregateOptions options)
Run aggregate MongoDB command.
|
ReadStream<JsonObject> |
MongoClient.distinctBatch(String collection,
String fieldName,
String resultClassname)
Gets the distinct values of the specified field name.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
int batchSize)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.findBatch(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
ReadStream<JsonObject> |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
List<JsonObject> |
MongoClientBulkWriteResult.getUpserts()
An unmodifiable list of upsert data.
|
| Modifier and Type | Method and Description |
|---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
static BulkOperation |
BulkOperation.createDelete(JsonObject filter)
Create a new delete operation with the given filter
|
MongoClient |
MongoClient.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
static BulkOperation |
BulkOperation.createInsert(JsonObject document)
Create a new insert operation with the given document
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
static BulkOperation |
BulkOperation.createReplace(JsonObject filter,
JsonObject document)
Create a new replace operation with the given filter and replace document
|
static BulkOperation |
BulkOperation.createReplace(JsonObject filter,
JsonObject document,
boolean upsert)
Create a new replace operation with the given filter, replace document, and the upsert flag
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config)
Like
MongoClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default data source name |
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a Mongo client which shares its data source with any other Mongo clients created with the same
data source name
|
static BulkOperation |
BulkOperation.createUpdate(JsonObject filter,
JsonObject document)
Create a new update operation with the given filter and update document
|
static BulkOperation |
BulkOperation.createUpdate(JsonObject filter,
JsonObject document,
boolean upsert,
boolean multi)
Create a new update operation with the given filter, update document, the upsert flag, and multi flag
|
AggregateOptions |
AggregateOptionsConverter.decode(JsonObject value) |
FindOptions |
FindOptionsConverter.decode(JsonObject value) |
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
int batchSize)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
Handler<AsyncResult<JsonArray>> resultHandler)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
ReadStream<JsonObject> |
MongoClient.findBatch(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
ReadStream<JsonObject> |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection with the specified write option
|
IndexOptions |
IndexOptions.partialFilterExpression(JsonObject partialFilterExpression)
Sets the filter expression for the documents to be included in the index
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeDocument(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.replaceDocuments(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection with the specified write option
|
BulkOperation |
BulkOperation.setDocument(JsonObject document)
Sets the document, used by insert, replace, and update operations
|
FindOptions |
FindOptions.setFields(JsonObject fields)
Set the fields
|
BulkOperation |
BulkOperation.setFilter(JsonObject filter)
Sets the filter document, used by replace, update, and delete operations
|
FindOptions |
FindOptions.setSort(JsonObject sort)
Set the sort document
|
IndexOptions |
IndexOptions.storageEngine(JsonObject storageEngine)
Sets the storage engine options document for this index.
|
static void |
AggregateOptionsConverter.toJson(AggregateOptions obj,
JsonObject json) |
static void |
FindOptionsConverter.toJson(FindOptions obj,
JsonObject json) |
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.updateCollection(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
IndexOptions |
IndexOptions.weights(JsonObject weights)
Sets the weighting object for use with a text index.
|
| Modifier and Type | Method and Description |
|---|---|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
| Constructor and Description |
|---|
AggregateOptions(JsonObject options)
Constructor from JSON
|
BulkOperation(JsonObject json)
Json constructor
|
BulkWriteOptions(JsonObject json)
Constructor from JSON
|
FindOptions(JsonObject options)
Constructor from JSON
|
IndexModel(JsonObject key)
Construct an isntance with the given key
|
IndexModel(JsonObject key,
IndexOptions options) |
IndexOptions(JsonObject options)
Constructor from JSON
|
MongoClientBulkWriteResult(JsonObject mongoClientBulkWriteResultJson)
Constructor from JSON
|
MongoClientDeleteResult(JsonObject mongoClientDeleteResultJson)
Constructor form JSON
|
MongoClientUpdateResult(JsonObject mongoClientUpdateResultJson)
Constructor from JSON
|
MongoClientUpdateResult(long docMatched,
JsonObject docUpsertedId,
long docModified)
Constructor to specify the status of the operation.
|
UpdateOptions(JsonObject json)
Constructor from JSON
|
| Constructor and Description |
|---|
MongoClientBulkWriteResult(long insertedCount,
long matchedCount,
long deletedCount,
long modifiedCount,
List<JsonObject> upserts)
Constructor to specify the result of the bulk write operation.
|
| Modifier and Type | Method and Description |
|---|---|
ShellServerOptions |
ShellServerOptionsConverter.decode(JsonObject value) |
ShellServiceOptions |
ShellServiceOptionsConverter.decode(JsonObject value) |
static void |
ShellServerOptionsConverter.toJson(ShellServerOptions obj,
JsonObject json) |
static void |
ShellServiceOptionsConverter.toJson(ShellServiceOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
ShellServerOptions(JsonObject json) |
ShellServiceOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
HttpTermOptionsConverter.encode(HttpTermOptions value) |
JsonObject |
TelnetTermOptionsConverter.encode(TelnetTermOptions value) |
| Modifier and Type | Method and Description |
|---|---|
TelnetTermOptions |
TelnetTermOptionsConverter.decode(JsonObject value) |
SSHTermOptions |
SSHTermOptionsConverter.decode(JsonObject value) |
HttpTermOptions |
HttpTermOptionsConverter.decode(JsonObject value) |
static void |
HttpTermOptionsConverter.toJson(HttpTermOptions obj,
JsonObject json) |
static void |
SSHTermOptionsConverter.toJson(SSHTermOptions obj,
JsonObject json) |
static void |
TelnetTermOptionsConverter.toJson(TelnetTermOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
HttpTermOptions(JsonObject json) |
SSHTermOptions(JsonObject json) |
TelnetTermOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ResultSetConverter.encode(ResultSet value) |
JsonObject |
UpdateResultConverter.encode(UpdateResult value) |
JsonObject |
ResultSet.toJson()
Convert to JSON
|
JsonObject |
UpdateResult.toJson()
Convert to JSON
|
| Modifier and Type | Method and Description |
|---|---|
List<JsonObject> |
ResultSet.getRows()
Get the rows - each row represented as a JsonObject where the keys are the column names and the values are
the column values.
|
List<JsonObject> |
ResultSet.getRows(boolean caseInsensitive)
Get the rows - each row represented as a JsonObject where the keys are the column names and the values are
the column values.
|
| Modifier and Type | Method and Description |
|---|---|
ResultSet |
ResultSetConverter.decode(JsonObject value) |
SQLOptions |
SQLOptionsConverter.decode(JsonObject value) |
UpdateResult |
UpdateResultConverter.decode(JsonObject value) |
static void |
ResultSetConverter.toJson(ResultSet obj,
JsonObject json) |
static void |
SQLOptionsConverter.toJson(SQLOptions obj,
JsonObject json) |
static void |
UpdateResultConverter.toJson(UpdateResult obj,
JsonObject json) |
| Constructor and Description |
|---|
ResultSet(JsonObject json)
Create a result-set from JSON
|
SQLOptions(JsonObject json)
Constructor from JSON
|
UpdateResult(JsonObject json)
Constructor from JSON
|
| Modifier and Type | Field and Description |
|---|---|
static JsonObject |
StompOptions.DEFAULT_STOMP_HEARTBEAT |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
FrameConverter.encode(Frame value) |
JsonObject |
StompClientOptionsConverter.encode(StompClientOptions value) |
JsonObject |
StompServerOptionsConverter.encode(StompServerOptions value) |
JsonObject |
StompClientOptions.getHeartbeat()
Gets the heartbeat configuration.
|
JsonObject |
StompServerOptions.getHeartbeat()
Gets the heartbeat configuration.
|
JsonObject |
BridgeOptions.toJson() |
JsonObject |
StompClientOptions.toJson() |
JsonObject |
Frame.toJson() |
JsonObject |
StompServerOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
static Frame.Heartbeat |
Frame.Heartbeat.create(JsonObject json)
Creates an instance of
Frame.Heartbeat from the JSON configuration provides in the
client / server options. |
Frame |
FrameConverter.decode(JsonObject value) |
StompClientOptions |
StompClientOptionsConverter.decode(JsonObject value) |
StompServerOptions |
StompServerOptionsConverter.decode(JsonObject value) |
StompClientOptions |
StompClientOptions.setHeartbeat(JsonObject heartbeat)
Sets the heartbeat configuration.
|
StompServerOptions |
StompServerOptions.setHeartbeat(JsonObject heartbeat)
Sets the heartbeat configuration.
|
static void |
FrameConverter.toJson(Frame obj,
JsonObject json) |
static void |
StompClientOptionsConverter.toJson(StompClientOptions obj,
JsonObject json) |
static void |
StompServerOptionsConverter.toJson(StompServerOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
BridgeOptions(JsonObject json) |
Frame(JsonObject json)
Creates a new instance of
Frame from its JSON representation. |
StompClientOptions(JsonObject json)
Creates an instance from a
JsonObject. |
StompServerOptions(JsonObject json)
Create an instance from a
JsonObject. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
TestOptionsConverter.encode(TestOptions value) |
JsonObject |
TestOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
TestOptions |
TestOptionsConverter.decode(JsonObject value) |
static void |
TestOptionsConverter.toJson(TestOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
TestOptions(JsonObject json)
Create a new options from the specified json.
|
| Modifier and Type | Method and Description |
|---|---|
Handler<Message<JsonObject>> |
EventBusCollector.asMessageHandler() |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ReportingOptionsConverter.encode(ReportingOptions value) |
JsonObject |
ReportOptionsConverter.encode(ReportOptions value) |
JsonObject |
ReportingOptions.toJson() |
JsonObject |
ReportOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
ReportingOptions |
ReportingOptionsConverter.decode(JsonObject value) |
ReportOptions |
ReportOptionsConverter.decode(JsonObject value) |
static void |
ReportingOptionsConverter.toJson(ReportingOptions obj,
JsonObject json) |
static void |
ReportOptionsConverter.toJson(ReportOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
ReportingOptions(JsonObject json)
Create a new options from the specified json.
|
ReportOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RoutingContext.getBodyAsJson() |
| Constructor and Description |
|---|
Http2PushMapping(JsonObject json)
Constructor from JSON
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
OperationRequestConverter.encode(OperationRequest value) |
JsonObject |
OperationResponseConverter.encode(OperationResponse value) |
JsonObject |
OperationRequest.getExtra()
Get extra payload
|
JsonObject |
RequestParameter.getJsonObject()
Returns null if value is not a JsonObject, otherwise it returns value
|
JsonObject |
OperationRequest.getParams()
Get request parsedParameters as JSON
|
JsonObject |
OperationRequest.getUser()
Get request principal user as routingContext.user().principal(), null if no user is authenticated
|
JsonObject |
RequestParameters.toJson()
This method converts RequestParameters in an unique JsonObject with 6 fields: cookie, path, query, header, form, body
cookie, path, query, header, form are JsonObject where keys are param names and values are param values, while body depends on body's shape and may not exist |
JsonObject |
OperationRequest.toJson() |
JsonObject |
OperationResponse.toJson() |
| Modifier and Type | Method and Description |
|---|---|
static OperationResponse |
OperationResponse.completedWithJson(JsonObject jsonObject) |
OperationResponse |
OperationResponseConverter.decode(JsonObject value) |
OperationRequest |
OperationRequestConverter.decode(JsonObject value) |
OperationRequest |
OperationRequest.setExtra(JsonObject extra) |
OperationRequest |
OperationRequest.setParams(JsonObject params) |
OperationRequest |
OperationRequest.setUser(JsonObject user) |
| Constructor and Description |
|---|
OperationRequest(JsonObject json) |
OperationRequest(JsonObject params,
MultiMap headers,
JsonObject user,
JsonObject extra) |
OperationResponse(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RouterFactoryOptionsConverter.encode(RouterFactoryOptions value) |
JsonObject |
RouterFactoryOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
RouterFactoryOptions |
RouterFactoryOptionsConverter.decode(JsonObject value) |
| Modifier and Type | Method and Description |
|---|---|
RouterFactory |
RouterFactory.setExtraOperationContextPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
When set, this function is called while creating the payload of
OperationRequest |
| Constructor and Description |
|---|
RouterFactoryOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
static Future<OpenAPI3RouterFactory> |
OpenAPI3RouterFactory.create(Vertx vertx,
String url,
List<JsonObject> auth) |
static void |
OpenAPI3RouterFactory.create(Vertx vertx,
String url,
List<JsonObject> auth,
Handler<AsyncResult<OpenAPI3RouterFactory>> handler)
Create a new OpenAPI3RouterFactory
|
| Modifier and Type | Method and Description |
|---|---|
static JsonObject |
ApiHandlerUtils.searchJsonObjectInJson(JsonObject obj,
String key) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<JsonObject> |
ApiHandlerUtils.searchOptionalJsonObjectInJson(JsonObject obj,
String key) |
| Modifier and Type | Method and Description |
|---|---|
default JsonObject |
HttpResponse.bodyAsJsonObject() |
JsonObject |
WebClientOptionsConverter.encode(WebClientOptions value) |
JsonObject |
WebClientOptions.toJson()
Convert to JSON
|
| Modifier and Type | Method and Description |
|---|---|
WebClientOptions |
WebClientOptionsConverter.decode(JsonObject value) |
default Future<HttpResponse<T>> |
HttpRequest.sendJsonObject(JsonObject body) |
void |
HttpRequest.sendJsonObject(JsonObject body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(Handler) but with an HTTP request body object encoded as json and the content type
set to application/json. |
static void |
WebClientOptionsConverter.toJson(WebClientOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
WebClientOptions(JsonObject json)
Creates a new instance from JSON.
|
| Modifier and Type | Method and Description |
|---|---|
static BodyCodec<JsonObject> |
BodyCodec.jsonObject() |
| Modifier and Type | Method and Description |
|---|---|
default Future<Buffer> |
TemplateEngine.render(JsonObject context,
String templateFileName) |
default void |
TemplateEngine.render(JsonObject context,
String templateFileName,
Handler<AsyncResult<Buffer>> handler)
Render the template.
|
| Modifier and Type | Method and Description |
|---|---|
default Future<JsonObject> |
AuthHandler.parseCredentials(RoutingContext context) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2AuthHandler |
OAuth2AuthHandler.extraParams(JsonObject extraParams)
Extra parameters needed to be passed while requesting a token.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ApolloWSMessage.content() |
JsonObject |
ApolloWSOptionsConverter.encode(ApolloWSOptions value) |
JsonObject |
GraphiQLHandlerOptionsConverter.encode(GraphiQLHandlerOptions value) |
JsonObject |
GraphQLHandlerOptionsConverter.encode(GraphQLHandlerOptions value) |
JsonObject |
GraphiQLHandlerOptions.getVariables() |
JsonObject |
ApolloWSOptions.toJson() |
JsonObject |
GraphQLHandlerOptions.toJson() |
JsonObject |
GraphiQLHandlerOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
GraphiQLHandlerOptions |
GraphiQLHandlerOptionsConverter.decode(JsonObject value) |
GraphQLHandlerOptions |
GraphQLHandlerOptionsConverter.decode(JsonObject value) |
ApolloWSOptions |
ApolloWSOptionsConverter.decode(JsonObject value) |
GraphiQLHandlerOptions |
GraphiQLHandlerOptions.setVariables(JsonObject variables)
Initial value of the variables area in the GraphiQL user interface.
|
static void |
ApolloWSOptionsConverter.toJson(ApolloWSOptions obj,
JsonObject json) |
static void |
GraphiQLHandlerOptionsConverter.toJson(GraphiQLHandlerOptions obj,
JsonObject json) |
static void |
GraphQLHandlerOptionsConverter.toJson(GraphQLHandlerOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
ApolloWSOptions(JsonObject json)
Constructor to create options from JSON.
|
GraphiQLHandlerOptions(JsonObject json)
Constructor to create options from JSON.
|
GraphQLHandlerOptions(JsonObject json)
Constructor to create options from JSON.
|
| Modifier and Type | Method and Description |
|---|---|
BridgeEvent |
BridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
| Constructor and Description |
|---|
BridgeOptions(JsonObject json)
Constructor from JSON
|
PermittedOptions(JsonObject json)
Deprecated.
|
SockJSHandlerOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
static SessionStore |
SessionStore.create(Vertx vertx,
JsonObject options)
Create a Session store given a backend and configuration JSON.
|
SessionStore |
SessionStore.init(Vertx vertx,
JsonObject options)
Initialize this store.
|
protected void |
AbstractSession.setData(JsonObject data) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ConfigConverter.encode(Config value) |
JsonObject |
ConfigEntryConverter.encode(ConfigEntry value) |
JsonObject |
ConfigSynonymConverter.encode(ConfigSynonym value) |
JsonObject |
ConsumerGroupDescriptionConverter.encode(ConsumerGroupDescription value) |
JsonObject |
ConsumerGroupListingConverter.encode(ConsumerGroupListing value) |
JsonObject |
MemberAssignmentConverter.encode(MemberAssignment value) |
JsonObject |
MemberDescriptionConverter.encode(MemberDescription value) |
JsonObject |
NewTopicConverter.encode(NewTopic value) |
JsonObject |
TopicDescriptionConverter.encode(TopicDescription value) |
JsonObject |
ConsumerGroupDescription.toJson()
Convert object to JSON representation
|
JsonObject |
TopicDescription.toJson()
Convert object to JSON representation
|
JsonObject |
NewTopic.toJson()
Convert object to JSON representation
|
JsonObject |
ConfigSynonym.toJson()
Convert object to JSON representation
|
JsonObject |
MemberAssignment.toJson()
Convert object to JSON representation
|
JsonObject |
MemberDescription.toJson()
Convert object to JSON representation
|
JsonObject |
Config.toJson()
Convert object to JSON representation
|
JsonObject |
ConfigEntry.toJson()
Convert object to JSON representation
|
JsonObject |
ConsumerGroupListing.toJson()
Convert object to JSON representation
|
| Modifier and Type | Method and Description |
|---|---|
TopicDescription |
TopicDescriptionConverter.decode(JsonObject value) |
ConfigEntry |
ConfigEntryConverter.decode(JsonObject value) |
Config |
ConfigConverter.decode(JsonObject value) |
NewTopic |
NewTopicConverter.decode(JsonObject value) |
MemberDescription |
MemberDescriptionConverter.decode(JsonObject value) |
MemberAssignment |
MemberAssignmentConverter.decode(JsonObject value) |
ConsumerGroupListing |
ConsumerGroupListingConverter.decode(JsonObject value) |
ConfigSynonym |
ConfigSynonymConverter.decode(JsonObject value) |
ConsumerGroupDescription |
ConsumerGroupDescriptionConverter.decode(JsonObject value) |
static void |
ConfigEntryConverter.toJson(ConfigEntry obj,
JsonObject json) |
static void |
ConfigConverter.toJson(Config obj,
JsonObject json) |
static void |
ConfigSynonymConverter.toJson(ConfigSynonym obj,
JsonObject json) |
static void |
ConsumerGroupDescriptionConverter.toJson(ConsumerGroupDescription obj,
JsonObject json) |
static void |
ConsumerGroupListingConverter.toJson(ConsumerGroupListing obj,
JsonObject json) |
static void |
MemberAssignmentConverter.toJson(MemberAssignment obj,
JsonObject json) |
static void |
MemberDescriptionConverter.toJson(MemberDescription obj,
JsonObject json) |
static void |
NewTopicConverter.toJson(NewTopic obj,
JsonObject json) |
static void |
TopicDescriptionConverter.toJson(TopicDescription obj,
JsonObject json) |
| Constructor and Description |
|---|
Config(JsonObject json)
Constructor (from JSON representation)
|
ConfigEntry(JsonObject json)
Constructor (from JSON representation)
|
ConfigSynonym(JsonObject json)
Constructor (from JSON representation)
|
ConsumerGroupDescription(JsonObject json)
Constructor (from JSON representation)
|
ConsumerGroupListing(JsonObject json)
Constructor (from JSON representation)
|
MemberAssignment(JsonObject json)
Constructor (from JSON representation)
|
MemberDescription(JsonObject json)
Constructor (from JSON representation)
|
NewTopic(JsonObject json)
Constructor (from JSON representation)
|
TopicDescription(JsonObject json)
Constructor (from JSON representation)
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ConfigResourceConverter.encode(ConfigResource value) |
JsonObject |
PartitionInfoConverter.encode(PartitionInfo value) |
JsonObject |
TopicPartitionInfoConverter.encode(TopicPartitionInfo value) |
JsonObject |
PartitionInfo.toJson()
Convert object to JSON representation
|
JsonObject |
Node.toJson()
Convert object to JSON representation
|
JsonObject |
ConfigResource.toJson()
Convert object to JSON representation
|
JsonObject |
TopicPartition.toJson()
Convert object to JSON representation
|
JsonObject |
TopicPartitionInfo.toJson()
Convert object to JSON representation
|
| Modifier and Type | Method and Description |
|---|---|
TopicPartitionInfo |
TopicPartitionInfoConverter.decode(JsonObject value) |
ConfigResource |
ConfigResourceConverter.decode(JsonObject value) |
PartitionInfo |
PartitionInfoConverter.decode(JsonObject value) |
static void |
ConfigResourceConverter.toJson(ConfigResource obj,
JsonObject json) |
static void |
PartitionInfoConverter.toJson(PartitionInfo obj,
JsonObject json) |
static void |
TopicPartitionInfoConverter.toJson(TopicPartitionInfo obj,
JsonObject json) |
| Constructor and Description |
|---|
ConfigResource(JsonObject json)
Constructor (from JSON representation)
|
Node(JsonObject json)
Constructor (from JSON representation)
|
PartitionInfo(JsonObject json)
Constructor (from JSON representation)
|
TopicPartition(JsonObject json)
Constructor (from JSON representation)
|
TopicPartitionInfo(JsonObject json)
Constructor (from JSON representation)
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
OffsetAndTimestamp.toJson()
Convert object to JSON representation
|
JsonObject |
OffsetAndMetadata.toJson()
Convert object to JSON representation
|
| Constructor and Description |
|---|
OffsetAndMetadata(JsonObject json)
Constructor (from JSON representation)
|
OffsetAndTimestamp(JsonObject json)
Constructor (from JSON representation)
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RecordMetadata.toJson()
Convert object to JSON representation
|
| Constructor and Description |
|---|
RecordMetadata(JsonObject json)
Constructor (from JSON representation)
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
JsonObjectDeserializer.deserialize(String topic,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.kafka.common.serialization.Serde<JsonObject> |
VertxSerdes.JsonObject() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
JsonObjectSerializer.serialize(String topic,
JsonObject data) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
VertxExtensionModule.getAt(JsonObject json,
String key) |
static Object |
VertxExtensionModule.putAt(JsonObject json,
String key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MicrometerMetricsOptionsConverter.encode(MicrometerMetricsOptions value) |
JsonObject |
VertxInfluxDbOptionsConverter.encode(VertxInfluxDbOptions value) |
JsonObject |
VertxJmxMetricsOptionsConverter.encode(VertxJmxMetricsOptions value) |
JsonObject |
VertxPrometheusOptionsConverter.encode(VertxPrometheusOptions value) |
JsonObject |
MetricsService.getMetricsSnapshot()
Will return the metrics that correspond with the
measured object, null if no metrics is available. |
JsonObject |
MetricsService.getMetricsSnapshot(String baseName)
Will return the metrics that begins with the
baseName, null if no metrics is available. |
JsonObject |
VertxJmxMetricsOptions.toJson() |
JsonObject |
MicrometerMetricsOptions.toJson() |
JsonObject |
VertxInfluxDbOptions.toJson() |
JsonObject |
VertxPrometheusOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
VertxJmxMetricsOptions |
VertxJmxMetricsOptionsConverter.decode(JsonObject value) |
VertxInfluxDbOptions |
VertxInfluxDbOptionsConverter.decode(JsonObject value) |
VertxPrometheusOptions |
VertxPrometheusOptionsConverter.decode(JsonObject value) |
MicrometerMetricsOptions |
MicrometerMetricsOptionsConverter.decode(JsonObject value) |
static void |
MicrometerMetricsOptionsConverter.toJson(MicrometerMetricsOptions obj,
JsonObject json) |
static void |
VertxInfluxDbOptionsConverter.toJson(VertxInfluxDbOptions obj,
JsonObject json) |
static void |
VertxJmxMetricsOptionsConverter.toJson(VertxJmxMetricsOptions obj,
JsonObject json) |
static void |
VertxPrometheusOptionsConverter.toJson(VertxPrometheusOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
Match(JsonObject json)
Create an instance from a
JsonObject |
MicrometerMetricsOptions(JsonObject json)
Creates new options object for Micrometer metrics from
json input. |
VertxInfluxDbOptions(JsonObject json)
Creates new options object for InfluxDB reporting from
json input. |
VertxJmxMetricsOptions(JsonObject json)
Create an instance from a
JsonObject |
VertxPrometheusOptions(JsonObject json)
Create an instance from a
JsonObject |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MqttClientOptionsConverter.encode(MqttClientOptions value) |
JsonObject |
MqttWill.toJson()
Convert instance in JSON
|
JsonObject |
MqttAuth.toJson()
Convert instance in JSON
|
| Modifier and Type | Method and Description |
|---|---|
MqttClientOptions |
MqttClientOptionsConverter.decode(JsonObject value) |
static void |
MqttClientOptionsConverter.toJson(MqttClientOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
MqttAuth(JsonObject json)
Create instance from JSON
|
MqttClientOptions(JsonObject json)
Create an instance of MqttClientOptions from JSON
|
MqttServerOptions(JsonObject json)
Create an options from JSON
|
MqttWill(JsonObject json)
Create instance from JSON
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MySQLConnectOptionsConverter.encode(MySQLConnectOptions value) |
JsonObject |
MySQLConnectOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
MySQLConnectOptions |
MySQLConnectOptionsConverter.decode(JsonObject value) |
static void |
MySQLConnectOptionsConverter.toJson(MySQLConnectOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
MySQLConnectOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
PgConnectOptionsConverter.encode(PgConnectOptions value) |
JsonObject |
PgNotificationConverter.encode(PgNotification value) |
JsonObject |
PgNotification.toJson() |
JsonObject |
PgConnectOptions.toJson() |
| Modifier and Type | Method and Description |
|---|---|
PgNotification |
PgNotificationConverter.decode(JsonObject value) |
PgConnectOptions |
PgConnectOptionsConverter.decode(JsonObject value) |
static void |
PgConnectOptionsConverter.toJson(PgConnectOptions obj,
JsonObject json) |
static void |
PgNotificationConverter.toJson(PgNotification obj,
JsonObject json) |
| Constructor and Description |
|---|
PgConnectOptions(JsonObject json) |
PgNotification(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
BoxConverter.encode(Box value) |
JsonObject |
CircleConverter.encode(Circle value) |
JsonObject |
IntervalConverter.encode(Interval value) |
JsonObject |
LineConverter.encode(Line value) |
JsonObject |
LineSegmentConverter.encode(LineSegment value) |
JsonObject |
PathConverter.encode(Path value) |
JsonObject |
PointConverter.encode(Point value) |
JsonObject |
PolygonConverter.encode(Polygon value) |
JsonObject |
Polygon.toJson() |
JsonObject |
Interval.toJson() |
JsonObject |
Point.toJson() |
JsonObject |
LineSegment.toJson() |
JsonObject |
Circle.toJson() |
JsonObject |
Box.toJson() |
JsonObject |
Path.toJson() |
JsonObject |
Line.toJson() |
| Modifier and Type | Method and Description |
|---|---|
Point |
PointConverter.decode(JsonObject value) |
Interval |
IntervalConverter.decode(JsonObject value) |
Box |
BoxConverter.decode(JsonObject value) |
Polygon |
PolygonConverter.decode(JsonObject value) |
Line |
LineConverter.decode(JsonObject value) |
LineSegment |
LineSegmentConverter.decode(JsonObject value) |
Path |
PathConverter.decode(JsonObject value) |
Circle |
CircleConverter.decode(JsonObject value) |
static void |
BoxConverter.toJson(Box obj,
JsonObject json) |
static void |
CircleConverter.toJson(Circle obj,
JsonObject json) |
static void |
IntervalConverter.toJson(Interval obj,
JsonObject json) |
static void |
LineConverter.toJson(Line obj,
JsonObject json) |
static void |
LineSegmentConverter.toJson(LineSegment obj,
JsonObject json) |
static void |
PathConverter.toJson(Path obj,
JsonObject json) |
static void |
PointConverter.toJson(Point obj,
JsonObject json) |
static void |
PolygonConverter.toJson(Polygon obj,
JsonObject json) |
| Constructor and Description |
|---|
Box(JsonObject json) |
Circle(JsonObject json) |
Interval(JsonObject json) |
Line(JsonObject json) |
LineSegment(JsonObject json) |
Path(JsonObject json) |
Point(JsonObject json) |
Polygon(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
void |
RabbitMQClient.basicPublish(String exchange,
String routingKey,
JsonObject message,
Handler<AsyncResult<Void>> resultHandler)
Publish a message.
|
static RabbitMQClient |
RabbitMQClient.create(Vertx vertx,
JsonObject config)
Like
RabbitMQClient.create(Vertx, RabbitMQOptions) but with a JsonObject config object. |
RabbitMQOptions |
RabbitMQOptionsConverter.decode(JsonObject value) |
QueueOptions |
QueueOptionsConverter.decode(JsonObject value) |
void |
RabbitMQClient.exchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<Void>> resultHandler)
Declare an exchange with additional parameters such as dead lettering, an alternate exchange or TTL.
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue with config options
|
static void |
QueueOptionsConverter.toJson(QueueOptions obj,
JsonObject json) |
static void |
RabbitMQOptionsConverter.toJson(RabbitMQOptions obj,
JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
void |
RabbitMQClient.basicAck(long deliveryTag,
boolean multiple,
Handler<AsyncResult<JsonObject>> resultHandler)
Acknowledge one or several received messages.
|
void |
RabbitMQClient.basicGet(String queue,
boolean autoAck,
Handler<AsyncResult<JsonObject>> resultHandler)
Retrieve a message from a queue using AMQP.Basic.Get
|
void |
RabbitMQClient.basicNack(long deliveryTag,
boolean multiple,
boolean requeue,
Handler<AsyncResult<JsonObject>> resultHandler)
Reject one or several received messages.
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue with config options
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
Map<String,String> config,
Handler<AsyncResult<JsonObject>> resultHandler)
Deprecated.
See
RabbitMQClient.queueDeclare(String, boolean, boolean, boolean, JsonObject, Handler) instead for
support for more than just String config values |
void |
RabbitMQClient.queueDeclareAuto(Handler<AsyncResult<JsonObject>> resultHandler)
Actively declare a server-named exclusive, autodelete, non-durable queue.
|
void |
RabbitMQClient.queueDelete(String queue,
Handler<AsyncResult<JsonObject>> resultHandler)
Delete a queue, without regard for whether it is in use or has messages on it
|
void |
RabbitMQClient.queueDeleteIf(String queue,
boolean ifUnused,
boolean ifEmpty,
Handler<AsyncResult<JsonObject>> resultHandler)
Delete a queue
|
| Constructor and Description |
|---|
QueueOptions(JsonObject json) |
RabbitMQOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
AmqpMessage.applicationProperties() |
JsonObject |
AmqpMessage.bodyAsJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
AmqpMessageBuilder |
AmqpMessageBuilder.applicationProperties(JsonObject props) |
AmqpMessageBuilder |
AmqpMessageBuilder.withJsonObjectAsBody(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ConfigRetriever.getCachedConfig()
Gets the last computed configuration.
|
| Modifier and Type | Method and Description |
|---|---|
ReadStream<JsonObject> |
ConfigRetriever.configStream() |
static Future<JsonObject> |
ConfigRetriever.getConfigAsFuture(ConfigRetriever retriever)
Same as
ConfigRetriever.getConfig(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>>), but returning a object. |
Single<JsonObject> |
ConfigRetriever.rxGetConfig()
Reads the configuration from the different
and computes the final configuration.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
Context.config()
If the context is associated with a Verticle deployment, this returns the configuration that was specified when
the verticle was deployed.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
Buffer.toJsonObject()
Returns a Json object representation of the Buffer.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
JsonEvent.objectValue() |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
User.principal()
Get the underlying principal for the User.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthProvider.authenticate(JsonObject authInfo)
Authenticate a user.
|
void |
AuthProvider.authenticate(JsonObject authInfo,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
Single<User> |
AuthProvider.rxAuthenticate(JsonObject authInfo)
Authenticate a user.
|
| Modifier and Type | Method and Description |
|---|---|
String |
JWTAuth.generateToken(JsonObject claims)
Generate a new JWT token.
|
String |
JWTAuth.generateToken(JsonObject claims,
io.vertx.ext.jwt.JWTOptions options)
Generate a new JWT token.
|
| Modifier and Type | Method and Description |
|---|---|
static MongoAuth |
MongoAuth.create(MongoClient mongoClient,
JsonObject config)
Creates an instance of MongoAuth by using the given and configuration object.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
AccessToken.accessToken()
The Access Token if present parsed as a JsonObject
|
static JsonObject |
KeycloakHelper.accessToken(JsonObject principal)
Get decoded `access_token` from the principal.
|
JsonObject |
AccessToken.idToken()
The Id Token if present parsed as a JsonObject
|
static JsonObject |
KeycloakHelper.idToken(JsonObject principal)
Get decoded `id_token` from the principal.
|
JsonObject |
OAuth2Response.jsonObject()
The HTTP response body as a JsonObject
|
static JsonObject |
KeycloakHelper.parseToken(String token)
Parse the token string with base64 decoder.
|
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
AccessToken.rxUserInfo()
Load the user info as per OIDC spec.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonObject |
KeycloakHelper.accessToken(JsonObject principal)
Get decoded `access_token` from the principal.
|
static String |
KeycloakHelper.acr(JsonObject principal) |
static Set<String> |
KeycloakHelper.allowedOrigins(JsonObject principal) |
String |
OAuth2Auth.authorizeURL(JsonObject params)
Generate a redirect URL to the authN/Z backend.
|
static int |
KeycloakHelper.authTime(JsonObject principal) |
static String |
KeycloakHelper.email(JsonObject principal) |
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload)
Fetches a JSON resource using this Access Token.
|
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload,
Handler<AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
static JsonObject |
KeycloakHelper.idToken(JsonObject principal)
Get decoded `id_token` from the principal.
|
static String |
KeycloakHelper.name(JsonObject principal) |
static String |
KeycloakHelper.nickName(JsonObject principal) |
static String |
KeycloakHelper.preferredUsername(JsonObject principal) |
static String |
KeycloakHelper.rawAccessToken(JsonObject principal)
Get raw `access_token` string from the principal.
|
static String |
KeycloakHelper.rawIdToken(JsonObject principal)
Get raw `id_token` string from the principal.
|
Single<OAuth2Response> |
AccessToken.rxFetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload)
Fetches a JSON resource using this Access Token.
|
static String |
KeycloakHelper.sessionState(JsonObject principal) |
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
AccessToken.userInfo(Handler<AsyncResult<JsonObject>> callback)
Load the user info as per OIDC spec.
|
| Modifier and Type | Method and Description |
|---|---|
static OAuth2Auth |
GoogleAuth.create(Vertx vertx,
JsonObject serviceAccountJson)
Create a OAuth2Auth provider for Google Service Account (Server to Server)
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
JsonObject config)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
GoogleAuth.create(Vertx vertx,
JsonObject serviceAccountJson,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Google Service Account (Server to Server)
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
JsonObject config,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
OAuth2FlowType flow,
JsonObject config)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
OAuth2FlowType flow,
JsonObject config,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Keycloak
|
| Modifier and Type | Method and Description |
|---|---|
static ShiroAuth |
ShiroAuth.create(Vertx vertx,
ShiroAuthRealmType realmType,
JsonObject config)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
BaseBridgeEvent.getRawMessage()
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
BaseBridgeEvent |
BaseBridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
ConsulClient.rxAgentInfo()
Returns the configuration and member information of the local agent
|
| Modifier and Type | Method and Description |
|---|---|
ConsulClient |
ConsulClient.agentInfo(Handler<AsyncResult<JsonObject>> resultHandler)
Returns the configuration and member information of the local agent
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MetricsService.getMetricsSnapshot(Measured measured)
Will return the metrics that correspond with the
measured object, null if no metrics is available.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server. |
JsonObject |
MetricsService.getMetricsSnapshot(String baseName)
Will return the metrics that begins with the
baseName, null if no metrics is available.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server. |
| Modifier and Type | Method and Description |
|---|---|
BridgeEvent |
BridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
HealthChecks.rxInvoke(String name)
Invokes the registered procedure with the given name and sub-procedures.
|
| Modifier and Type | Method and Description |
|---|---|
HealthChecks |
HealthChecks.invoke(Handler<JsonObject> resultHandler)
Invokes the registered procedures and computes the outcome.
|
HealthChecks |
HealthChecks.invoke(String name,
Handler<AsyncResult<JsonObject>> resultHandler)
Invokes the registered procedure with the given name and sub-procedures.
|
| Modifier and Type | Method and Description |
|---|---|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config)
Like
JDBCClient.createShared(io.vertx.reactivex.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default data source name |
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a JDBC client which shares its data source with any other JDBC clients created with the same
data source name
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MailAttachment.toJson()
convert this object to JSON representation
|
| Modifier and Type | Method and Description |
|---|---|
static MailAttachment |
MailAttachment.create(JsonObject json)
create a MailAttachment object from a JsonObject representation
|
| Modifier and Type | Method and Description |
|---|---|
ReadStream<JsonObject> |
MongoClient.aggregate(String collection,
JsonArray pipeline)
Run aggregate MongoDB command with default
AggregateOptions. |
ReadStream<JsonObject> |
MongoClient.aggregateWithOptions(String collection,
JsonArray pipeline,
AggregateOptions options)
Run aggregate MongoDB command.
|
ReadStream<JsonObject> |
MongoClient.distinctBatch(String collection,
String fieldName,
String resultClassname)
Gets the distinct values of the specified field name.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
int batchSize)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.findBatch(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
ReadStream<JsonObject> |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
Single<List<JsonObject>> |
MongoClient.rxFind(String collection,
JsonObject query)
Find matching documents in the specified collection
|
Maybe<JsonObject> |
MongoClient.rxFindOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and replace it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and update it.
|
Single<List<JsonObject>> |
MongoClient.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
Maybe<JsonObject> |
MongoClient.rxRunCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
| Modifier and Type | Method and Description |
|---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query)
Count matching documents in a collection.
|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
MongoClient |
MongoClient.createIndex(String collection,
JsonObject key)
Creates an index.
|
MongoClient |
MongoClient.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options)
Creates an index.
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config)
Like
MongoClient.createShared(io.vertx.reactivex.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default data source name |
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a Mongo client which shares its data source with any other Mongo clients created with the same
data source name
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
int batchSize)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
Handler<AsyncResult<JsonArray>> resultHandler)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.find(String collection,
JsonObject query)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
ReadStream<JsonObject> |
MongoClient.findBatch(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
ReadStream<JsonObject> |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeDocument(String collection,
JsonObject query)
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocument(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.replaceDocuments(String collection,
JsonObject query,
JsonObject replace)
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocuments(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
Single<Long> |
MongoClient.rxCount(String collection,
JsonObject query)
Count matching documents in a collection.
|
Completable |
MongoClient.rxCreateIndex(String collection,
JsonObject key)
Creates an index.
|
Completable |
MongoClient.rxCreateIndexWithOptions(String collection,
JsonObject key,
IndexOptions options)
Creates an index.
|
Single<JsonArray> |
MongoClient.rxDistinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
Single<List<JsonObject>> |
MongoClient.rxFind(String collection,
JsonObject query)
Find matching documents in the specified collection
|
Maybe<JsonObject> |
MongoClient.rxFindOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and replace it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
Maybe<JsonObject> |
MongoClient.rxFindOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and update it.
|
Single<List<JsonObject>> |
MongoClient.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
Maybe<String> |
MongoClient.rxInsert(String collection,
JsonObject document)
Insert a document in the specified collection
|
Maybe<String> |
MongoClient.rxInsertWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Insert a document in the specified collection with the specified write option
|
Completable |
MongoClient.rxRemove(String collection,
JsonObject query)
Deprecated.
|
Maybe<MongoClientDeleteResult> |
MongoClient.rxRemoveDocument(String collection,
JsonObject query)
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
Maybe<MongoClientDeleteResult> |
MongoClient.rxRemoveDocuments(String collection,
JsonObject query)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
Maybe<MongoClientDeleteResult> |
MongoClient.rxRemoveDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
Maybe<MongoClientDeleteResult> |
MongoClient.rxRemoveDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
Completable |
MongoClient.rxRemoveOne(String collection,
JsonObject query)
Deprecated.
|
Completable |
MongoClient.rxRemoveOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Completable |
MongoClient.rxRemoveWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Completable |
MongoClient.rxReplace(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
Maybe<MongoClientUpdateResult> |
MongoClient.rxReplaceDocuments(String collection,
JsonObject query,
JsonObject replace)
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
Maybe<MongoClientUpdateResult> |
MongoClient.rxReplaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
Completable |
MongoClient.rxReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
Maybe<JsonObject> |
MongoClient.rxRunCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
Maybe<String> |
MongoClient.rxSave(String collection,
JsonObject document)
Save a document in the specified collection
|
Maybe<String> |
MongoClient.rxSaveWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Save a document in the specified collection with the specified write option
|
Completable |
MongoClient.rxUpdate(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
Maybe<MongoClientUpdateResult> |
MongoClient.rxUpdateCollection(String collection,
JsonObject query,
JsonObject update)
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
Maybe<MongoClientUpdateResult> |
MongoClient.rxUpdateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
Completable |
MongoClient.rxUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document)
Save a document in the specified collection
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.updateCollection(String collection,
JsonObject query,
JsonObject update)
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollection(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RoutingContext.getBodyAsJson() |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RequestParameter.getJsonObject()
Returns null if value is not a JsonObject, otherwise it returns value
|
JsonObject |
RequestParameters.toJson()
This method converts RequestParameters in an unique JsonObject with 6 fields: cookie, path, query, header, form, body
cookie, path, query, header, form are JsonObject where keys are param names and values are param values, while body depends on body's shape and may not exist |
| Modifier and Type | Method and Description |
|---|---|
RouterFactory |
RouterFactory.setExtraOperationContextPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
When set, this function is called while creating the payload of
OperationRequest |
| Modifier and Type | Method and Description |
|---|---|
static void |
OpenAPI3RouterFactory.create(Vertx vertx,
String url,
List<JsonObject> auth)
Create a new OpenAPI3RouterFactory
|
static void |
OpenAPI3RouterFactory.create(Vertx vertx,
String url,
List<JsonObject> auth,
Handler<AsyncResult<OpenAPI3RouterFactory>> handler)
Create a new OpenAPI3RouterFactory
|
static Single<OpenAPI3RouterFactory> |
OpenAPI3RouterFactory.rxCreate(Vertx vertx,
String url,
List<JsonObject> auth)
Create a new OpenAPI3RouterFactory
|
RouterFactory |
OpenAPI3RouterFactory.setExtraOperationContextPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
When set, this function is called while creating the payload of
OperationRequest |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
HttpResponse.bodyAsJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
static BodyCodec<JsonObject> |
BodyCodec.jsonObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
TemplateEngine.render(JsonObject context,
String templateFileName)
Render the template.
|
void |
TemplateEngine.render(JsonObject context,
String templateFileName,
Handler<AsyncResult<Buffer>> handler)
Render the template.
|
Single<Buffer> |
TemplateEngine.rxRender(JsonObject context,
String templateFileName)
Render the template.
|
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
AuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
BasicAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
DigestAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
JWTAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
RedirectAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
ChainAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
OAuth2AuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2AuthHandler |
OAuth2AuthHandler.extraParams(JsonObject extraParams)
Extra parameters needed to be passed while requesting a token.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
BasicAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
DigestAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
JWTAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
RedirectAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
ChainAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
OAuth2AuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ApolloWSMessage.content() |
| Modifier and Type | Method and Description |
|---|---|
BridgeEvent |
BridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
static SessionStore |
SessionStore.create(Vertx vertx,
JsonObject options)
Create a Session store given a backend and configuration JSON.
|
SessionStore |
SessionStore.init(Vertx vertx,
JsonObject options)
Initialize this store.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MetricsService.getMetricsSnapshot()
Will return the metrics that correspond with the
measured object, null if no metrics is available. |
JsonObject |
MetricsService.getMetricsSnapshot(String baseName)
Will return the metrics that begins with the
baseName, null if no metrics is available. |
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
RabbitMQClient.rxBasicAck(long deliveryTag,
boolean multiple)
Acknowledge one or several received messages.
|
Single<JsonObject> |
RabbitMQClient.rxBasicGet(String queue,
boolean autoAck)
Retrieve a message from a queue using AMQP.Basic.Get
|
Single<JsonObject> |
RabbitMQClient.rxBasicNack(long deliveryTag,
boolean multiple,
boolean requeue)
Reject one or several received messages.
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete)
Declare a queue
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config)
Declare a queue with config options
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeclareAuto()
Actively declare a server-named exclusive, autodelete, non-durable queue.
|
Single<JsonObject> |
RabbitMQClient.rxQueueDelete(String queue)
Delete a queue, without regard for whether it is in use or has messages on it
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeleteIf(String queue,
boolean ifUnused,
boolean ifEmpty)
Delete a queue
|
| Modifier and Type | Method and Description |
|---|---|
void |
RabbitMQClient.basicPublish(String exchange,
String routingKey,
JsonObject message)
Publish a message.
|
void |
RabbitMQClient.basicPublish(String exchange,
String routingKey,
JsonObject message,
Handler<AsyncResult<Void>> resultHandler)
Publish a message.
|
void |
RabbitMQClient.exchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
JsonObject config)
Declare an exchange with additional parameters such as dead lettering, an alternate exchange or TTL.
|
void |
RabbitMQClient.exchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<Void>> resultHandler)
Declare an exchange with additional parameters such as dead lettering, an alternate exchange or TTL.
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config)
Declare a queue with config options
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue with config options
|
Completable |
RabbitMQClient.rxBasicPublish(String exchange,
String routingKey,
JsonObject message)
Publish a message.
|
Completable |
RabbitMQClient.rxExchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
JsonObject config)
Declare an exchange with additional parameters such as dead lettering, an alternate exchange or TTL.
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config)
Declare a queue with config options
|
| Modifier and Type | Method and Description |
|---|---|
void |
RabbitMQClient.basicAck(long deliveryTag,
boolean multiple,
Handler<AsyncResult<JsonObject>> resultHandler)
Acknowledge one or several received messages.
|
void |
RabbitMQClient.basicGet(String queue,
boolean autoAck,
Handler<AsyncResult<JsonObject>> resultHandler)
Retrieve a message from a queue using AMQP.Basic.Get
|
void |
RabbitMQClient.basicNack(long deliveryTag,
boolean multiple,
boolean requeue,
Handler<AsyncResult<JsonObject>> resultHandler)
Reject one or several received messages.
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue with config options
|
void |
RabbitMQClient.queueDeclareAuto(Handler<AsyncResult<JsonObject>> resultHandler)
Actively declare a server-named exclusive, autodelete, non-durable queue.
|
void |
RabbitMQClient.queueDelete(String queue,
Handler<AsyncResult<JsonObject>> resultHandler)
Delete a queue, without regard for whether it is in use or has messages on it
|
void |
RabbitMQClient.queueDeleteIf(String queue,
boolean ifUnused,
boolean ifEmpty,
Handler<AsyncResult<JsonObject>> resultHandler)
Delete a queue
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceDiscovery.getRecord(JsonObject filter)
Lookups for a single record.
|
void |
ServiceDiscovery.getRecord(JsonObject filter,
Handler<AsyncResult<Record>> resultHandler)
Lookups for a single record.
|
void |
ServiceDiscovery.getRecords(JsonObject filter)
Lookups for a set of records.
|
void |
ServiceDiscovery.getRecords(JsonObject filter,
Handler<AsyncResult<List<Record>>> resultHandler)
Lookups for a set of records.
|
ServiceReference |
ServiceDiscovery.getReferenceWithConfiguration(Record record,
JsonObject configuration)
Gets a service reference from the given record, the reference is configured with the given json object.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
JsonObject configuration)
Registers a discovery bridge.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
JsonObject configuration,
Handler<AsyncResult<Void>> completionHandler)
Registers a discovery bridge.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
JsonObject configuration)
Registers a discovery service importer.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
JsonObject configuration,
Handler<AsyncResult<Void>> completionHandler)
Registers a discovery service importer.
|
Maybe<Record> |
ServiceDiscovery.rxGetRecord(JsonObject filter)
Lookups for a single record.
|
Single<List<Record>> |
ServiceDiscovery.rxGetRecords(JsonObject filter)
Lookups for a set of records.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceExporter.init(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> future)
Starts the exporter.
|
void |
ServiceImporter.start(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> future)
Starts the importer.
|
| Modifier and Type | Method and Description |
|---|---|
static Record |
HttpEndpoint.createRecord(String name,
boolean ssl,
String host,
int port,
String root,
JsonObject metadata)
Same as
HttpEndpoint.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 Record |
MongoDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata)
Convenient method to create a record for a Mongo data source.
|
static Record |
RedisDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata)
Convenient method to create a record for a Redis data source.
|
static Record |
JDBCDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata) |
static Record |
HttpEndpoint.createRecord(String name,
String host,
int port,
String root,
JsonObject metadata)
Convenient method to create a record for a HTTP endpoint.
|
static Record |
EventBusService.createRecord(String name,
String address,
String itf,
JsonObject metadata)
Sugar method to creates a record for this type.
|
static Record |
MessageSource.createRecord(String name,
String address,
String type,
JsonObject metadata)
Create a record representing a data producer.
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static <T> void |
MessageSource.getConsumer(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a message source and provides the configured .
|
static <T> void |
MessageSource.getConsumer(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MessageConsumer<T>>> resultHandler)
Convenient method that looks for a message source and provides the configured .
|
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static <T> T |
EventBusService.getServiceProxyWithJsonFilter(ServiceDiscovery discovery,
JsonObject filter,
Class<T> clientClass,
Handler<AsyncResult<T>> resultHandler)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<HttpClient> |
HttpEndpoint.rxGetClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<HttpClient> |
HttpEndpoint.rxGetClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<HttpClient> |
HttpEndpoint.rxGetClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static <T> Single<MessageConsumer<T>> |
MessageSource.rxGetConsumer(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a message source and provides the configured .
|
static Single<JDBCClient> |
JDBCDataSource.rxGetJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static Single<JDBCClient> |
JDBCDataSource.rxGetJDBCClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static Single<JDBCClient> |
JDBCDataSource.rxGetJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static Single<MongoClient> |
MongoDataSource.rxGetMongoClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static Single<MongoClient> |
MongoDataSource.rxGetMongoClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static Single<WebClient> |
HttpEndpoint.rxGetWebClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<WebClient> |
HttpEndpoint.rxGetWebClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<WebClient> |
HttpEndpoint.rxGetWebClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RedisOptionsConverter.encode(RedisOptions value) |
JsonObject |
RedisOptions.toJson()
Converts this object to JSON notation.
|
| Modifier and Type | Method and Description |
|---|---|
RedisOptions |
RedisOptionsConverter.decode(JsonObject value) |
static void |
RedisOptionsConverter.toJson(RedisOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
RedisOptions(JsonObject json)
Copy from JSON constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
AmqpMessage.applicationProperties() |
JsonObject |
AmqpMessage.bodyAsJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
AmqpMessageBuilder |
AmqpMessageBuilder.applicationProperties(JsonObject props) |
AmqpMessageBuilder |
AmqpMessageBuilder.withJsonObjectAsBody(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ConfigRetriever.getCachedConfig()
Gets the last computed configuration.
|
| Modifier and Type | Method and Description |
|---|---|
ReadStream<JsonObject> |
ConfigRetriever.configStream() |
static Future<JsonObject> |
ConfigRetriever.getConfigAsFuture(ConfigRetriever retriever)
Same as
ConfigRetriever.getConfig(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>>), but returning a object. |
Single<JsonObject> |
ConfigRetriever.rxGetConfig()
Reads the configuration from the different
and computes the final configuration.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
Context.config()
If the context is associated with a Verticle deployment, this returns the configuration that was specified when
the verticle was deployed.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
Buffer.toJsonObject()
Returns a Json object representation of the Buffer.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
JsonEvent.objectValue() |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
User.principal()
Get the underlying principal for the User.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthProvider.authenticate(JsonObject authInfo)
Authenticate a user.
|
void |
AuthProvider.authenticate(JsonObject authInfo,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
Single<User> |
AuthProvider.rxAuthenticate(JsonObject authInfo)
Authenticate a user.
|
| Modifier and Type | Method and Description |
|---|---|
String |
JWTAuth.generateToken(JsonObject claims)
Generate a new JWT token.
|
String |
JWTAuth.generateToken(JsonObject claims,
io.vertx.ext.jwt.JWTOptions options)
Generate a new JWT token.
|
| Modifier and Type | Method and Description |
|---|---|
static MongoAuth |
MongoAuth.create(MongoClient mongoClient,
JsonObject config)
Creates an instance of MongoAuth by using the given and configuration object.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
AccessToken.accessToken()
The Access Token if present parsed as a JsonObject
|
static JsonObject |
KeycloakHelper.accessToken(JsonObject principal)
Get decoded `access_token` from the principal.
|
JsonObject |
AccessToken.idToken()
The Id Token if present parsed as a JsonObject
|
static JsonObject |
KeycloakHelper.idToken(JsonObject principal)
Get decoded `id_token` from the principal.
|
JsonObject |
OAuth2Response.jsonObject()
The HTTP response body as a JsonObject
|
static JsonObject |
KeycloakHelper.parseToken(String token)
Parse the token string with base64 decoder.
|
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
AccessToken.rxUserInfo()
Load the user info as per OIDC spec.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonObject |
KeycloakHelper.accessToken(JsonObject principal)
Get decoded `access_token` from the principal.
|
static String |
KeycloakHelper.acr(JsonObject principal) |
static Set<String> |
KeycloakHelper.allowedOrigins(JsonObject principal) |
String |
OAuth2Auth.authorizeURL(JsonObject params)
Generate a redirect URL to the authN/Z backend.
|
static int |
KeycloakHelper.authTime(JsonObject principal) |
static String |
KeycloakHelper.email(JsonObject principal) |
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload)
Fetches a JSON resource using this Access Token.
|
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload,
Handler<AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
static JsonObject |
KeycloakHelper.idToken(JsonObject principal)
Get decoded `id_token` from the principal.
|
static String |
KeycloakHelper.name(JsonObject principal) |
static String |
KeycloakHelper.nickName(JsonObject principal) |
static String |
KeycloakHelper.preferredUsername(JsonObject principal) |
static String |
KeycloakHelper.rawAccessToken(JsonObject principal)
Get raw `access_token` string from the principal.
|
static String |
KeycloakHelper.rawIdToken(JsonObject principal)
Get raw `id_token` string from the principal.
|
Single<OAuth2Response> |
AccessToken.rxFetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload)
Fetches a JSON resource using this Access Token.
|
static String |
KeycloakHelper.sessionState(JsonObject principal) |
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
AccessToken.userInfo(Handler<AsyncResult<JsonObject>> callback)
Load the user info as per OIDC spec.
|
| Modifier and Type | Method and Description |
|---|---|
static OAuth2Auth |
GoogleAuth.create(Vertx vertx,
JsonObject serviceAccountJson)
Create a OAuth2Auth provider for Google Service Account (Server to Server)
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
JsonObject config)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
GoogleAuth.create(Vertx vertx,
JsonObject serviceAccountJson,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Google Service Account (Server to Server)
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
JsonObject config,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
OAuth2FlowType flow,
JsonObject config)
Create a OAuth2Auth provider for Keycloak
|
static OAuth2Auth |
KeycloakAuth.create(Vertx vertx,
OAuth2FlowType flow,
JsonObject config,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Keycloak
|
| Modifier and Type | Method and Description |
|---|---|
static ShiroAuth |
ShiroAuth.create(Vertx vertx,
ShiroAuthRealmType realmType,
JsonObject config)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
BaseBridgeEvent.getRawMessage()
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
BaseBridgeEvent |
BaseBridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
ConsulClient.rxAgentInfo()
Returns the configuration and member information of the local agent
|
| Modifier and Type | Method and Description |
|---|---|
ConsulClient |
ConsulClient.agentInfo(Handler<AsyncResult<JsonObject>> resultHandler)
Returns the configuration and member information of the local agent
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MetricsService.getMetricsSnapshot(Measured measured)
Will return the metrics that correspond with the
measured object, null if no metrics is available.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server. |
JsonObject |
MetricsService.getMetricsSnapshot(String baseName)
Will return the metrics that begins with the
baseName, null if no metrics is available.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server. |
| Modifier and Type | Method and Description |
|---|---|
BridgeEvent |
BridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
HealthChecks.rxInvoke(String name)
Invokes the registered procedure with the given name and sub-procedures.
|
| Modifier and Type | Method and Description |
|---|---|
HealthChecks |
HealthChecks.invoke(Handler<JsonObject> resultHandler)
Invokes the registered procedures and computes the outcome.
|
HealthChecks |
HealthChecks.invoke(String name,
Handler<AsyncResult<JsonObject>> resultHandler)
Invokes the registered procedure with the given name and sub-procedures.
|
| Modifier and Type | Method and Description |
|---|---|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config)
Like
JDBCClient.createShared(io.vertx.rxjava.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default data source name |
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a JDBC client which shares its data source with any other JDBC clients created with the same
data source name
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MailAttachment.toJson()
convert this object to JSON representation
|
| Modifier and Type | Method and Description |
|---|---|
static MailAttachment |
MailAttachment.create(JsonObject json)
create a MailAttachment object from a JsonObject representation
|
| Modifier and Type | Method and Description |
|---|---|
ReadStream<JsonObject> |
MongoClient.aggregate(String collection,
JsonArray pipeline)
Run aggregate MongoDB command with default
AggregateOptions. |
ReadStream<JsonObject> |
MongoClient.aggregateWithOptions(String collection,
JsonArray pipeline,
AggregateOptions options)
Run aggregate MongoDB command.
|
ReadStream<JsonObject> |
MongoClient.distinctBatch(String collection,
String fieldName,
String resultClassname)
Gets the distinct values of the specified field name.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
int batchSize)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.findBatch(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
ReadStream<JsonObject> |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
Single<List<JsonObject>> |
MongoClient.rxFind(String collection,
JsonObject query)
Find matching documents in the specified collection
|
Single<JsonObject> |
MongoClient.rxFindOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
Single<JsonObject> |
MongoClient.rxFindOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and replace it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and update it.
|
Single<List<JsonObject>> |
MongoClient.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
Single<JsonObject> |
MongoClient.rxRunCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
| Modifier and Type | Method and Description |
|---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query)
Count matching documents in a collection.
|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
MongoClient |
MongoClient.createIndex(String collection,
JsonObject key)
Creates an index.
|
MongoClient |
MongoClient.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options)
Creates an index.
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config)
Like
MongoClient.createShared(io.vertx.rxjava.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default data source name |
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a Mongo client which shares its data source with any other Mongo clients created with the same
data source name
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
ReadStream<JsonObject> |
MongoClient.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
int batchSize)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
Handler<AsyncResult<JsonArray>> resultHandler)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.find(String collection,
JsonObject query)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
ReadStream<JsonObject> |
MongoClient.findBatch(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
ReadStream<JsonObject> |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeDocument(String collection,
JsonObject query)
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocument(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.replaceDocuments(String collection,
JsonObject query,
JsonObject replace)
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocuments(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
Single<Long> |
MongoClient.rxCount(String collection,
JsonObject query)
Count matching documents in a collection.
|
Single<Void> |
MongoClient.rxCreateIndex(String collection,
JsonObject key)
Creates an index.
|
Single<Void> |
MongoClient.rxCreateIndexWithOptions(String collection,
JsonObject key,
IndexOptions options)
Creates an index.
|
Single<JsonArray> |
MongoClient.rxDistinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Gets the distinct values of the specified field name filtered by specified query.
|
Single<List<JsonObject>> |
MongoClient.rxFind(String collection,
JsonObject query)
Find matching documents in the specified collection
|
Single<JsonObject> |
MongoClient.rxFindOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
Single<JsonObject> |
MongoClient.rxFindOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and replace it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
Single<JsonObject> |
MongoClient.rxFindOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Find a single matching document in the specified collection and update it.
|
Single<List<JsonObject>> |
MongoClient.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
Single<String> |
MongoClient.rxInsert(String collection,
JsonObject document)
Insert a document in the specified collection
|
Single<String> |
MongoClient.rxInsertWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Insert a document in the specified collection with the specified write option
|
Single<Void> |
MongoClient.rxRemove(String collection,
JsonObject query)
Deprecated.
|
Single<MongoClientDeleteResult> |
MongoClient.rxRemoveDocument(String collection,
JsonObject query)
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
Single<MongoClientDeleteResult> |
MongoClient.rxRemoveDocuments(String collection,
JsonObject query)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
Single<MongoClientDeleteResult> |
MongoClient.rxRemoveDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
Single<MongoClientDeleteResult> |
MongoClient.rxRemoveDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
Single<Void> |
MongoClient.rxRemoveOne(String collection,
JsonObject query)
Deprecated.
|
Single<Void> |
MongoClient.rxRemoveOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Single<Void> |
MongoClient.rxRemoveWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Single<Void> |
MongoClient.rxReplace(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
Single<MongoClientUpdateResult> |
MongoClient.rxReplaceDocuments(String collection,
JsonObject query,
JsonObject replace)
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
Single<MongoClientUpdateResult> |
MongoClient.rxReplaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
Single<Void> |
MongoClient.rxReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
Single<JsonObject> |
MongoClient.rxRunCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
Single<String> |
MongoClient.rxSave(String collection,
JsonObject document)
Save a document in the specified collection
|
Single<String> |
MongoClient.rxSaveWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Save a document in the specified collection with the specified write option
|
Single<Void> |
MongoClient.rxUpdate(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
Single<MongoClientUpdateResult> |
MongoClient.rxUpdateCollection(String collection,
JsonObject query,
JsonObject update)
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
Single<MongoClientUpdateResult> |
MongoClient.rxUpdateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
Single<Void> |
MongoClient.rxUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document)
Save a document in the specified collection
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.updateCollection(String collection,
JsonObject query,
JsonObject update)
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollection(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RoutingContext.getBodyAsJson() |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RequestParameter.getJsonObject()
Returns null if value is not a JsonObject, otherwise it returns value
|
JsonObject |
RequestParameters.toJson()
This method converts RequestParameters in an unique JsonObject with 6 fields: cookie, path, query, header, form, body
cookie, path, query, header, form are JsonObject where keys are param names and values are param values, while body depends on body's shape and may not exist |
| Modifier and Type | Method and Description |
|---|---|
RouterFactory |
RouterFactory.setExtraOperationContextPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
When set, this function is called while creating the payload of
OperationRequest |
| Modifier and Type | Method and Description |
|---|---|
static void |
OpenAPI3RouterFactory.create(Vertx vertx,
String url,
List<JsonObject> auth)
Create a new OpenAPI3RouterFactory
|
static void |
OpenAPI3RouterFactory.create(Vertx vertx,
String url,
List<JsonObject> auth,
Handler<AsyncResult<OpenAPI3RouterFactory>> handler)
Create a new OpenAPI3RouterFactory
|
static Single<OpenAPI3RouterFactory> |
OpenAPI3RouterFactory.rxCreate(Vertx vertx,
String url,
List<JsonObject> auth)
Create a new OpenAPI3RouterFactory
|
RouterFactory |
OpenAPI3RouterFactory.setExtraOperationContextPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
When set, this function is called while creating the payload of
OperationRequest |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
HttpResponse.bodyAsJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
Single<HttpResponse<T>> |
HttpRequest.rxSendJsonObject(JsonObject body)
Like
HttpRequest.send(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.ext.web.client.HttpResponse<T>>>) but with an HTTP request body object encoded as json and the content type
set to application/json. |
void |
HttpRequest.sendJsonObject(JsonObject body)
Like
HttpRequest.send(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.ext.web.client.HttpResponse<T>>>) but with an HTTP request body object encoded as json and the content type
set to application/json. |
void |
HttpRequest.sendJsonObject(JsonObject body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.ext.web.client.HttpResponse<T>>>) but with an HTTP request body object encoded as json and the content type
set to application/json. |
| Modifier and Type | Method and Description |
|---|---|
static BodyCodec<JsonObject> |
BodyCodec.jsonObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
TemplateEngine.render(JsonObject context,
String templateFileName)
Render the template.
|
void |
TemplateEngine.render(JsonObject context,
String templateFileName,
Handler<AsyncResult<Buffer>> handler)
Render the template.
|
Single<Buffer> |
TemplateEngine.rxRender(JsonObject context,
String templateFileName)
Render the template.
|
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
AuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
BasicAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
DigestAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
JWTAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
RedirectAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
ChainAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<JsonObject> |
OAuth2AuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2AuthHandler |
OAuth2AuthHandler.extraParams(JsonObject extraParams)
Extra parameters needed to be passed while requesting a token.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
BasicAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
DigestAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
JWTAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
RedirectAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
ChainAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
OAuth2AuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ApolloWSMessage.content() |
| Modifier and Type | Method and Description |
|---|---|
BridgeEvent |
BridgeEvent.setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
| Modifier and Type | Method and Description |
|---|---|
static SessionStore |
SessionStore.create(Vertx vertx,
JsonObject options)
Create a Session store given a backend and configuration JSON.
|
SessionStore |
SessionStore.init(Vertx vertx,
JsonObject options)
Initialize this store.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
MetricsService.getMetricsSnapshot()
Will return the metrics that correspond with the
measured object, null if no metrics is available. |
JsonObject |
MetricsService.getMetricsSnapshot(String baseName)
Will return the metrics that begins with the
baseName, null if no metrics is available. |
| Modifier and Type | Method and Description |
|---|---|
Single<JsonObject> |
RabbitMQClient.rxBasicAck(long deliveryTag,
boolean multiple)
Acknowledge one or several received messages.
|
Single<JsonObject> |
RabbitMQClient.rxBasicGet(String queue,
boolean autoAck)
Retrieve a message from a queue using AMQP.Basic.Get
|
Single<JsonObject> |
RabbitMQClient.rxBasicNack(long deliveryTag,
boolean multiple,
boolean requeue)
Reject one or several received messages.
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete)
Declare a queue
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config)
Declare a queue with config options
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeclareAuto()
Actively declare a server-named exclusive, autodelete, non-durable queue.
|
Single<JsonObject> |
RabbitMQClient.rxQueueDelete(String queue)
Delete a queue, without regard for whether it is in use or has messages on it
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeleteIf(String queue,
boolean ifUnused,
boolean ifEmpty)
Delete a queue
|
| Modifier and Type | Method and Description |
|---|---|
void |
RabbitMQClient.basicPublish(String exchange,
String routingKey,
JsonObject message)
Publish a message.
|
void |
RabbitMQClient.basicPublish(String exchange,
String routingKey,
JsonObject message,
Handler<AsyncResult<Void>> resultHandler)
Publish a message.
|
void |
RabbitMQClient.exchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
JsonObject config)
Declare an exchange with additional parameters such as dead lettering, an alternate exchange or TTL.
|
void |
RabbitMQClient.exchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<Void>> resultHandler)
Declare an exchange with additional parameters such as dead lettering, an alternate exchange or TTL.
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config)
Declare a queue with config options
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue with config options
|
Single<Void> |
RabbitMQClient.rxBasicPublish(String exchange,
String routingKey,
JsonObject message)
Publish a message.
|
Single<Void> |
RabbitMQClient.rxExchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
JsonObject config)
Declare an exchange with additional parameters such as dead lettering, an alternate exchange or TTL.
|
Single<JsonObject> |
RabbitMQClient.rxQueueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config)
Declare a queue with config options
|
| Modifier and Type | Method and Description |
|---|---|
void |
RabbitMQClient.basicAck(long deliveryTag,
boolean multiple,
Handler<AsyncResult<JsonObject>> resultHandler)
Acknowledge one or several received messages.
|
void |
RabbitMQClient.basicGet(String queue,
boolean autoAck,
Handler<AsyncResult<JsonObject>> resultHandler)
Retrieve a message from a queue using AMQP.Basic.Get
|
void |
RabbitMQClient.basicNack(long deliveryTag,
boolean multiple,
boolean requeue,
Handler<AsyncResult<JsonObject>> resultHandler)
Reject one or several received messages.
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue with config options
|
void |
RabbitMQClient.queueDeclareAuto(Handler<AsyncResult<JsonObject>> resultHandler)
Actively declare a server-named exclusive, autodelete, non-durable queue.
|
void |
RabbitMQClient.queueDelete(String queue,
Handler<AsyncResult<JsonObject>> resultHandler)
Delete a queue, without regard for whether it is in use or has messages on it
|
void |
RabbitMQClient.queueDeleteIf(String queue,
boolean ifUnused,
boolean ifEmpty,
Handler<AsyncResult<JsonObject>> resultHandler)
Delete a queue
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceDiscovery.getRecord(JsonObject filter)
Lookups for a single record.
|
void |
ServiceDiscovery.getRecord(JsonObject filter,
Handler<AsyncResult<Record>> resultHandler)
Lookups for a single record.
|
void |
ServiceDiscovery.getRecords(JsonObject filter)
Lookups for a set of records.
|
void |
ServiceDiscovery.getRecords(JsonObject filter,
Handler<AsyncResult<List<Record>>> resultHandler)
Lookups for a set of records.
|
ServiceReference |
ServiceDiscovery.getReferenceWithConfiguration(Record record,
JsonObject configuration)
Gets a service reference from the given record, the reference is configured with the given json object.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
JsonObject configuration)
Registers a discovery bridge.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
JsonObject configuration,
Handler<AsyncResult<Void>> completionHandler)
Registers a discovery bridge.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
JsonObject configuration)
Registers a discovery service importer.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
JsonObject configuration,
Handler<AsyncResult<Void>> completionHandler)
Registers a discovery service importer.
|
Single<Record> |
ServiceDiscovery.rxGetRecord(JsonObject filter)
Lookups for a single record.
|
Single<List<Record>> |
ServiceDiscovery.rxGetRecords(JsonObject filter)
Lookups for a set of records.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceExporter.init(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> future)
Starts the exporter.
|
void |
ServiceImporter.start(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> future)
Starts the importer.
|
| Modifier and Type | Method and Description |
|---|---|
static Record |
HttpEndpoint.createRecord(String name,
boolean ssl,
String host,
int port,
String root,
JsonObject metadata)
Same as
HttpEndpoint.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 Record |
MongoDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata)
Convenient method to create a record for a Mongo data source.
|
static Record |
RedisDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata)
Convenient method to create a record for a Redis data source.
|
static Record |
JDBCDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata) |
static Record |
HttpEndpoint.createRecord(String name,
String host,
int port,
String root,
JsonObject metadata)
Convenient method to create a record for a HTTP endpoint.
|
static Record |
EventBusService.createRecord(String name,
String address,
String itf,
JsonObject metadata)
Sugar method to creates a record for this type.
|
static Record |
MessageSource.createRecord(String name,
String address,
String type,
JsonObject metadata)
Create a record representing a data producer.
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static <T> void |
MessageSource.getConsumer(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a message source and provides the configured .
|
static <T> void |
MessageSource.getConsumer(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MessageConsumer<T>>> resultHandler)
Convenient method that looks for a message source and provides the configured .
|
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static <T> T |
EventBusService.getServiceProxyWithJsonFilter(ServiceDiscovery discovery,
JsonObject filter,
Class<T> clientClass,
Handler<AsyncResult<T>> resultHandler)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<HttpClient> |
HttpEndpoint.rxGetClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<HttpClient> |
HttpEndpoint.rxGetClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<HttpClient> |
HttpEndpoint.rxGetClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static <T> Single<MessageConsumer<T>> |
MessageSource.rxGetConsumer(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a message source and provides the configured .
|
static Single<JDBCClient> |
JDBCDataSource.rxGetJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static Single<JDBCClient> |
JDBCDataSource.rxGetJDBCClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static Single<JDBCClient> |
JDBCDataSource.rxGetJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static Single<MongoClient> |
MongoDataSource.rxGetMongoClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static Single<MongoClient> |
MongoDataSource.rxGetMongoClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static Single<WebClient> |
HttpEndpoint.rxGetWebClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<WebClient> |
HttpEndpoint.rxGetWebClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static Single<WebClient> |
HttpEndpoint.rxGetWebClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RecordConverter.encode(Record value) |
JsonObject |
ServiceDiscoveryOptionsConverter.encode(ServiceDiscoveryOptions value) |
JsonObject |
ServiceDiscoveryOptions.getBackendConfiguration() |
JsonObject |
Record.getLocation() |
JsonObject |
Record.getMetadata()
Gets the metadata attached to the record.
|
JsonObject |
ServiceDiscoveryOptions.toJson()
Builds the JSON representation for the current
ServiceDiscoveryOptions. |
JsonObject |
Record.toJson() |
| Modifier and Type | Method and Description |
|---|---|
ServiceDiscoveryOptions |
ServiceDiscoveryOptionsConverter.decode(JsonObject value) |
Record |
RecordConverter.decode(JsonObject value) |
void |
ServiceDiscovery.getRecord(JsonObject filter,
Handler<AsyncResult<Record>> resultHandler)
Lookups for a single record.
|
void |
ServiceDiscovery.getRecords(JsonObject filter,
Handler<AsyncResult<List<Record>>> resultHandler)
Lookups for a set of records.
|
ServiceReference |
ServiceDiscovery.getReferenceWithConfiguration(Record record,
JsonObject configuration)
Gets a service reference from the given record, the reference is configured with the given json object.
|
boolean |
Record.match(JsonObject filter)
Checks whether or not the current
Record matches the filter. |
ServiceDiscovery |
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
JsonObject configuration)
Registers a discovery bridge.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
JsonObject configuration,
Handler<AsyncResult<Void>> completionHandler)
Registers a discovery bridge.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
JsonObject configuration)
Registers a discovery service importer.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
JsonObject configuration,
Handler<AsyncResult<Void>> completionHandler)
Registers a discovery service importer.
|
ServiceDiscoveryOptions |
ServiceDiscoveryOptions.setBackendConfiguration(JsonObject backendConfiguration)
Sets the configuration passed to the
ServiceDiscoveryBackend. |
Record |
Record.setLocation(JsonObject location)
Sets the json object describing the location of the service.
|
Record |
Record.setMetadata(JsonObject metadata) |
static void |
RecordConverter.toJson(Record obj,
JsonObject json) |
static void |
ServiceDiscoveryOptionsConverter.toJson(ServiceDiscoveryOptions obj,
JsonObject json) |
| Constructor and Description |
|---|
Record(JsonObject json)
Creates a new
Record from its json representation. |
ServiceDiscoveryOptions(JsonObject json)
Creates a new instance of
ServiceDiscoveryOptions from its JSON representation. |
| Modifier and Type | Method and Description |
|---|---|
void |
RedisBackendService.init(Vertx vertx,
JsonObject configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConsulServiceImporter.start(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> completion) |
| Modifier and Type | Method and Description |
|---|---|
void |
DockerLinksServiceImporter.start(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> completion) |
| Modifier and Type | Method and Description |
|---|---|
void |
KubernetesServiceImporter.start(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> completion) |
| Modifier and Type | Method and Description |
|---|---|
ServiceReference |
ServiceType.get(Vertx vertx,
ServiceDiscovery discovery,
Record record,
JsonObject configuration)
Gets the `service` for the given record.
|
void |
ServiceDiscoveryBackend.init(Vertx vertx,
JsonObject config)
Initializes the backend.
|
void |
ServiceExporter.init(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> future)
Starts the exporter.
|
void |
ServiceImporter.start(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Promise<Void> future)
Starts the importer.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
HttpLocationConverter.encode(HttpLocation value) |
JsonObject |
HttpLocation.toJson() |
| Modifier and Type | Method and Description |
|---|---|
static Record |
HttpEndpoint.createRecord(String name,
boolean ssl,
String host,
int port,
String root,
JsonObject metadata)
Same as
HttpEndpoint.createRecord(String, String, int, String, JsonObject) but let you configure whether or not the
service is using https. |
static Record |
MongoDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata)
Convenient method to create a record for a Mongo data source.
|
static Record |
RedisDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata)
Convenient method to create a record for a Redis data source.
|
static Record |
JDBCDataSource.createRecord(String name,
JsonObject location,
JsonObject metadata) |
static Record |
EventBusService.createRecord(String name,
String address,
Class itf,
JsonObject metadata)
Sugar method to creates a record for this type.
|
static Record |
MessageSource.createRecord(String name,
String address,
Class type,
JsonObject metadata)
Create a record representing a data producer.
|
static Record |
HttpEndpoint.createRecord(String name,
String host,
int port,
String root,
JsonObject metadata)
Convenient method to create a record for a HTTP endpoint.
|
static Record |
EventBusService.createRecord(String name,
String address,
String itf,
JsonObject metadata)
Sugar method to creates a record for this type.
|
static Record |
MessageSource.createRecord(String name,
String address,
String type,
JsonObject metadata)
Create a record representing a data producer.
|
HttpLocation |
HttpLocationConverter.decode(JsonObject value) |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient. |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient. |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient. |
static <T> void |
MessageSource.getConsumer(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MessageConsumer<T>>> resultHandler)
Convenient method that looks for a message source and provides the configured
MessageConsumer. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis. |
static <T> T |
EventBusService.getServiceProxyWithJsonFilter(ServiceDiscovery discovery,
JsonObject filter,
Class<T> clientClass,
Handler<AsyncResult<T>> resultHandler)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
WebClient. |
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured .
|
static void |
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf,
Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
WebClient. |
static void |
HttpLocationConverter.toJson(HttpLocation obj,
JsonObject json) |
| Constructor and Description |
|---|
HttpLocation(JsonObject json)
Creates a new
HttpLocation from the given json object |
| Modifier and Type | Field and Description |
|---|---|
protected MessageConsumer<JsonObject> |
ProxyHandler.consumer |
| Modifier and Type | Method and Description |
|---|---|
static JsonObject |
HelperUtils.generateDebugInfo(Throwable cause) |
JsonObject |
ServiceException.getDebugInfo()
Get the Debugging information provided to this ServiceException
|
| Modifier and Type | Method and Description |
|---|---|
Future<Message<JsonObject>> |
ServiceJWTInterceptor.apply(Message<JsonObject> msg) |
<T> MessageConsumer<JsonObject> |
ServiceBinder.register(Class<T> clazz,
T service)
Registers a service on the event bus.
|
MessageConsumer<JsonObject> |
ProxyHandler.register(EventBus eventBus,
String address)
Register the proxy handle on the event bus.
|
MessageConsumer<JsonObject> |
ProxyHandler.register(EventBus eventBus,
String address,
List<java.util.function.Function<Message<JsonObject>,Future<Message<JsonObject>>>> interceptors)
Register the proxy handle on the event bus.
|
<T> MessageConsumer<JsonObject> |
ServiceBinder.registerLocal(Class<T> clazz,
T service)
Registers a local service on the event bus.
|
MessageConsumer<JsonObject> |
ProxyHandler.registerLocal(EventBus eventBus,
String address)
Register the local proxy handle on the event bus.
|
MessageConsumer<JsonObject> |
ProxyHandler.registerLocal(EventBus eventBus,
String address,
List<java.util.function.Function<Message<JsonObject>,Future<Message<JsonObject>>>> interceptors)
Register the local proxy handle on the event bus.
|
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address)
Deprecated.
Registers a local service on the event bus.
|
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
|
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
|
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address)
Deprecated.
Registers a service on the event bus.
|
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
|
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Character> |
ProxyUtils.convertToMapChar(JsonObject obj) |
static <T> AsyncResult<T> |
ServiceException.fail(int failureCode,
String message,
JsonObject debugInfo)
Create a failed Future containing a ServiceException.
|
| Constructor and Description |
|---|
ServiceException(int failureCode,
String message,
JsonObject debugInfo) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ZookeeperClusterManager.getConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
ZookeeperClusterManager.setConfig(JsonObject conf) |
| Constructor and Description |
|---|
ZookeeperClusterManager(JsonObject config) |
| Modifier and Type | Method and Description |
|---|---|
OpenTracingOptions |
OpenTracingTracerFactory.newOptions(JsonObject jsonObject) |
| Constructor and Description |
|---|
OpenTracingOptions(JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
TracingOptions |
ZipkinTracerFactory.newOptions(JsonObject jsonObject) |
| Constructor and Description |
|---|
HttpSenderOptions(JsonObject json) |
ZipkinTracingOptions(JsonObject json) |
Copyright © 2019 Eclipse. All rights reserved.