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