Modifier and Type | Method and Description |
---|---|
JsonObject |
AmqpMessage.applicationProperties() |
JsonObject |
AmqpMessage.bodyAsJsonObject() |
JsonObject |
AmqpReceiverOptions.toJson() |
JsonObject |
AmqpClientOptions.toJson() |
JsonObject |
AmqpSenderOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
AmqpMessageBuilder |
AmqpMessageBuilder.applicationProperties(JsonObject props) |
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 |
AmqpBridgeOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
static void |
AmqpBridgeOptionsConverter.toJson(AmqpBridgeOptions obj,
JsonObject json) |
Constructor and Description |
---|
AmqpBridgeOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
CassandraClientOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
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 |
CircuitBreakerOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
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 |
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)
Deprecated.
removed in Vert.x 4 for
ConfigRetriever#getConfig() method that returns a Future<JsonObject>
in 3.x you can use instead Future.future(retriever::getConfig) |
Modifier and Type | Method and Description |
---|---|
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 |
Secret.getData() |
JsonObject |
Lookup.getMetadata() |
JsonObject |
Auth.getMetadata() |
JsonObject |
TokenRequest.toJson() |
JsonObject |
TokenRequest.toPayload() |
Modifier and Type | Method and Description |
---|---|
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 |
DeploymentOptions.getConfig()
Get the JSON configuration that will be passed to the verticle(s) when deployed.
|
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. |
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 |
Argument.toJson()
Exports this
Argument to its corresponding JSON representation. |
JsonObject |
Option.toJson()
Gets the json representation of this
Option . |
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 |
Constructor and Description |
---|
DatagramSocketOptions(JsonObject json)
Constructor to create options from JSON
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
DnsClientOptions.toJson() |
JsonObject |
AddressResolverOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
static void |
DnsClientOptionsConverter.toJson(DnsClientOptions obj,
JsonObject json) |
Constructor and Description |
---|
AddressResolverOptions(JsonObject json) |
DnsClientOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
EventBusOptions.toJson()
Builds a JSON object representing the current
EventBusOptions . |
JsonObject |
DeliveryOptions.toJson()
Convert to JSON.
|
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 |
FileSystemOptions.toJson()
Builds a JSON object representing the current
FileSystemOptions . |
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 |
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 |
---|---|
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.
|
JsonArray |
JsonArray.set(int pos,
JsonObject value)
Set a JSON object to the JSON array at position
pos . |
Modifier and Type | Method and Description |
---|---|
JsonObject |
MetricsOptions.toJson() |
Constructor and Description |
---|
MetricsOptions(JsonObject json)
Create an instance from a
JsonObject |
Modifier and Type | Method and Description |
---|---|
JsonObject |
TCPSSLOptions.toJson()
Convert to JSON
|
JsonObject |
NetServerOptions.toJson()
Convert to JSON
|
JsonObject |
ClientOptionsBase.toJson()
Convert to JSON
|
JsonObject |
JdkSSLEngineOptions.toJson() |
JsonObject |
KeyStoreOptions.toJson()
Convert to JSON
|
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 |
ProxyOptions.toJson()
Convert to JSON
|
JsonObject |
OpenSSLEngineOptions.toJson() |
JsonObject |
PemTrustOptions.toJson()
Convert to JSON
|
Modifier and Type | Method and Description |
---|---|
static void |
JksOptionsConverter.toJson(JksOptions obj,
JsonObject json) |
static void |
KeyStoreOptionsConverter.toJson(KeyStoreOptions obj,
JsonObject json) |
Constructor and Description |
---|
ClientOptionsBase(JsonObject json)
Create options from some JSON
|
JdkSSLEngineOptions(JsonObject json) |
JksOptions(JsonObject json)
Create options from JSON
|
KeyStoreOptions(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 MetricsOptions |
VertxMetricsFactory.newOptions(JsonObject jsonObject)
Create metrics options from the provided
jsonObject . |
Modifier and Type | Method and Description |
---|---|
JsonObject |
DB2ConnectOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
static void |
DB2ConnectOptionsConverter.toJson(DB2ConnectOptions obj,
JsonObject json) |
Constructor and Description |
---|
DB2ConnectOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
static AsyncSQLClient |
PostgreSQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a PostgreSQL client which maintains its own pool.
|
static AsyncSQLClient |
MySQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a MySQL client which maintains its own pool.
|
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config)
Like
PostgreSQLClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default pool name |
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config)
Like
MySQLClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default pool name |
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool name.
|
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a MySQL client which shares its data source with any other MySQL clients created with the same
data source name
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
JWTOptions.getHeader() |
JsonObject |
User.principal()
Get the underlying principal for the User.
|
JsonObject |
JWTOptions.toJSON() |
Modifier and Type | Method and Description |
---|---|
void |
AuthProvider.authenticate(JsonObject authInfo,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
JWTOptions |
JWTOptions.setHeader(JsonObject header) |
static void |
JWTOptionsConverter.toJson(JWTOptions obj,
JsonObject json) |
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 |
---|
JWTOptions(JsonObject json) |
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 |
HtpasswdAuthOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
static void |
HtpasswdAuthOptionsConverter.toJson(HtpasswdAuthOptions obj,
JsonObject json) |
Constructor and Description |
---|
HtpasswdAuthOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
JDBCAuthOptions.getConfig()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JDBCAuthOptions |
JDBCAuthOptions.setConfig(JsonObject config)
Deprecated.
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)
Deprecated.
|
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.
|
default String |
JWTAuth.generateToken(JsonObject claims)
Generate a new JWT token.
|
String |
JWTAuth.generateToken(JsonObject claims,
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 |
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()
Deprecated.
The Access Token if present parsed as a JsonObject
|
static JsonObject |
KeycloakHelper.accessToken(JsonObject principal)
Deprecated.
Get decoded `access_token` from the principal.
|
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()
Deprecated.
The Id Token if present parsed as a JsonObject
|
static JsonObject |
KeycloakHelper.idToken(JsonObject principal)
Deprecated.
Get decoded `id_token` from the principal.
|
JsonObject |
OAuth2Response.jsonObject()
The HTTP response body as a JsonObject
|
static JsonObject |
KeycloakHelper.parseToken(String token)
Deprecated.
Parse the token string with base64 decoder.
|
JsonObject |
AccessToken.refreshToken()
Deprecated.
refresh tokens are specific to the provider and should not be
handled by the consumer. Tokens are still available as an
opaque string.
|
Modifier and Type | Method and Description |
---|---|
static JsonObject |
KeycloakHelper.accessToken(JsonObject principal)
Deprecated.
Get decoded `access_token` from the principal.
|
static String |
KeycloakHelper.acr(JsonObject principal)
Deprecated.
|
static Set<String> |
KeycloakHelper.allowedOrigins(JsonObject principal)
Deprecated.
|
String |
OAuth2Auth.authorizeURL(JsonObject params)
Generate a redirect URL to the authN/Z backend.
|
static int |
KeycloakHelper.authTime(JsonObject principal)
Deprecated.
|
static OAuth2Auth |
OAuth2Auth.createKeycloak(Vertx vertx,
OAuth2FlowType flow,
JsonObject config)
Deprecated.
You should use the provider helper
KeycloakAuth instead.
Create a OAuth2 auth provider |
static String |
KeycloakHelper.email(JsonObject principal)
Deprecated.
|
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload,
Handler<AsyncResult<OAuth2Response>> callback)
Deprecated.
Fetches a JSON resource using this Access Token.
|
void |
OAuth2Auth.getToken(JsonObject params,
Handler<AsyncResult<AccessToken>> handler)
Deprecated.
use
AuthProvider.authenticate(JsonObject, Handler) instead. |
static JsonObject |
KeycloakHelper.idToken(JsonObject principal)
Deprecated.
Get decoded `id_token` from the principal.
|
static String |
KeycloakHelper.name(JsonObject principal)
Deprecated.
|
static String |
KeycloakHelper.nickName(JsonObject principal)
Deprecated.
|
static String |
KeycloakHelper.preferredUsername(JsonObject principal)
Deprecated.
|
static String |
KeycloakHelper.rawAccessToken(JsonObject principal)
Deprecated.
Get raw `access_token` string from the principal.
|
static String |
KeycloakHelper.rawIdToken(JsonObject principal)
Deprecated.
Get raw `id_token` string from the principal.
|
static String |
KeycloakHelper.sessionState(JsonObject principal)
Deprecated.
|
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)
Deprecated.
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 |
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 |
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 |
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 |
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 |
---|---|
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
|
ConsulService |
ConsulService.agentInfo(Handler<AsyncResult<JsonObject>> resultHandler) |
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 |
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 |
---|---|
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 |
Status.getData() |
JsonObject |
Status.toJson()
Builds the JSON representation of the current
Status instance. |
Modifier and Type | Method and Description |
---|---|
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.create(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Deprecated.
use
JDBCClient.create(Vertx, JsonObject) instead |
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
|
Constructor and Description |
---|
MailAttachment(JsonObject json)
create a MailAttachment object from a JsonObject representation
|
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 |
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 |
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 . |
default ReadStream<JsonObject> |
MongoService.aggregate(String collection,
JsonArray pipeline) |
ReadStream<JsonObject> |
MongoClient.aggregateWithOptions(String collection,
JsonArray pipeline,
AggregateOptions options)
Run aggregate MongoDB command.
|
default ReadStream<JsonObject> |
MongoService.aggregateWithOptions(String collection,
JsonArray pipeline,
AggregateOptions options) |
ReadStream<JsonObject> |
MongoClient.distinctBatch(String collection,
String fieldName,
String resultClassname)
Gets the distinct values of the specified field name.
|
default ReadStream<JsonObject> |
MongoService.distinctBatch(String collection,
String fieldName,
String resultClassname) |
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.
|
default ReadStream<JsonObject> |
MongoService.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject 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.
|
default ReadStream<JsonObject> |
MongoService.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
int batchSize) |
ReadStream<JsonObject> |
MongoClient.findBatch(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
default ReadStream<JsonObject> |
MongoService.findBatch(String collection,
JsonObject query) |
ReadStream<JsonObject> |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
default ReadStream<JsonObject> |
MongoService.findBatchWithOptions(String collection,
JsonObject query,
FindOptions 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.
|
MongoService |
MongoService.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler) |
static MongoClient |
MongoClient.create(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
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.
|
MongoService |
MongoService.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler) |
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoService |
MongoService.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler) |
static BulkOperation |
BulkOperation.createInsert(JsonObject document)
Create a new insert operation with the given document
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Deprecated.
use
MongoClient.create(Vertx, JsonObject) instead |
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
|
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.
|
default ReadStream<JsonObject> |
MongoService.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject 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.
|
default ReadStream<JsonObject> |
MongoService.distinctBatchWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
int batchSize) |
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.
|
MongoService |
MongoService.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
Handler<AsyncResult<JsonArray>> resultHandler) |
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoService |
MongoService.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
ReadStream<JsonObject> |
MongoClient.findBatch(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
default ReadStream<JsonObject> |
MongoService.findBatch(String collection,
JsonObject query) |
ReadStream<JsonObject> |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
default ReadStream<JsonObject> |
MongoService.findBatchWithOptions(String collection,
JsonObject query,
FindOptions 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
|
MongoService |
MongoService.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoService |
MongoService.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoService |
MongoService.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoService |
MongoService.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler) |
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
|
MongoService |
MongoService.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
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.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.removeDocument(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoService |
MongoService.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
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
|
MongoService |
MongoService.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
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
|
MongoService |
MongoService.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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.
|
MongoService |
MongoService.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.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.replaceDocuments(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
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
|
MongoService |
MongoService.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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.
|
MongoService |
MongoService.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoService |
MongoService.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler) |
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
|
MongoService |
MongoService.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
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.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.updateCollection(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
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
|
MongoService |
MongoService.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoService |
MongoService.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoService |
MongoService.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoService |
MongoService.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
MongoService |
MongoService.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler) |
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
|
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 |
---|---|
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 |
---|---|
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 |
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 |
---|---|
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 |
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. |
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 |
TestOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
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 |
ReportingOptions.toJson() |
JsonObject |
ReportOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
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 |
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) |
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 |
RouterFactoryOptions.toJson() |
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 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 |
WebClientOptions.toJson()
Convert to JSON
|
Modifier and Type | Method and Description |
---|---|
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 void |
TemplateEngine.render(JsonObject context,
String templateFileName,
Handler<AsyncResult<Buffer>> handler)
Render the template.
|
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 |
GraphiQLHandlerOptions.getVariables() |
JsonObject |
ApolloWSOptions.toJson() |
JsonObject |
GraphQLHandlerOptions.toJson() |
JsonObject |
GraphiQLHandlerOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
|
PermittedOptions(JsonObject json)
Deprecated.
|
SockJSBridgeOptions(JsonObject json)
Constructor from JSON
|
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 |
ConsumerGroupDescription.toJson()
Convert object to JSON representation
|
JsonObject |
TopicDescription.toJson()
Convert object to JSON representation
|
JsonObject |
ListOffsetsResultInfo.toJson()
Convert object to JSON representation
|
JsonObject |
NewTopic.toJson()
Convert object to JSON representation
|
JsonObject |
ConfigSynonym.toJson()
Convert object to JSON representation
|
JsonObject |
ClusterDescription.toJson()
Convert object to JSON representation
|
JsonObject |
OffsetSpec.toJson()
Convert object to JSON representation
|
JsonObject |
MemberAssignment.toJson()
Convert object to JSON representation
|
JsonObject |
ListConsumerGroupOffsetsOptions.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 |
---|---|
static void |
ClusterDescriptionConverter.toJson(ClusterDescription obj,
JsonObject json) |
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 |
ListConsumerGroupOffsetsOptionsConverter.toJson(ListConsumerGroupOffsetsOptions obj,
JsonObject json) |
static void |
ListOffsetsResultInfoConverter.toJson(ListOffsetsResultInfo 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 |
OffsetSpecConverter.toJson(OffsetSpec obj,
JsonObject json) |
static void |
TopicDescriptionConverter.toJson(TopicDescription obj,
JsonObject json) |
Constructor and Description |
---|
ClusterDescription(JsonObject json)
Constructor (from JSON representation)
|
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)
|
ListConsumerGroupOffsetsOptions(JsonObject json)
Constructor (from JSON representation)
|
ListOffsetsResultInfo(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)
|
OffsetSpec(JsonObject json)
Constructor (from JSON representation)
|
TopicDescription(JsonObject json)
Constructor (from JSON representation)
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
MqttWill.toJson()
Convert instance in JSON
|
JsonObject |
MqttAuth.toJson()
Convert instance in JSON
|
Modifier and Type | Method and Description |
---|---|
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 |
MySQLConnectOptions.toJson() |
JsonObject |
MySQLAuthOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
static void |
MySQLAuthOptionsConverter.toJson(MySQLAuthOptions obj,
JsonObject json) |
static void |
MySQLConnectOptionsConverter.toJson(MySQLConnectOptions obj,
JsonObject json) |
Constructor and Description |
---|
MySQLAuthOptions(JsonObject json) |
MySQLConnectOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
PgNotification.toJson() |
JsonObject |
PgConnectOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
---|---|
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. |
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)
Deprecated.
|
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 |
---|---|
static AsyncSQLClient |
PostgreSQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a PostgreSQL client which maintains its own pool.
|
static AsyncSQLClient |
MySQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a MySQL client which maintains its own pool.
|
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config)
Like
PostgreSQLClient.createShared(io.vertx.reactivex.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default pool name |
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config)
Like
MySQLClient.createShared(io.vertx.reactivex.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default pool name |
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool name.
|
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a MySQL client which shares its data source with any other MySQL clients created with the same
data source name
|
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,
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,
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.
|
JsonObject |
AccessToken.refreshToken()
Deprecated.
|
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 OAuth2Auth |
OAuth2Auth.createKeycloak(Vertx vertx,
OAuth2FlowType flow,
JsonObject config)
Deprecated.
|
static String |
KeycloakHelper.email(JsonObject principal) |
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload,
Handler<AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
void |
OAuth2Auth.getToken(JsonObject params,
Handler<AsyncResult<AccessToken>> handler)
Deprecated.
|
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.
|
Single<AccessToken> |
OAuth2Auth.rxGetToken(JsonObject params)
Deprecated.
|
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
|
Single<JsonObject> |
ConsulService.rxAgentInfo() |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.agentInfo(Handler<AsyncResult<JsonObject>> resultHandler)
Returns the configuration and member information of the local agent
|
ConsulService |
ConsulService.agentInfo(Handler<AsyncResult<JsonObject>> resultHandler) |
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.create(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Deprecated.
|
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 |
---|---|
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<List<JsonObject>> |
MongoService.rxFind(String collection,
JsonObject query) |
Maybe<JsonObject> |
MongoClient.rxFindOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
Maybe<JsonObject> |
MongoService.rxFindOne(String collection,
JsonObject query,
JsonObject fields) |
Maybe<JsonObject> |
MongoClient.rxFindOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndDelete(String collection,
JsonObject query) |
Maybe<JsonObject> |
MongoClient.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions) |
Maybe<JsonObject> |
MongoClient.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace) |
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> |
MongoService.rxFindOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Maybe<JsonObject> |
MongoClient.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update) |
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.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Single<List<JsonObject>> |
MongoClient.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
Single<List<JsonObject>> |
MongoService.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options) |
Maybe<JsonObject> |
MongoClient.rxRunCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
Maybe<JsonObject> |
MongoService.rxRunCommand(String commandName,
JsonObject command) |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
MongoService |
MongoService.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler) |
static MongoClient |
MongoClient.create(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
MongoClient |
MongoClient.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoService |
MongoService.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler) |
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoService |
MongoService.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Deprecated.
|
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,
Handler<AsyncResult<JsonArray>> resultHandler)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoService |
MongoService.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
Handler<AsyncResult<JsonArray>> resultHandler) |
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoService |
MongoService.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
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
|
MongoService |
MongoService.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoService |
MongoService.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoService |
MongoService.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoService |
MongoService.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler) |
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
|
MongoService |
MongoService.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.removeDocument(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoService |
MongoService.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
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
|
MongoService |
MongoService.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
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
|
MongoService |
MongoService.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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.
|
MongoService |
MongoService.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.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.replaceDocuments(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
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
|
MongoService |
MongoService.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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.
|
MongoService |
MongoService.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler) |
Single<Long> |
MongoClient.rxCount(String collection,
JsonObject query)
Count matching documents in a collection.
|
Single<Long> |
MongoService.rxCount(String collection,
JsonObject query) |
Completable |
MongoClient.rxCreateIndex(String collection,
JsonObject key)
Creates an index.
|
Completable |
MongoService.rxCreateIndex(String collection,
JsonObject key) |
Completable |
MongoClient.rxCreateIndexWithOptions(String collection,
JsonObject key,
IndexOptions options)
Creates an index.
|
Completable |
MongoService.rxCreateIndexWithOptions(String collection,
JsonObject key,
IndexOptions options) |
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<JsonArray> |
MongoService.rxDistinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query) |
Single<List<JsonObject>> |
MongoClient.rxFind(String collection,
JsonObject query)
Find matching documents in the specified collection
|
Single<List<JsonObject>> |
MongoService.rxFind(String collection,
JsonObject query) |
Maybe<JsonObject> |
MongoClient.rxFindOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
Maybe<JsonObject> |
MongoService.rxFindOne(String collection,
JsonObject query,
JsonObject fields) |
Maybe<JsonObject> |
MongoClient.rxFindOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndDelete(String collection,
JsonObject query) |
Maybe<JsonObject> |
MongoClient.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions) |
Maybe<JsonObject> |
MongoClient.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace) |
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> |
MongoService.rxFindOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Maybe<JsonObject> |
MongoClient.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update) |
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.
|
Maybe<JsonObject> |
MongoService.rxFindOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Single<List<JsonObject>> |
MongoClient.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
Single<List<JsonObject>> |
MongoService.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options) |
Maybe<String> |
MongoClient.rxInsert(String collection,
JsonObject document)
Insert a document in the specified collection
|
Maybe<String> |
MongoService.rxInsert(String collection,
JsonObject document) |
Maybe<String> |
MongoClient.rxInsertWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Insert a document in the specified collection with the specified write option
|
Maybe<String> |
MongoService.rxInsertWithOptions(String collection,
JsonObject document,
WriteOption writeOption) |
Completable |
MongoClient.rxRemove(String collection,
JsonObject query)
Deprecated.
|
Completable |
MongoService.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> |
MongoService.rxRemoveDocument(String collection,
JsonObject query) |
Maybe<MongoClientDeleteResult> |
MongoClient.rxRemoveDocuments(String collection,
JsonObject query)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
Maybe<MongoClientDeleteResult> |
MongoService.rxRemoveDocuments(String collection,
JsonObject query) |
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> |
MongoService.rxRemoveDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption) |
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
|
Maybe<MongoClientDeleteResult> |
MongoService.rxRemoveDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption) |
Completable |
MongoClient.rxRemoveOne(String collection,
JsonObject query)
Deprecated.
|
Completable |
MongoService.rxRemoveOne(String collection,
JsonObject query)
Deprecated.
|
Completable |
MongoClient.rxRemoveOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Completable |
MongoService.rxRemoveOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Completable |
MongoClient.rxRemoveWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Completable |
MongoService.rxRemoveWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Completable |
MongoClient.rxReplace(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
Completable |
MongoService.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> |
MongoService.rxReplaceDocuments(String collection,
JsonObject query,
JsonObject replace) |
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
|
Maybe<MongoClientUpdateResult> |
MongoService.rxReplaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options) |
Completable |
MongoClient.rxReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
Completable |
MongoService.rxReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
Maybe<JsonObject> |
MongoClient.rxRunCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
Maybe<JsonObject> |
MongoService.rxRunCommand(String commandName,
JsonObject command) |
Maybe<String> |
MongoClient.rxSave(String collection,
JsonObject document)
Save a document in the specified collection
|
Maybe<String> |
MongoService.rxSave(String collection,
JsonObject document) |
Maybe<String> |
MongoClient.rxSaveWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Save a document in the specified collection with the specified write option
|
Maybe<String> |
MongoService.rxSaveWithOptions(String collection,
JsonObject document,
WriteOption writeOption) |
Completable |
MongoClient.rxUpdate(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
Completable |
MongoService.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> |
MongoService.rxUpdateCollection(String collection,
JsonObject query,
JsonObject update) |
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
|
Maybe<MongoClientUpdateResult> |
MongoService.rxUpdateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options) |
Completable |
MongoClient.rxUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
Completable |
MongoService.rxUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoService |
MongoService.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler) |
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
|
MongoService |
MongoService.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.updateCollection(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
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
|
MongoService |
MongoService.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoService |
MongoService.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoService |
MongoService.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoService |
MongoService.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
MongoService |
MongoService.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler) |
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,
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.reactivex.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.reactivex.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,
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> |
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,
Handler<AsyncResult<Void>> resultHandler)
Publish a message.
|
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
|
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 |
---|---|
Single<JsonObject> |
RedisClient.rxHgetall(String key)
Get all the fields and values in a hash
|
Single<JsonObject> |
RedisClient.rxInfo()
Get information and statistics about the server
|
Single<JsonObject> |
RedisClient.rxInfoSection(String section)
Get information and statistics about the server
|
Modifier and Type | Method and Description |
---|---|
static RedisClient |
RedisClient.create(Vertx vertx,
JsonObject config) |
RedisTransaction |
RedisTransaction.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Set multiple hash fields to multiple values
|
RedisClient |
RedisClient.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Set multiple hash fields to multiple values
|
RedisTransaction |
RedisTransaction.mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values
|
RedisClient |
RedisClient.mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values
|
RedisClient |
RedisClient.msetnx(JsonObject keyvals,
Handler<AsyncResult<Long>> handler)
Set multiple keys to multiple values, only if none of the keys exist
|
RedisTransaction |
RedisTransaction.msetnx(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values, only if none of the keys exist
|
Single<String> |
RedisTransaction.rxHmset(String key,
JsonObject values)
Set multiple hash fields to multiple values
|
Single<String> |
RedisClient.rxHmset(String key,
JsonObject values)
Set multiple hash fields to multiple values
|
Single<String> |
RedisTransaction.rxMset(JsonObject keyvals)
Set multiple keys to multiple values
|
Single<String> |
RedisClient.rxMset(JsonObject keyvals)
Set multiple keys to multiple values
|
Single<String> |
RedisTransaction.rxMsetnx(JsonObject keyvals)
Set multiple keys to multiple values, only if none of the keys exist
|
Single<Long> |
RedisClient.rxMsetnx(JsonObject keyvals)
Set multiple keys to multiple values, only if none of the keys exist
|
Modifier and Type | Method and Description |
---|---|
RedisClient |
RedisClient.hgetall(String key,
Handler<AsyncResult<JsonObject>> handler)
Get all the fields and values in a hash
|
RedisClient |
RedisClient.info(Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
RedisClient |
RedisClient.infoSection(String section,
Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
Modifier and Type | Method and Description |
---|---|
static RedisSentinel |
RedisSentinel.create(Vertx vertx,
JsonObject config) |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
Completable |
ServiceDiscovery.rxRegisterServiceExporter(ServiceExporter exporter,
JsonObject configuration)
Registers a discovery bridge.
|
Completable |
ServiceDiscovery.rxRegisterServiceImporter(ServiceImporter importer,
JsonObject configuration)
Registers a discovery service importer.
|
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,
Handler<AsyncResult<HttpClient>> resultHandler)
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,
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,
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,
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<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static <T> T |
EventBusService.getServiceProxy(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
Class<T> clientClass,
JsonObject conf,
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 <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 <T> T |
EventBusService.getServiceProxyWithJsonFilter(ServiceDiscovery discovery,
JsonObject filter,
Class<T> clientClass,
JsonObject conf,
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 .
|
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 .
|
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<RedisClient> |
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
RedisClient . |
static Single<RedisClient> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static Single<RedisClient> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
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 |
---|---|
static RedisClient |
RedisClient.create(Vertx vertx,
JsonObject config)
Deprecated.
|
RedisTransaction |
RedisTransaction.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Deprecated.
Set multiple hash fields to multiple values
|
RedisClient |
RedisClient.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Deprecated.
Set multiple hash fields to multiple values
|
RedisTransaction |
RedisTransaction.mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Deprecated.
Set multiple keys to multiple values
|
RedisClient |
RedisClient.mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Deprecated.
Set multiple keys to multiple values
|
RedisClient |
RedisClient.msetnx(JsonObject keyvals,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set multiple keys to multiple values, only if none of the keys exist
|
RedisTransaction |
RedisTransaction.msetnx(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Deprecated.
Set multiple keys to multiple values, only if none of the keys exist
|
static void |
RedisOptionsConverter.toJson(RedisOptions obj,
JsonObject json) |
Modifier and Type | Method and Description |
---|---|
RedisClient |
RedisClient.hgetall(String key,
Handler<AsyncResult<JsonObject>> handler)
Deprecated.
Get all the fields and values in a hash
|
RedisClient |
RedisClient.info(Handler<AsyncResult<JsonObject>> handler)
Deprecated.
Get information and statistics about the server
|
RedisClient |
RedisClient.infoSection(String section,
Handler<AsyncResult<JsonObject>> handler)
Deprecated.
Get information and statistics about the server
|
Constructor and Description |
---|
RedisOptions(JsonObject json)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
RedisOptions.toJson()
Converts this object to JSON notation.
|
Modifier and Type | Method and Description |
---|---|
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 |
RangeLimitOptions.toJson()
Deprecated.
|
JsonObject |
ScanOptions.toJson()
Deprecated.
|
JsonObject |
KillFilter.toJson()
Deprecated.
|
JsonObject |
GeoMember.toJson()
Deprecated.
|
JsonObject |
MigrateOptions.toJson()
Deprecated.
|
JsonObject |
GeoRadiusOptions.toJson()
Deprecated.
|
JsonObject |
BitFieldGetCommand.toJson()
Deprecated.
|
JsonObject |
BitFieldOptions.toJson()
Deprecated.
|
JsonObject |
SetOptions.toJson()
Deprecated.
|
JsonObject |
BitFieldSetCommand.toJson()
Deprecated.
|
JsonObject |
BitFieldIncrbyCommand.toJson()
Deprecated.
|
JsonObject |
SortOptions.toJson()
Deprecated.
|
JsonObject |
LimitOptions.toJson()
Deprecated.
|
Constructor and Description |
---|
BitFieldGetCommand(JsonObject obj)
Deprecated.
|
BitFieldIncrbyCommand(JsonObject obj)
Deprecated.
|
BitFieldOptions(JsonObject obj)
Deprecated.
|
BitFieldSetCommand(JsonObject obj)
Deprecated.
|
GeoMember(JsonObject obj)
Deprecated.
|
GeoRadiusOptions(JsonObject obj)
Deprecated.
|
KillFilter(JsonObject json)
Deprecated.
|
LimitOptions(JsonObject obj)
Deprecated.
|
MigrateOptions(JsonObject json)
Deprecated.
|
RangeLimitOptions(JsonObject obj)
Deprecated.
|
ScanOptions(JsonObject obj)
Deprecated.
|
SetOptions(JsonObject json)
Deprecated.
|
SortOptions(JsonObject obj)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RedisSentinel |
RedisSentinel.create(Vertx vertx,
JsonObject config)
Deprecated.
|
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)
Deprecated.
|
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 |
---|---|
static AsyncSQLClient |
PostgreSQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a PostgreSQL client which maintains its own pool.
|
static AsyncSQLClient |
MySQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a MySQL client which maintains its own pool.
|
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config)
Like
PostgreSQLClient.createShared(io.vertx.rxjava.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default pool name |
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config)
Like
MySQLClient.createShared(io.vertx.rxjava.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default pool name |
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool name.
|
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a MySQL client which shares its data source with any other MySQL clients created with the same
data source name
|
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,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
Observable<User> |
AuthProvider.authenticateObservable(JsonObject authInfo)
Deprecated.
|
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,
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.
|
JsonObject |
AccessToken.refreshToken()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Single<JsonObject> |
AccessToken.rxUserInfo()
Load the user info as per OIDC spec.
|
Observable<JsonObject> |
AccessToken.userInfoObservable()
Deprecated.
use
AccessToken.rxUserInfo() instead |
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 OAuth2Auth |
OAuth2Auth.createKeycloak(Vertx vertx,
OAuth2FlowType flow,
JsonObject config)
Deprecated.
|
static String |
KeycloakHelper.email(JsonObject principal) |
AccessToken |
AccessToken.fetch(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload,
Handler<AsyncResult<OAuth2Response>> callback)
Fetches a JSON resource using this Access Token.
|
Observable<OAuth2Response> |
AccessToken.fetchObservable(HttpMethod method,
String resource,
JsonObject headers,
Buffer payload)
Deprecated.
use
AccessToken.rxFetch(java.lang.String) instead |
void |
OAuth2Auth.getToken(JsonObject params,
Handler<AsyncResult<AccessToken>> handler)
Deprecated.
|
Observable<AccessToken> |
OAuth2Auth.getTokenObservable(JsonObject params)
Deprecated.
|
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.
|
Single<AccessToken> |
OAuth2Auth.rxGetToken(JsonObject params)
Deprecated.
|
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.create(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Deprecated.
|
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 |
---|---|
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.
|
Observable<List<JsonObject>> |
MongoClient.findObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<List<JsonObject>> |
MongoService.findObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<JsonObject> |
MongoClient.findOneAndDeleteObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<JsonObject> |
MongoService.findOneAndDeleteObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<JsonObject> |
MongoClient.findOneAndDeleteWithOptionsObservable(String collection,
JsonObject query,
FindOptions findOptions)
|
Observable<JsonObject> |
MongoService.findOneAndDeleteWithOptionsObservable(String collection,
JsonObject query,
FindOptions findOptions)
Deprecated.
|
Observable<JsonObject> |
MongoClient.findOneAndReplaceObservable(String collection,
JsonObject query,
JsonObject replace)
|
Observable<JsonObject> |
MongoService.findOneAndReplaceObservable(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
Observable<JsonObject> |
MongoClient.findOneAndReplaceWithOptionsObservable(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions)
|
Observable<JsonObject> |
MongoService.findOneAndReplaceWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Deprecated.
|
Observable<JsonObject> |
MongoClient.findOneAndUpdateObservable(String collection,
JsonObject query,
JsonObject update)
|
Observable<JsonObject> |
MongoService.findOneAndUpdateObservable(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
Observable<JsonObject> |
MongoClient.findOneAndUpdateWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
|
Observable<JsonObject> |
MongoService.findOneAndUpdateWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Deprecated.
|
Observable<JsonObject> |
MongoClient.findOneObservable(String collection,
JsonObject query,
JsonObject fields)
|
Observable<JsonObject> |
MongoService.findOneObservable(String collection,
JsonObject query,
JsonObject fields)
Deprecated.
|
Observable<List<JsonObject>> |
MongoClient.findWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
|
Observable<List<JsonObject>> |
MongoService.findWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
Deprecated.
|
Observable<JsonObject> |
MongoClient.runCommandObservable(String commandName,
JsonObject command)
Deprecated.
|
Observable<JsonObject> |
MongoService.runCommandObservable(String commandName,
JsonObject command)
Deprecated.
|
Single<List<JsonObject>> |
MongoClient.rxFind(String collection,
JsonObject query)
Find matching documents in the specified collection
|
Single<List<JsonObject>> |
MongoService.rxFind(String collection,
JsonObject query) |
Single<JsonObject> |
MongoClient.rxFindOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
Single<JsonObject> |
MongoService.rxFindOne(String collection,
JsonObject query,
JsonObject fields) |
Single<JsonObject> |
MongoClient.rxFindOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
Single<JsonObject> |
MongoService.rxFindOneAndDelete(String collection,
JsonObject query) |
Single<JsonObject> |
MongoClient.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
Single<JsonObject> |
MongoService.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions) |
Single<JsonObject> |
MongoClient.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
Single<JsonObject> |
MongoService.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace) |
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> |
MongoService.rxFindOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Single<JsonObject> |
MongoClient.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
Single<JsonObject> |
MongoService.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update) |
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<JsonObject> |
MongoService.rxFindOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Single<List<JsonObject>> |
MongoClient.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
Single<List<JsonObject>> |
MongoService.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options) |
Single<JsonObject> |
MongoClient.rxRunCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
Single<JsonObject> |
MongoService.rxRunCommand(String commandName,
JsonObject command) |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
MongoService |
MongoService.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler) |
Observable<Long> |
MongoClient.countObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<Long> |
MongoService.countObservable(String collection,
JsonObject query)
Deprecated.
|
static MongoClient |
MongoClient.create(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
MongoClient |
MongoClient.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoService |
MongoService.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler) |
Observable<Void> |
MongoClient.createIndexObservable(String collection,
JsonObject key)
Deprecated.
|
Observable<Void> |
MongoService.createIndexObservable(String collection,
JsonObject key)
Deprecated.
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoService |
MongoService.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler) |
Observable<Void> |
MongoClient.createIndexWithOptionsObservable(String collection,
JsonObject key,
IndexOptions options)
|
Observable<Void> |
MongoService.createIndexWithOptionsObservable(String collection,
JsonObject key,
IndexOptions options)
Deprecated.
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Deprecated.
|
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,
Handler<AsyncResult<JsonArray>> resultHandler)
Gets the distinct values of the specified field name filtered by specified query.
|
MongoService |
MongoService.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query,
Handler<AsyncResult<JsonArray>> resultHandler) |
Observable<JsonArray> |
MongoClient.distinctWithQueryObservable(String collection,
String fieldName,
String resultClassname,
JsonObject query)
|
Observable<JsonArray> |
MongoService.distinctWithQueryObservable(String collection,
String fieldName,
String resultClassname,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoService |
MongoService.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
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.
|
Observable<List<JsonObject>> |
MongoClient.findObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<List<JsonObject>> |
MongoService.findObservable(String collection,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoService |
MongoService.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoService |
MongoService.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler) |
Observable<JsonObject> |
MongoClient.findOneAndDeleteObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<JsonObject> |
MongoService.findOneAndDeleteObservable(String collection,
JsonObject query)
Deprecated.
|
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.
|
MongoService |
MongoService.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
Observable<JsonObject> |
MongoClient.findOneAndDeleteWithOptionsObservable(String collection,
JsonObject query,
FindOptions findOptions)
|
Observable<JsonObject> |
MongoService.findOneAndDeleteWithOptionsObservable(String collection,
JsonObject query,
FindOptions findOptions)
Deprecated.
|
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.
|
MongoService |
MongoService.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler) |
Observable<JsonObject> |
MongoClient.findOneAndReplaceObservable(String collection,
JsonObject query,
JsonObject replace)
|
Observable<JsonObject> |
MongoService.findOneAndReplaceObservable(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
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.
|
MongoService |
MongoService.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
Observable<JsonObject> |
MongoClient.findOneAndReplaceWithOptionsObservable(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions)
|
Observable<JsonObject> |
MongoService.findOneAndReplaceWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Deprecated.
|
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.
|
MongoService |
MongoService.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler) |
Observable<JsonObject> |
MongoClient.findOneAndUpdateObservable(String collection,
JsonObject query,
JsonObject update)
|
Observable<JsonObject> |
MongoService.findOneAndUpdateObservable(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
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.
|
MongoService |
MongoService.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
Observable<JsonObject> |
MongoClient.findOneAndUpdateWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
|
Observable<JsonObject> |
MongoService.findOneAndUpdateWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions)
Deprecated.
|
Observable<JsonObject> |
MongoClient.findOneObservable(String collection,
JsonObject query,
JsonObject fields)
|
Observable<JsonObject> |
MongoService.findOneObservable(String collection,
JsonObject query,
JsonObject fields)
Deprecated.
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoService |
MongoService.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
Observable<List<JsonObject>> |
MongoClient.findWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
|
Observable<List<JsonObject>> |
MongoService.findWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
Deprecated.
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoService |
MongoService.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler) |
Observable<String> |
MongoClient.insertObservable(String collection,
JsonObject document)
Deprecated.
|
Observable<String> |
MongoService.insertObservable(String collection,
JsonObject document)
Deprecated.
|
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
|
MongoService |
MongoService.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
Observable<String> |
MongoClient.insertWithOptionsObservable(String collection,
JsonObject document,
WriteOption writeOption)
|
Observable<String> |
MongoService.insertWithOptionsObservable(String collection,
JsonObject document,
WriteOption writeOption)
Deprecated.
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.removeDocument(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
Observable<MongoClientDeleteResult> |
MongoClient.removeDocumentObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<MongoClientDeleteResult> |
MongoService.removeDocumentObservable(String collection,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoService |
MongoService.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
Observable<MongoClientDeleteResult> |
MongoClient.removeDocumentsObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<MongoClientDeleteResult> |
MongoService.removeDocumentsObservable(String collection,
JsonObject query)
Deprecated.
|
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
|
MongoService |
MongoService.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
Observable<MongoClientDeleteResult> |
MongoClient.removeDocumentsWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
|
Observable<MongoClientDeleteResult> |
MongoService.removeDocumentsWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
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
|
MongoService |
MongoService.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler) |
Observable<MongoClientDeleteResult> |
MongoClient.removeDocumentWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
|
Observable<MongoClientDeleteResult> |
MongoService.removeDocumentWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Observable<Void> |
MongoClient.removeObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<Void> |
MongoService.removeObservable(String collection,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
Observable<Void> |
MongoClient.removeOneObservable(String collection,
JsonObject query)
Deprecated.
|
Observable<Void> |
MongoService.removeOneObservable(String collection,
JsonObject query)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
Observable<Void> |
MongoClient.removeOneWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
|
Observable<Void> |
MongoService.removeOneWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
Observable<Void> |
MongoClient.removeWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
|
Observable<Void> |
MongoService.removeWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.replaceDocuments(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
Observable<MongoClientUpdateResult> |
MongoClient.replaceDocumentsObservable(String collection,
JsonObject query,
JsonObject replace)
|
Observable<MongoClientUpdateResult> |
MongoService.replaceDocumentsObservable(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
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
|
MongoService |
MongoService.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
Observable<MongoClientUpdateResult> |
MongoClient.replaceDocumentsWithOptionsObservable(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
|
Observable<MongoClientUpdateResult> |
MongoService.replaceDocumentsWithOptionsObservable(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
Observable<Void> |
MongoClient.replaceObservable(String collection,
JsonObject query,
JsonObject replace)
|
Observable<Void> |
MongoService.replaceObservable(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
Observable<Void> |
MongoClient.replaceWithOptionsObservable(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
|
Observable<Void> |
MongoService.replaceWithOptionsObservable(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
MongoService |
MongoService.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler) |
Observable<JsonObject> |
MongoClient.runCommandObservable(String commandName,
JsonObject command)
Deprecated.
|
Observable<JsonObject> |
MongoService.runCommandObservable(String commandName,
JsonObject command)
Deprecated.
|
Single<Long> |
MongoClient.rxCount(String collection,
JsonObject query)
Count matching documents in a collection.
|
Single<Long> |
MongoService.rxCount(String collection,
JsonObject query) |
Single<Void> |
MongoClient.rxCreateIndex(String collection,
JsonObject key)
Creates an index.
|
Single<Void> |
MongoService.rxCreateIndex(String collection,
JsonObject key) |
Single<Void> |
MongoClient.rxCreateIndexWithOptions(String collection,
JsonObject key,
IndexOptions options)
Creates an index.
|
Single<Void> |
MongoService.rxCreateIndexWithOptions(String collection,
JsonObject key,
IndexOptions options) |
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<JsonArray> |
MongoService.rxDistinctWithQuery(String collection,
String fieldName,
String resultClassname,
JsonObject query) |
Single<List<JsonObject>> |
MongoClient.rxFind(String collection,
JsonObject query)
Find matching documents in the specified collection
|
Single<List<JsonObject>> |
MongoService.rxFind(String collection,
JsonObject query) |
Single<JsonObject> |
MongoClient.rxFindOne(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
Single<JsonObject> |
MongoService.rxFindOne(String collection,
JsonObject query,
JsonObject fields) |
Single<JsonObject> |
MongoClient.rxFindOneAndDelete(String collection,
JsonObject query)
Find a single matching document in the specified collection and delete it.
|
Single<JsonObject> |
MongoService.rxFindOneAndDelete(String collection,
JsonObject query) |
Single<JsonObject> |
MongoClient.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions)
Find a single matching document in the specified collection and delete it.
|
Single<JsonObject> |
MongoService.rxFindOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions) |
Single<JsonObject> |
MongoClient.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace)
Find a single matching document in the specified collection and replace it.
|
Single<JsonObject> |
MongoService.rxFindOneAndReplace(String collection,
JsonObject query,
JsonObject replace) |
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> |
MongoService.rxFindOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Single<JsonObject> |
MongoClient.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update)
Find a single matching document in the specified collection and update it.
|
Single<JsonObject> |
MongoService.rxFindOneAndUpdate(String collection,
JsonObject query,
JsonObject update) |
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<JsonObject> |
MongoService.rxFindOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Single<List<JsonObject>> |
MongoClient.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
Single<List<JsonObject>> |
MongoService.rxFindWithOptions(String collection,
JsonObject query,
FindOptions options) |
Single<String> |
MongoClient.rxInsert(String collection,
JsonObject document)
Insert a document in the specified collection
|
Single<String> |
MongoService.rxInsert(String collection,
JsonObject document) |
Single<String> |
MongoClient.rxInsertWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Insert a document in the specified collection with the specified write option
|
Single<String> |
MongoService.rxInsertWithOptions(String collection,
JsonObject document,
WriteOption writeOption) |
Single<Void> |
MongoClient.rxRemove(String collection,
JsonObject query)
Deprecated.
|
Single<Void> |
MongoService.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> |
MongoService.rxRemoveDocument(String collection,
JsonObject query) |
Single<MongoClientDeleteResult> |
MongoClient.rxRemoveDocuments(String collection,
JsonObject query)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
Single<MongoClientDeleteResult> |
MongoService.rxRemoveDocuments(String collection,
JsonObject query) |
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> |
MongoService.rxRemoveDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption) |
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<MongoClientDeleteResult> |
MongoService.rxRemoveDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption) |
Single<Void> |
MongoClient.rxRemoveOne(String collection,
JsonObject query)
Deprecated.
|
Single<Void> |
MongoService.rxRemoveOne(String collection,
JsonObject query)
Deprecated.
|
Single<Void> |
MongoClient.rxRemoveOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Single<Void> |
MongoService.rxRemoveOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Single<Void> |
MongoClient.rxRemoveWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Single<Void> |
MongoService.rxRemoveWithOptions(String collection,
JsonObject query,
WriteOption writeOption)
Deprecated.
|
Single<Void> |
MongoClient.rxReplace(String collection,
JsonObject query,
JsonObject replace)
Deprecated.
|
Single<Void> |
MongoService.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> |
MongoService.rxReplaceDocuments(String collection,
JsonObject query,
JsonObject replace) |
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<MongoClientUpdateResult> |
MongoService.rxReplaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options) |
Single<Void> |
MongoClient.rxReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
Single<Void> |
MongoService.rxReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Deprecated.
|
Single<JsonObject> |
MongoClient.rxRunCommand(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
Single<JsonObject> |
MongoService.rxRunCommand(String commandName,
JsonObject command) |
Single<String> |
MongoClient.rxSave(String collection,
JsonObject document)
Save a document in the specified collection
|
Single<String> |
MongoService.rxSave(String collection,
JsonObject document) |
Single<String> |
MongoClient.rxSaveWithOptions(String collection,
JsonObject document,
WriteOption writeOption)
Save a document in the specified collection with the specified write option
|
Single<String> |
MongoService.rxSaveWithOptions(String collection,
JsonObject document,
WriteOption writeOption) |
Single<Void> |
MongoClient.rxUpdate(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
Single<Void> |
MongoService.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> |
MongoService.rxUpdateCollection(String collection,
JsonObject query,
JsonObject update) |
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<MongoClientUpdateResult> |
MongoService.rxUpdateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options) |
Single<Void> |
MongoClient.rxUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
Single<Void> |
MongoService.rxUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoService |
MongoService.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler) |
Observable<String> |
MongoClient.saveObservable(String collection,
JsonObject document)
Deprecated.
|
Observable<String> |
MongoService.saveObservable(String collection,
JsonObject document)
Deprecated.
|
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
|
MongoService |
MongoService.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
Observable<String> |
MongoClient.saveWithOptionsObservable(String collection,
JsonObject document,
WriteOption writeOption)
|
Observable<String> |
MongoService.saveWithOptionsObservable(String collection,
JsonObject document,
WriteOption writeOption)
Deprecated.
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.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
|
MongoService |
MongoService.updateCollection(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
Observable<MongoClientUpdateResult> |
MongoClient.updateCollectionObservable(String collection,
JsonObject query,
JsonObject update)
|
Observable<MongoClientUpdateResult> |
MongoService.updateCollectionObservable(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
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
|
MongoService |
MongoService.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler) |
Observable<MongoClientUpdateResult> |
MongoClient.updateCollectionWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
|
Observable<MongoClientUpdateResult> |
MongoService.updateCollectionWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Deprecated.
|
Observable<Void> |
MongoClient.updateObservable(String collection,
JsonObject query,
JsonObject update)
|
Observable<Void> |
MongoService.updateObservable(String collection,
JsonObject query,
JsonObject update)
Deprecated.
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoService |
MongoService.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
Observable<Void> |
MongoClient.updateWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
|
Observable<Void> |
MongoService.updateWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
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
|
MongoService |
MongoService.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoService |
MongoService.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoService |
MongoService.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler) |
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.
|
MongoService |
MongoService.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler) |
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoService |
MongoService.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler) |
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
MongoService |
MongoService.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler) |
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,
Handler<AsyncResult<OpenAPI3RouterFactory>> handler)
Create a new OpenAPI3RouterFactory
|
static Observable<OpenAPI3RouterFactory> |
OpenAPI3RouterFactory.createObservable(Vertx vertx,
String url,
List<JsonObject> auth)
Deprecated.
|
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,
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 . |
Observable<HttpResponse<T>> |
HttpRequest.sendJsonObjectObservable(JsonObject body)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BodyCodec<JsonObject> |
BodyCodec.jsonObject() |
Modifier and Type | Method and Description |
---|---|
void |
TemplateEngine.render(JsonObject context,
String templateFileName,
Handler<AsyncResult<Buffer>> handler)
Render the template.
|
Observable<Buffer> |
TemplateEngine.renderObservable(JsonObject context,
String templateFileName)
Deprecated.
|
Single<Buffer> |
TemplateEngine.rxRender(JsonObject context,
String templateFileName)
Render the template.
|
Modifier and Type | Method and Description |
---|---|
Observable<JsonObject> |
BasicAuthHandler.parseCredentialsObservable(RoutingContext context)
Deprecated.
|
Observable<JsonObject> |
DigestAuthHandler.parseCredentialsObservable(RoutingContext context)
Deprecated.
|
Observable<JsonObject> |
JWTAuthHandler.parseCredentialsObservable(RoutingContext context)
Deprecated.
|
Observable<JsonObject> |
RedirectAuthHandler.parseCredentialsObservable(RoutingContext context)
Deprecated.
|
Observable<JsonObject> |
ChainAuthHandler.parseCredentialsObservable(RoutingContext context)
Deprecated.
|
Observable<JsonObject> |
OAuth2AuthHandler.parseCredentialsObservable(RoutingContext context)
Deprecated.
|
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 |
---|---|
Observable<JsonObject> |
RabbitMQClient.basicAckObservable(long deliveryTag,
boolean multiple)
Deprecated.
use
RabbitMQClient.rxBasicAck(long, boolean) instead |
Observable<JsonObject> |
RabbitMQClient.basicGetObservable(String queue,
boolean autoAck)
Deprecated.
|
Observable<JsonObject> |
RabbitMQClient.basicNackObservable(long deliveryTag,
boolean multiple,
boolean requeue)
Deprecated.
|
Observable<JsonObject> |
RabbitMQClient.queueDeclareAutoObservable()
Deprecated.
use
RabbitMQClient.rxQueueDeclareAuto() instead |
Observable<JsonObject> |
RabbitMQClient.queueDeclareObservable(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete)
Deprecated.
|
Observable<JsonObject> |
RabbitMQClient.queueDeclareObservable(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config)
Deprecated.
|
Observable<JsonObject> |
RabbitMQClient.queueDeleteIfObservable(String queue,
boolean ifUnused,
boolean ifEmpty)
Deprecated.
|
Observable<JsonObject> |
RabbitMQClient.queueDeleteObservable(String queue)
Deprecated.
use
RabbitMQClient.rxQueueDelete(java.lang.String) instead |
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,
Handler<AsyncResult<Void>> resultHandler)
Publish a message.
|
Observable<Void> |
RabbitMQClient.basicPublishObservable(String exchange,
String routingKey,
JsonObject message)
Deprecated.
|
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.
|
Observable<Void> |
RabbitMQClient.exchangeDeclareObservable(String exchange,
String type,
boolean durable,
boolean autoDelete,
JsonObject config)
Deprecated.
|
void |
RabbitMQClient.queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config,
Handler<AsyncResult<JsonObject>> resultHandler)
Declare a queue with config options
|
Observable<JsonObject> |
RabbitMQClient.queueDeclareObservable(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
JsonObject config)
Deprecated.
|
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 |
---|---|
Observable<JsonObject> |
RedisClient.hgetallObservable(String key)
Deprecated.
use
RedisClient.rxHgetall(java.lang.String) instead |
Observable<JsonObject> |
RedisClient.infoObservable()
Deprecated.
use
RedisClient.rxInfo() instead |
Observable<JsonObject> |
RedisClient.infoSectionObservable(String section)
Deprecated.
use
RedisClient.rxInfoSection(java.lang.String) instead |
Single<JsonObject> |
RedisClient.rxHgetall(String key)
Get all the fields and values in a hash
|
Single<JsonObject> |
RedisClient.rxInfo()
Get information and statistics about the server
|
Single<JsonObject> |
RedisClient.rxInfoSection(String section)
Get information and statistics about the server
|
Modifier and Type | Method and Description |
---|---|
static RedisClient |
RedisClient.create(Vertx vertx,
JsonObject config) |
RedisTransaction |
RedisTransaction.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Set multiple hash fields to multiple values
|
RedisClient |
RedisClient.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Set multiple hash fields to multiple values
|
Observable<String> |
RedisTransaction.hmsetObservable(String key,
JsonObject values)
Deprecated.
|
Observable<String> |
RedisClient.hmsetObservable(String key,
JsonObject values)
Deprecated.
|
RedisTransaction |
RedisTransaction.mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values
|
RedisClient |
RedisClient.mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values
|
RedisClient |
RedisClient.msetnx(JsonObject keyvals,
Handler<AsyncResult<Long>> handler)
Set multiple keys to multiple values, only if none of the keys exist
|
RedisTransaction |
RedisTransaction.msetnx(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values, only if none of the keys exist
|
Observable<String> |
RedisTransaction.msetnxObservable(JsonObject keyvals)
Deprecated.
|
Observable<Long> |
RedisClient.msetnxObservable(JsonObject keyvals)
Deprecated.
|
Observable<String> |
RedisTransaction.msetObservable(JsonObject keyvals)
Deprecated.
|
Observable<String> |
RedisClient.msetObservable(JsonObject keyvals)
Deprecated.
|
Single<String> |
RedisTransaction.rxHmset(String key,
JsonObject values)
Set multiple hash fields to multiple values
|
Single<String> |
RedisClient.rxHmset(String key,
JsonObject values)
Set multiple hash fields to multiple values
|
Single<String> |
RedisTransaction.rxMset(JsonObject keyvals)
Set multiple keys to multiple values
|
Single<String> |
RedisClient.rxMset(JsonObject keyvals)
Set multiple keys to multiple values
|
Single<String> |
RedisTransaction.rxMsetnx(JsonObject keyvals)
Set multiple keys to multiple values, only if none of the keys exist
|
Single<Long> |
RedisClient.rxMsetnx(JsonObject keyvals)
Set multiple keys to multiple values, only if none of the keys exist
|
Modifier and Type | Method and Description |
---|---|
RedisClient |
RedisClient.hgetall(String key,
Handler<AsyncResult<JsonObject>> handler)
Get all the fields and values in a hash
|
RedisClient |
RedisClient.info(Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
RedisClient |
RedisClient.infoSection(String section,
Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
Modifier and Type | Method and Description |
---|---|
static RedisSentinel |
RedisSentinel.create(Vertx vertx,
JsonObject config) |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
Single<Void> |
ServiceDiscovery.rxRegisterServiceExporter(ServiceExporter exporter,
JsonObject configuration)
Registers a discovery bridge.
|
Single<Void> |
ServiceDiscovery.rxRegisterServiceImporter(ServiceImporter importer,
JsonObject configuration)
Registers a discovery service importer.
|
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,
Handler<AsyncResult<HttpClient>> resultHandler)
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,
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,
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,
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<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static <T> T |
EventBusService.getServiceProxy(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
Class<T> clientClass,
JsonObject conf,
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 <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 <T> T |
EventBusService.getServiceProxyWithJsonFilter(ServiceDiscovery discovery,
JsonObject filter,
Class<T> clientClass,
JsonObject conf,
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 .
|
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 .
|
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<RedisClient> |
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
RedisClient . |
static Single<RedisClient> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static Single<RedisClient> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
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 |
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 |
---|---|
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 |
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.
|
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 <T> T |
EventBusService.getProxy(ServiceDiscovery discovery,
Class<T> itf,
JsonObject conf,
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 |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
RedisClient . |
static <T> T |
EventBusService.getServiceProxy(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
Class<T> clientClass,
JsonObject conf,
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 <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 <T> T |
EventBusService.getServiceProxyWithJsonFilter(ServiceDiscovery discovery,
JsonObject filter,
Class<T> clientClass,
JsonObject conf,
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 |
---|---|
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.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerLocalService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds)
Deprecated.
use instead
ServiceBinder |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
JsonObject |
PoolOptions.toJson() |
JsonObject |
SqlConnectOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
static void |
PoolOptionsConverter.toJson(PoolOptions obj,
JsonObject json) |
static void |
SqlConnectOptionsConverter.toJson(SqlConnectOptions obj,
JsonObject json) |
Constructor and Description |
---|
PoolOptions(JsonObject json) |
SqlConnectOptions(JsonObject json) |
Copyright © 2023 Eclipse. All rights reserved.