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