Package at.aimon.session.web
Class WebSubmitRequest
java.lang.Object
at.aimon.session.web.WebSubmitRequest
Immutable submit request envelope for
WebAgentSessionManager.submit(WebSubmitRequest).
Carries the target ConversationId, the agentRef the caller intends to bind to the conversation, the
raw user input, optional session options, optional idempotency key, priority tier (defaults to QueuedInputPriority.NEXT), and the Principal that initiated the input.
Constructed via WebSubmitRequest.Builder; per project convention "prefer class over record".
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WebSubmitRequest.Builderbuilder()at.aimon.core.agent.conversation.ConversationIdat.aimon.core.base.Principalat.aimon.core.agent.session.OpenAttributesCaller-provided open attributes forwarded to the configuredAgentSessionOpeneron cache miss.at.aimon.core.agent.session.AgentSessionOptionsat.aimon.core.agent.queue.QueuedInputPriorityat.aimon.core.agent.SubmitOptionsPer-turn options forwarded toAgentSession.submitAsync(input, submitOptions, listener)when this request is dispatched.
-
Method Details
-
builder
-
getConversationId
public at.aimon.core.agent.conversation.ConversationId getConversationId() -
getAgentRef
-
getUserInput
-
getOptions
public at.aimon.core.agent.session.AgentSessionOptions getOptions() -
getSubmitOptions
public at.aimon.core.agent.SubmitOptions getSubmitOptions()Per-turn options forwarded toAgentSession.submitAsync(input, submitOptions, listener)when this request is dispatched. Defaults toSubmitOptions.empty()so legacy callers see unchanged behavior. -
getOpenAttributes
public at.aimon.core.agent.session.OpenAttributes getOpenAttributes()Caller-provided open attributes forwarded to the configuredAgentSessionOpeneron cache miss.Attributes are consumed only when the manager actually invokes the opener for a fresh session — they have no effect on submits that hit an already-cached session. Defaults to
OpenAttributes.empty()so legacy callers see unchanged behavior. -
getIdempotencyKey
-
getPriority
public at.aimon.core.agent.queue.QueuedInputPriority getPriority() -
getInitiator
public at.aimon.core.base.Principal getInitiator()
-