Modifier and Type | Method and Description |
---|---|
JsonObject |
AbstractVerticle.config()
Get the configuration of the verticle.
|
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 |
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 |
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
|
Constructor and Description |
---|
DeliveryOptions(JsonObject json)
Create a delivery options from JSON
|
Constructor and Description |
---|
OpenOptions(JsonObject json)
Constructor to create options from JSON
|
Constructor and Description |
---|
HttpClientOptions(JsonObject json)
Constructor to create an options from JSON
|
HttpServerOptions(JsonObject json)
Create an options from 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. |
JsonObject |
JsonObject.mergeIn(JsonObject other)
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.put(String key,
JsonObject value)
Put another JSON object into the JSON object with the specified key.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
MetricsOptions.toJson() |
Constructor and Description |
---|
MetricsOptions(JsonObject json)
Create an instance from a
JsonObject |
Constructor and Description |
---|
ClientOptionsBase(JsonObject json)
Create options from some JSON
|
JksOptions(JsonObject json)
Create options from JSON
|
NetClientOptions(JsonObject json)
Create options from JSON
|
NetServerOptions(JsonObject json)
Create some options from JSON
|
NetworkOptions(JsonObject json)
Constructor from JSON
|
PemKeyCertOptions(JsonObject json)
Create options from JSON
|
PemTrustOptions(JsonObject json)
Create options from JSON
|
PfxOptions(JsonObject json)
Create options from JSON
|
TCPSSLOptions(JsonObject json)
Create options from JSON
|
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.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
JDBCAuthOptions.getConfig() |
Modifier and Type | Method and Description |
---|---|
static void |
JDBCAuthOptionsConverter.fromJson(JsonObject json,
JDBCAuthOptions obj) |
JDBCAuthOptions |
JDBCAuthOptions.setConfig(JsonObject config)
The configuration of the JDBC client: refer to the Vert.x JDBC Client configuration.
|
static void |
JDBCAuthOptionsConverter.toJson(JDBCAuthOptions obj,
JsonObject json) |
Constructor and Description |
---|
JDBCAuthOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
JWTOptions.getHeader() |
JsonObject |
JWTOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
static JWTAuth |
JWTAuth.create(Vertx vertx,
JsonObject config)
Create a JWT auth provider
|
String |
JWTAuth.generateToken(JsonObject claims,
JWTOptions options)
Generate a new JWT token.
|
Constructor and Description |
---|
JWTOptions(JsonObject json) |
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. |
static void |
MongoAuthOptionsConverter.fromJson(JsonObject json,
MongoAuthOptions obj) |
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 |
---|---|
OAuth2Auth |
OAuth2Auth.api(HttpMethod method,
String path,
JsonObject params,
Handler<AsyncResult<JsonObject>> handler)
Call OAuth2 APIs.
|
String |
OAuth2Auth.authorizeURL(JsonObject params)
Generate a redirect URL to the authN/Z backend.
|
static OAuth2Auth |
OAuth2Auth.create(Vertx vertx,
OAuth2FlowType flow,
JsonObject config)
Create a OAuth2 auth provider
|
void |
OAuth2Auth.getToken(JsonObject params,
Handler<AsyncResult<AccessToken>> handler)
Returns the Access Token object.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Auth |
OAuth2Auth.api(HttpMethod method,
String path,
JsonObject params,
Handler<AsyncResult<JsonObject>> handler)
Call OAuth2 APIs.
|
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.
|
static void |
ShiroAuthOptionsConverter.fromJson(JsonObject json,
ShiroAuthOptions obj) |
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 |
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 |
---|---|
static void |
BridgeOptionsConverter.fromJson(JsonObject json,
BridgeOptions obj) |
static void |
PermittedOptionsConverter.fromJson(JsonObject json,
PermittedOptions obj) |
PermittedOptions |
PermittedOptions.setMatch(JsonObject match)
This allows you to allow messages based on their structure.
|
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 |
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. |
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 |
---|---|
static void |
VertxHawkularOptionsConverter.fromJson(JsonObject json,
VertxHawkularOptions obj) |
static void |
VertxHawkularOptionsConverter.toJson(VertxHawkularOptions obj,
JsonObject json) |
Constructor and Description |
---|
VertxHawkularOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config)
Like
JDBCClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default data source name |
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a JDBC client which shares its data source with any other JDBC clients created with the same
data source name
|
Modifier and Type | Method and Description |
---|---|
DataSource |
DataSourceProvider.getDataSource(JsonObject config) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
MailAttachment.toJson()
convert this object to JSON representation
|
JsonObject |
MailConfig.toJson()
convert config object to Json representation
|
JsonObject |
MailMessage.toJson()
convert the mail message to Json representation
|
JsonObject |
MailResult.toJson() |
Modifier and Type | Method and Description |
---|---|
MessageConsumer<JsonObject> |
MailServiceVertxProxyHandler.registerHandler(String address) |
Modifier and Type | Method and Description |
---|---|
void |
MailServiceVertxProxyHandler.handle(Message<JsonObject> msg) |
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 |
FindOptions.getFields()
Get the fields
|
JsonObject |
FindOptions.getSort()
Get the sort document
|
JsonObject |
FindOptions.toJson()
Convert to JSON
|
JsonObject |
UpdateOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config)
Like
MongoClient.createShared(io.vertx.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
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findBatch(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection.
|
MongoClient |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection, specifying options.
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Remove matching documents from a collection
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Remove a single matching document from a collection
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Remove a single matching document from a collection with the specified write option
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Remove matching documents from a collection with the specified write option
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Replace matching documents in the specified collection
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Replace matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection with the specified write option
|
FindOptions |
FindOptions.setFields(JsonObject fields)
Set the fields
|
FindOptions |
FindOptions.setSort(JsonObject sort)
Set the sort document
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Update matching documents in the specified collection
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Update matching documents in the specified collection, specifying options
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.distinctBatch(String collection,
String fieldName,
String resultClassname,
Handler<AsyncResult<JsonObject>> resultHandler)
Gets the distinct values of the specified field name.
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findBatch(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection.
|
MongoClient |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection, specifying options.
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
Constructor and Description |
---|
FindOptions(JsonObject json)
Constructor from JSON
|
UpdateOptions(JsonObject json)
Constructor from JSON
|
Modifier and Type | Method and Description |
---|---|
static void |
ShellServerOptionsConverter.fromJson(JsonObject json,
ShellServerOptions obj) |
static void |
ShellServiceOptionsConverter.fromJson(JsonObject json,
ShellServiceOptions obj) |
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.fromJson(JsonObject json,
HttpTermOptions obj) |
static void |
SSHTermOptionsConverter.fromJson(JsonObject json,
SSHTermOptions obj) |
static void |
TelnetTermOptionsConverter.fromJson(JsonObject json,
TelnetTermOptions obj) |
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
ResultSetConverter.fromJson(JsonObject json,
ResultSet obj) |
static void |
UpdateResultConverter.fromJson(JsonObject json,
UpdateResult obj) |
static void |
ResultSetConverter.toJson(ResultSet obj,
JsonObject json) |
static void |
UpdateResultConverter.toJson(UpdateResult obj,
JsonObject json) |
Constructor and Description |
---|
ResultSet(JsonObject json)
Create a result-set 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 |
Frame.toJson() |
JsonObject |
PermittedOptions.toJson()
Deprecated.
|
JsonObject |
StompClientOptions.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. |
static void |
FrameConverter.fromJson(JsonObject json,
Frame obj) |
static void |
StompClientOptionsConverter.fromJson(JsonObject json,
StompClientOptions obj) |
static void |
StompServerOptionsConverter.fromJson(JsonObject json,
StompServerOptions obj) |
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. |
PermittedOptions(JsonObject json)
Deprecated.
|
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.fromJson(JsonObject json,
TestOptions obj) |
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.fromJson(JsonObject json,
ReportingOptions obj) |
static void |
ReportOptionsConverter.fromJson(JsonObject json,
ReportOptions obj) |
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() |
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 |
BridgeEvent.rawMessage()
Get the raw JSON message for the event.
|
Modifier and Type | Method and Description |
---|---|
PermittedOptions |
PermittedOptions.setMatch(JsonObject match)
This allows you to allow messages based on their structure.
|
Constructor and Description |
---|
BridgeOptions(JsonObject json)
Constructor from JSON
|
PermittedOptions(JsonObject json) |
SockJSHandlerOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
RedisOptions.toJSON() |
Modifier and Type | Method and Description |
---|---|
static RedisClient |
RedisClient.create(Vertx vertx,
JsonObject config)
Deprecated.
For type safety please use
RedisClient.create(Vertx, RedisOptions) . |
RedisClient |
RedisClient.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Set multiple hash fields 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
|
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
|
Constructor and Description |
---|
RedisOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
KillFilter.toJson() |
JsonObject |
LimitOptions.toJson() |
JsonObject |
MigrateOptions.toJson() |
JsonObject |
RangeLimitOptions.toJson() |
JsonObject |
ScanOptions.toJson() |
JsonObject |
SetOptions.toJson() |
JsonObject |
SortOptions.toJson() |
Constructor and Description |
---|
KillFilter(JsonObject json) |
LimitOptions(JsonObject obj) |
MigrateOptions(JsonObject json) |
RangeLimitOptions(JsonObject obj) |
ScanOptions(JsonObject obj) |
SetOptions(JsonObject json) |
SortOptions(JsonObject obj) |
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 |
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.
|
rx.Observable<User> |
AuthProvider.authenticateObservable(JsonObject authInfo)
Authenticate a user.
|
Modifier and Type | Method and Description |
---|---|
static JWTAuth |
JWTAuth.create(Vertx vertx,
JsonObject config)
Create a JWT auth provider
|
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 |
---|---|
rx.Observable<JsonObject> |
OAuth2Auth.apiObservable(HttpMethod method,
String path,
JsonObject params)
Call OAuth2 APIs.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Auth |
OAuth2Auth.api(HttpMethod method,
String path,
JsonObject params,
Handler<AsyncResult<JsonObject>> handler)
Call OAuth2 APIs.
|
rx.Observable<JsonObject> |
OAuth2Auth.apiObservable(HttpMethod method,
String path,
JsonObject params)
Call OAuth2 APIs.
|
String |
OAuth2Auth.authorizeURL(JsonObject params)
Generate a redirect URL to the authN/Z backend.
|
static OAuth2Auth |
OAuth2Auth.create(Vertx vertx,
OAuth2FlowType flow,
JsonObject config)
Create a OAuth2 auth provider
|
void |
OAuth2Auth.getToken(JsonObject params,
Handler<AsyncResult<AccessToken>> handler)
Returns the Access Token object.
|
rx.Observable<AccessToken> |
OAuth2Auth.getTokenObservable(JsonObject params)
Returns the Access Token object.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Auth |
OAuth2Auth.api(HttpMethod method,
String path,
JsonObject params,
Handler<AsyncResult<JsonObject>> handler)
Call OAuth2 APIs.
|
Modifier and Type | Method and Description |
---|---|
static ShiroAuth |
ShiroAuth.create(Vertx vertx,
ShiroAuthRealmType realmType,
JsonObject config)
Create a Shiro auth provider
|
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 |
---|---|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config)
Like
JDBCClient.createShared(io.vertx.rxjava.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default data source name |
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a JDBC client which shares its data source with any other JDBC clients created with the same
data source name
|
Modifier and Type | Method and Description |
---|---|
rx.Observable<JsonObject> |
MongoClient.distinctBatchObservable(String collection,
String fieldName,
String resultClassname)
Gets the distinct values of the specified field name.
|
rx.Observable<JsonObject> |
MongoClient.findBatchObservable(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
rx.Observable<JsonObject> |
MongoClient.findBatchWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
rx.Observable<List<JsonObject>> |
MongoClient.findObservable(String collection,
JsonObject query)
Find matching documents in the specified collection
|
rx.Observable<JsonObject> |
MongoClient.findOneObservable(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
rx.Observable<List<JsonObject>> |
MongoClient.findWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
rx.Observable<JsonObject> |
MongoClient.runCommandObservable(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
rx.Observable<Long> |
MongoClient.countObservable(String collection,
JsonObject query)
Count matching documents in a collection.
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config)
Like
MongoClient.createShared(io.vertx.rxjava.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String) but with the default data source name |
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a Mongo client which shares its data source with any other Mongo clients created with the same
data source name
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findBatch(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection.
|
rx.Observable<JsonObject> |
MongoClient.findBatchObservable(String collection,
JsonObject query)
Find matching documents in the specified collection.
|
MongoClient |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection, specifying options.
|
rx.Observable<JsonObject> |
MongoClient.findBatchWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options.
|
rx.Observable<List<JsonObject>> |
MongoClient.findObservable(String collection,
JsonObject query)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
rx.Observable<JsonObject> |
MongoClient.findOneObservable(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
rx.Observable<List<JsonObject>> |
MongoClient.findWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
rx.Observable<String> |
MongoClient.insertObservable(String collection,
JsonObject document)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection with the specified write option
|
rx.Observable<String> |
MongoClient.insertWithOptionsObservable(String collection,
JsonObject document,
WriteOption writeOption)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Remove matching documents from a collection
|
rx.Observable<Void> |
MongoClient.removeObservable(String collection,
JsonObject query)
Remove matching documents from a collection
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Remove a single matching document from a collection
|
rx.Observable<Void> |
MongoClient.removeOneObservable(String collection,
JsonObject query)
Remove a single matching document from a collection
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Remove a single matching document from a collection with the specified write option
|
rx.Observable<Void> |
MongoClient.removeOneWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
Remove a single matching document from a collection with the specified write option
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Remove matching documents from a collection with the specified write option
|
rx.Observable<Void> |
MongoClient.removeWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
Remove matching documents from a collection with the specified write option
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Replace matching documents in the specified collection
|
rx.Observable<Void> |
MongoClient.replaceObservable(String collection,
JsonObject query,
JsonObject replace)
Replace matching documents in the specified collection
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Replace matching documents in the specified collection, specifying options
|
rx.Observable<Void> |
MongoClient.replaceWithOptionsObservable(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Replace matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
rx.Observable<JsonObject> |
MongoClient.runCommandObservable(String commandName,
JsonObject command)
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
rx.Observable<String> |
MongoClient.saveObservable(String collection,
JsonObject document)
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection with the specified write option
|
rx.Observable<String> |
MongoClient.saveWithOptionsObservable(String collection,
JsonObject document,
WriteOption writeOption)
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Update matching documents in the specified collection
|
rx.Observable<Void> |
MongoClient.updateObservable(String collection,
JsonObject query,
JsonObject update)
Update matching documents in the specified collection
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Update matching documents in the specified collection, specifying options
|
rx.Observable<Void> |
MongoClient.updateWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Update matching documents in the specified collection, specifying options
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.distinctBatch(String collection,
String fieldName,
String resultClassname,
Handler<AsyncResult<JsonObject>> resultHandler)
Gets the distinct values of the specified field name.
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findBatch(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection.
|
MongoClient |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection, specifying options.
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
RoutingContext.getBodyAsJson() |
Modifier and Type | Method and Description |
---|---|
JsonObject |
BridgeEvent.rawMessage()
Get the raw JSON message for the event.
|
Modifier and Type | Method and Description |
---|---|
rx.Observable<JsonObject> |
RedisClient.hgetallObservable(String key)
Get all the fields and values in a hash
|
rx.Observable<JsonObject> |
RedisClient.infoObservable()
Get information and statistics about the server
|
rx.Observable<JsonObject> |
RedisClient.infoSectionObservable(String section)
Get information and statistics about the server
|
Modifier and Type | Method and Description |
---|---|
RedisClient |
RedisClient.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Set multiple hash fields to multiple values
|
rx.Observable<String> |
RedisClient.hmsetObservable(String key,
JsonObject values)
Set multiple hash fields 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
|
rx.Observable<Long> |
RedisClient.msetnxObservable(JsonObject keyvals)
Set multiple keys to multiple values, only if none of the keys exist
|
rx.Observable<String> |
RedisClient.msetObservable(JsonObject keyvals)
Set multiple keys to multiple values
|
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
|
Copyright © 2015. All rights reserved.