Package iip.serializers
Class RoutingCommandOldImplSerializer
java.lang.Object
iip.serializers.RoutingCommandOldImplSerializer
JSON transport serializer for RoutingCommand.
Generated by: EASy-Producer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(RoutingCommandOldImpl origin) Creates a cloned copy.from(byte[] data) Turns serialized data to an object.getType()Returns the handled type.byte[]to(RoutingCommandOldImpl source) Serializes an object.
-
Field Details
-
MAPPER
private static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
-
-
Constructor Details
-
RoutingCommandOldImplSerializer
public RoutingCommandOldImplSerializer()
-
-
Method Details
-
from
Turns serialized data to an object.- Parameters:
data- the data- Returns:
- the object
- Throws:
IOException- if deserialization fails
-
to
Serializes an object.- Parameters:
source- the source object- Returns:
- the serialized data
- Throws:
IOException- if serialization fails
-
clone
Creates a cloned copy.- Parameters:
origin- the original object- Returns:
- the copied object
- Throws:
IOException- if cloning fails
-
getType
Returns the handled type.- Returns:
- the type
-