public class MqttClientOptionsConverter extends Object implements JsonCodec<MqttClientOptions,JsonObject>
MqttClientOptions.
NOTE: This class has been automatically generated from the MqttClientOptions original class using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static MqttClientOptionsConverter |
INSTANCE |
| Constructor and Description |
|---|
MqttClientOptionsConverter() |
| Modifier and Type | Method and Description |
|---|---|
MqttClientOptions |
decode(JsonObject value)
Decode
<J> to <T>. |
JsonObject |
encode(MqttClientOptions value)
Encode
<T> to <J>. |
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
MqttClientOptions obj) |
Class<MqttClientOptions> |
getTargetClass() |
static void |
toJson(MqttClientOptions obj,
JsonObject json) |
static void |
toJson(MqttClientOptions obj,
Map<String,Object> json) |
public static final MqttClientOptionsConverter INSTANCE
public JsonObject encode(MqttClientOptions value)
JsonEncoder<T> to <J>.
value will not be null and the implementation must not return null.encode in interface JsonEncoder<MqttClientOptions,JsonObject>value - the valuepublic MqttClientOptions decode(JsonObject value)
JsonDecoder<J> to <T>.
json will not be null and the implementation must not return null.decode in interface JsonDecoder<MqttClientOptions,JsonObject>value - the json valuepublic Class<MqttClientOptions> getTargetClass()
getTargetClass in interface JsonDecoder<MqttClientOptions,JsonObject>getTargetClass in interface JsonEncoder<MqttClientOptions,JsonObject><T>public static void fromJson(Iterable<Map.Entry<String,Object>> json, MqttClientOptions obj)
public static void toJson(MqttClientOptions obj, JsonObject json)
public static void toJson(MqttClientOptions obj, Map<String,Object> json)
Copyright © 2019 Eclipse. All rights reserved.