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