Class MapSessionProtoAdapter


  • @ProtoAdapter(org.springframework.session.MapSession.class)
    @ProtoTypeId(5901)
    public class MapSessionProtoAdapter
    extends Object
    Protostream adapter for Spring's MapSession.

    Attribute values set by the application should be marshalled with Protostream, but Java Serialization is also supported.

    Attribute values set by spring-session internally have not been converted to use Protostream, so they are always marshalled using Java Serialization.

    Note: Each attribute value uses either Protostream or Java Serialization for marshalling. Mixing Protostream and Java Serialization in the same attribute is not supported.

    Since:
    12.1
    Author:
    Dan Berindei
    • Constructor Detail

      • MapSessionProtoAdapter

        public MapSessionProtoAdapter()