Uses of Class
org.springframework.ai.session.SessionEvent.Builder
Packages that use SessionEvent.Builder
-
Uses of SessionEvent.Builder in org.springframework.ai.session
Methods in org.springframework.ai.session that return SessionEvent.BuilderModifier and TypeMethodDescriptionstatic SessionEvent.BuilderSessionEvent.builder()Returns a newSessionEvent.Builder.The event id; a random UUID by default.The message aEventType.MESSAGEevent wraps; required for that type, not allowed for any other.Adds one metadata entry.Replaces the metadata.Adds one payload entry.Replaces the payload of an event that is not a message.The session the event belongs to; required.When the event was recorded;Instant.now()by default.What the event records;EventType.MESSAGEby default when a message is set. -
Uses of SessionEvent.Builder in org.springframework.ai.session.support
Methods in org.springframework.ai.session.support that return SessionEvent.BuilderModifier and TypeMethodDescriptionSessionEventCodec.decode(SessionEventCodec.EncodedEvent encoded) Rebuilds an event from its persisted shape, as a builder: the codec restores the type, the message or the payload, and the caller adds identity, timestamp and metadata.