public static class AcpAgent.AsyncAgentBuilder
extends java.lang.Object
public AcpAgent.AsyncAgentBuilder requestTimeout(java.time.Duration timeout)
timeout - The request timeout durationpublic AcpAgent.AsyncAgentBuilder initializeHandler(AcpAgent.InitializeHandler handler)
handler - The initialize handlerpublic AcpAgent.AsyncAgentBuilder authenticateHandler(AcpAgent.AuthenticateHandler handler)
handler - The authenticate handlerpublic AcpAgent.AsyncAgentBuilder newSessionHandler(AcpAgent.NewSessionHandler handler)
handler - The new session handlerpublic AcpAgent.AsyncAgentBuilder loadSessionHandler(AcpAgent.LoadSessionHandler handler)
handler - The load session handlerpublic AcpAgent.AsyncAgentBuilder promptHandler(AcpAgent.PromptHandler handler)
handler - The prompt handlerpublic AcpAgent.AsyncAgentBuilder setSessionModeHandler(AcpAgent.SetSessionModeHandler handler)
handler - The set session mode handlerpublic AcpAgent.AsyncAgentBuilder setSessionModelHandler(AcpAgent.SetSessionModelHandler handler)
handler - The set session model handlerpublic AcpAgent.AsyncAgentBuilder cancelHandler(AcpAgent.CancelHandler handler)
handler - The cancel handlerpublic AcpAsyncAgent build()