Class WebSubmitRequest

java.lang.Object
at.aimon.session.web.WebSubmitRequest

public final class WebSubmitRequest extends Object
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".

  • Method Details

    • builder

      public static WebSubmitRequest.Builder builder()
    • getConversationId

      public at.aimon.core.agent.conversation.ConversationId getConversationId()
    • getAgentRef

      public String getAgentRef()
    • getUserInput

      public String getUserInput()
    • getOptions

      public at.aimon.core.agent.session.AgentSessionOptions getOptions()
    • getSubmitOptions

      public at.aimon.core.agent.SubmitOptions getSubmitOptions()
      Per-turn options forwarded to AgentSession.submitAsync(input, submitOptions, listener) when this request is dispatched. Defaults to SubmitOptions.empty() so legacy callers see unchanged behavior.
    • getIdempotencyKey

      public Optional<String> getIdempotencyKey()
    • getPriority

      public at.aimon.core.agent.queue.QueuedInputPriority getPriority()
    • getInitiator

      public at.aimon.core.base.Principal getInitiator()