Class MapSessionProtoAdapter
- java.lang.Object
-
- org.infinispan.spring.common.session.MapSessionProtoAdapter
-
@ProtoAdapter(org.springframework.session.MapSession.class) @ProtoTypeId(5901) public class MapSessionProtoAdapter extends Object
Protostream adapter for Spring'sMapSession.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapSessionProtoAdapter.SessionAttributestatic classMapSessionProtoAdapter.SessionAttributeRawMarshallerGenerated with protostream-processor and then adapted to useJavaSerializationMarshaller.
-
Constructor Summary
Constructors Constructor Description MapSessionProtoAdapter()
-