Class AiChat.CurrentSessionAttributes

java.lang.Object
java.util.AbstractMap<String,Object>
io.jmix.aichat.component.chat.AiChat.CurrentSessionAttributes
All Implemented Interfaces:
Map<String,Object>
Enclosing class:
AiChat<T extends AiChatMessage>

protected static class AiChat.CurrentSessionAttributes extends AbstractMap<String,Object>
A live view of the current Vaadin session's HTTP session attributes, resolved on every read rather than copied — see AiChat.runWithGenerationContext(com.vaadin.flow.server.VaadinRequest, java.lang.Runnable) for why that matters. Reads and writes pass straight through, and answer as an empty map whenever no HTTP session is reachable.