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