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