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