public static enum SerializerProperties.SerializerType extends Enum<SerializerProperties.SerializerType>
| Enum Constant and Description | 
|---|
DEFAULT
Defines that the default serializer should be used. 
 | 
JACKSON
Uses Jackson's  
ObjectMapper to serialize objects into JSON. | 
JAVA
Uses the Java Serialization API (see  
ObjectOutputStream) to write objects. | 
XSTREAM
Uses the XStream based serializer, which is the default serializer. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static SerializerProperties.SerializerType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static SerializerProperties.SerializerType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SerializerProperties.SerializerType XSTREAM
public static final SerializerProperties.SerializerType JACKSON
ObjectMapper to serialize objects into JSON. Provides
 highly interoperable JSON output, but does require the objects to adhere to a certain structure. The Jackson
 based serializer is generally suitable as a Message Serializer.public static final SerializerProperties.SerializerType JAVA
ObjectOutputStream) to write objects. The Java
 serializer's output is not interoperable and should really be only used in very specific cases. It is not
 recommended to use this serializer as an Event Serializer, as it could cause Events to be stored in format
 that is difficult to upcast when the structure of Events changes.public static final SerializerProperties.SerializerType DEFAULT
public static SerializerProperties.SerializerType[] values()
for (SerializerProperties.SerializerType c : SerializerProperties.SerializerType.values()) System.out.println(c);
public static SerializerProperties.SerializerType 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 © 2010–2018. All rights reserved.