Class MessageHeadersSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<org.springframework.messaging.MessageHeaders>
org.springframework.statemachine.kryo.MessageHeadersSerializer
public class MessageHeadersSerializer
extends com.esotericsoftware.kryo.Serializer<org.springframework.messaging.MessageHeaders>
Kryo
Serializer
for spring messaging message headers.- Author:
- Janne Valkealahti
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.MessageHeaders
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<org.springframework.messaging.MessageHeaders> type) void
write
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.springframework.messaging.MessageHeaders object) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
MessageHeadersSerializer
public MessageHeadersSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.springframework.messaging.MessageHeaders object) - Specified by:
write
in classcom.esotericsoftware.kryo.Serializer<org.springframework.messaging.MessageHeaders>
-
read
public org.springframework.messaging.MessageHeaders read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<org.springframework.messaging.MessageHeaders> type) - Specified by:
read
in classcom.esotericsoftware.kryo.Serializer<org.springframework.messaging.MessageHeaders>
-