Uses of Interface
ratpack.session.SessionSerializer
-
Packages that use SessionSerializer Package Description ratpack.session Objects for providingSession
support.ratpack.session.serialization.kryo -
-
Uses of SessionSerializer in ratpack.session
Subinterfaces of SessionSerializer in ratpack.session Modifier and Type Interface Description interface
JavaSessionSerializer
Marker interface for serializers that can serialize anything that isSerializable
.Methods in ratpack.session that return SessionSerializer Modifier and Type Method Description SessionSerializer
Session. getDefaultSerializer()
The serializer that is used when a serializer is not explicitly given.default SessionSerializer
SessionData. getDefaultSerializer()
Methods in ratpack.session with parameters of type SessionSerializer Modifier and Type Method Description default <T> Promise<Optional<T>>
Session. get(Class<T> type, SessionSerializer serializer)
A convenience shorthand forSessionData.get(Class, SessionSerializer)
.default Promise<Optional<?>>
Session. get(String name, SessionSerializer serializer)
A convenience shorthand forSessionData.get(String, SessionSerializer)
.default <T> Promise<Optional<T>>
Session. get(SessionKey<T> key, SessionSerializer serializer)
A convenience shorthand forSessionData.get(SessionKey, SessionSerializer)
.default <T> Optional<T>
SessionData. get(Class<T> type, SessionSerializer serializer)
Read the object with the given type, and no name.default Optional<?>
SessionData. get(String name, SessionSerializer serializer)
Read the object with the given name.<T> Optional<T>
SessionData. get(SessionKey<T> key, SessionSerializer serializer)
Read the object with the given key.default <T> Promise<T>
Session. require(Class<T> type, SessionSerializer serializer)
A convenience shorthand forSessionData.require(Class, SessionSerializer)
.default Promise<?>
Session. require(String name, SessionSerializer serializer)
A convenience shorthand forSessionData.require(String, SessionSerializer)
.default <T> Promise<T>
Session. require(SessionKey<T> key, SessionSerializer serializer)
A convenience shorthand forSessionData.require(SessionKey, SessionSerializer)
.default <T> T
SessionData. require(Class<T> type, SessionSerializer serializer)
LikeSessionData.get(Class, SessionSerializer)
, but throwsNoSuchElementException
on the absence of a value.default Object
SessionData. require(String name, SessionSerializer serializer)
LikeSessionData.get(String, SessionSerializer)
, but throwsNoSuchElementException
on the absence of a value.default <T> T
SessionData. require(SessionKey<T> key, SessionSerializer serializer)
LikeSessionData.get(SessionKey, SessionSerializer)
, but throwsNoSuchElementException
on the absence of a value.default <T> Operation
Session. set(Class<T> type, T value, SessionSerializer serializer)
A convenience shorthand forSessionData.set(Class, Object, SessionSerializer)
.default <T> Operation
Session. set(String name, T value, SessionSerializer serializer)
A convenience shorthand forSessionData.set(String, Object, SessionSerializer)
.default <T> Operation
Session. set(SessionKey<T> key, T value, SessionSerializer serializer)
A convenience shorthand forSessionData.set(SessionKey, Object, SessionSerializer)
.default <T> Operation
Session. set(T value, SessionSerializer serializer)
A convenience shorthand forSessionData.set(Object, SessionSerializer)
.default <T> void
SessionData. set(Class<T> type, T value, SessionSerializer serializer)
Sets the value for the given type.default <T> void
SessionData. set(String name, T value, SessionSerializer serializer)
Sets the value for the given name and type, using the runtime type of the value.<T> void
SessionData. set(SessionKey<T> key, T value, SessionSerializer serializer)
Sets the value for the given key.default <T> void
SessionData. set(T value, SessionSerializer serializer)
Sets the value for the type, using the runtime type of the value. -
Uses of SessionSerializer in ratpack.session.serialization.kryo
Classes in ratpack.session.serialization.kryo that implement SessionSerializer Modifier and Type Class Description class
KryoSessionSerializer
A Kryo based session data serialization implementation.
-