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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class com.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 class com.esotericsoftware.kryo.Serializer<org.springframework.messaging.MessageHeaders>