public class SerializedObjectHolder extends Object
Constructor and Description |
---|
SerializedObjectHolder(Message message)
Initialize the holder for the serialized representations of the payload and meta data of given
message |
Modifier and Type | Method and Description |
---|---|
<T> SerializedObject<T> |
serializeMetaData(Serializer serializer,
Class<T> expectedRepresentation) |
<T> SerializedObject<T> |
serializePayload(Serializer serializer,
Class<T> expectedRepresentation) |
public SerializedObjectHolder(Message message)
message
message
- The message to initialize the holder forpublic <T> SerializedObject<T> serializePayload(Serializer serializer, Class<T> expectedRepresentation)
public <T> SerializedObject<T> serializeMetaData(Serializer serializer, Class<T> expectedRepresentation)
Copyright © 2010–2024. All rights reserved.