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 |
VertxOptions.toJson() |
JsonObject |
DeploymentOptions.toJson()
Convert this to JSON
|
Modifier and Type | Method and Description |
---|---|
void |
Launcher.afterConfigParsed(JsonObject config)
Hook for sub-classes of
Launcher after the config has been parsed. |
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
JsonObject representation of this buffer's content. |
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() |
Constructor and Description |
---|
AddressResolverOptions(JsonObject json) |
DnsClientOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
EventBusOptions.getClusterNodeMetadata()
User-supplied information about this node when Vert.x is clustered.
|
JsonObject |
EventBusOptions.toJson()
Builds a JSON object representing the current
EventBusOptions . |
JsonObject |
DeliveryOptions.toJson()
Convert to JSON.
|
Modifier and Type | Method and Description |
---|---|
EventBusOptions |
EventBusOptions.setClusterNodeMetadata(JsonObject clusterNodeMetadata)
Set information about this node when Vert.x is clustered.
|
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 |
HttpMethod.toJson() |
JsonObject |
WebSocketConnectOptions.toJson() |
JsonObject |
WebSocketClientOptions.toJson()
Convert to JSON
|
JsonObject |
PoolOptions.toJson() |
JsonObject |
StreamPriority.toJson() |
JsonObject |
HttpClientOptions.toJson()
Convert to JSON
|
JsonObject |
RequestOptions.toJson() |
JsonObject |
GoAway.toJson() |
JsonObject |
HttpServerOptions.toJson()
Convert to 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
|
PoolOptions(JsonObject json)
Constructor to create an options from JSON
|
RequestOptions(JsonObject json)
Create options from JSON
|
StreamPriority(JsonObject json) |
WebSocketClientOptions(JsonObject json)
Constructor to create an options from JSON
|
WebSocketConnectOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonObject.clear()
Remove all the entries in this JSON object
|
JsonObject |
JsonObject.copy()
Deep copy of this JSON object.
|
JsonObject |
JsonObject.copy(Function<Object,?> cloner)
Deep copy of this 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.
|
static JsonObject |
JsonObject.of()
Create a JsonObject containing zero mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1)
Create a JsonObject containing a single mapping.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2)
Create a JsonObject containing two mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2,
String k3,
Object v3)
Create a JsonObject containing three mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2,
String k3,
Object v3,
String k4,
Object v4)
Create a JsonObject containing four mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2,
String k3,
Object v3,
String k4,
Object v4,
String k5,
Object v5)
Create a JsonObject containing five mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2,
String k3,
Object v3,
String k4,
Object v4,
String k5,
Object v5,
String k6,
Object v6)
Create a JsonObject containing six mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2,
String k3,
Object v3,
String k4,
Object v4,
String k5,
Object v5,
String k6,
Object v6,
String k7,
Object v7)
Create a JsonObject containing seven mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2,
String k3,
Object v3,
String k4,
Object v4,
String k5,
Object v5,
String k6,
Object v6,
String k7,
Object v7,
String k8,
Object v8)
Create a JsonObject containing eight mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2,
String k3,
Object v3,
String k4,
Object v4,
String k5,
Object v5,
String k6,
Object v6,
String k7,
Object v7,
String k8,
Object v8,
String k9,
Object v9)
Create a JsonObject containing nine mappings.
|
static JsonObject |
JsonObject.of(String k1,
Object v1,
String k2,
Object v2,
String k3,
Object v3,
String k4,
Object v4,
String k5,
Object v5,
String k6,
Object v6,
String k7,
Object v7,
String k8,
Object v8,
String k9,
Object v9,
String k10,
Object v10)
Create a JsonObject containing ten mappings.
|
JsonObject |
JsonObject.put(String key,
Object value)
Put an Object 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 |
---|---|
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.
|
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 |
NetClientOptions.toJson() |
JsonObject |
TrafficShapingOptions.toJson() |
JsonObject |
ProxyOptions.toJson()
Convert to JSON
|
JsonObject |
SSLOptions.toJson()
Convert to JSON
|
JsonObject |
OpenSSLEngineOptions.toJson() |
JsonObject |
PemTrustOptions.toJson()
Convert to 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.
|
SSLEngineOptions(JsonObject json) |
SSLOptions(JsonObject json)
Create options from JSON
|
TCPSSLOptions(JsonObject json)
Create options from JSON
|
TrafficShapingOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonEvent.objectValue() |
Modifier and Type | Method and Description |
---|---|
default TracingOptions |
VertxTracerFactory.newOptions(JsonObject jsonObject)
Create tracing options from the provided
jsonObject . |
default MetricsOptions |
VertxMetricsFactory.newOptions(JsonObject jsonObject)
Create metrics options from the provided
jsonObject . |
Modifier and Type | Method and Description |
---|---|
JsonObject |
NodeInfo.metadata() |
Constructor and Description |
---|
NodeInfo(String host,
int port,
JsonObject metadata) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
TracingOptions.toJson() |
Constructor and Description |
---|
TracingOptions(JsonObject json)
Create an instance from a
JsonObject |
Copyright © 2024 Eclipse. All rights reserved.