public enum SerializationType extends Enum<SerializationType>
Enum Constant and Description |
---|
CUSTOM
Custom serialization/deserialization which requires to register custom transcoder.
|
JAVA
Data are serialized to and deserialized using java default machanizm.
|
JSON
Data are serialized to and deserialized from JSON by jackson library.
|
PROVIDER
Provider defines serialization and deserialization mechanizm.
|
Modifier and Type | Method and Description |
---|---|
static SerializationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializationType PROVIDER
public static final SerializationType JSON
public static final SerializationType JAVA
public static final SerializationType CUSTOM
public static SerializationType[] values()
for (SerializationType c : SerializationType.values()) System.out.println(c);
public static SerializationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.