Interface ProtocolConfiguration.Builder

  • Method Details

    • serverProtocol

      ProtocolConfiguration.Builder serverProtocol(String serverProtocol)

      The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.

      Parameters:
      serverProtocol - The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serverProtocol

      ProtocolConfiguration.Builder serverProtocol(ServerProtocol serverProtocol)

      The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.

      Parameters:
      serverProtocol - The server protocol for the agent runtime. This field specifies which protocol the agent runtime uses to communicate with clients.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • port

      The port on which the agent server listens. The port must be between 8000 and 12000 , excluding the reserved port 8443. When this field is omitted, the default is 8080 for HTTP and AGUI, 8000 for MCP, and 9000 for A2A.

      Parameters:
      port - The port on which the agent server listens. The port must be between 8000 and 12000, excluding the reserved port 8443. When this field is omitted, the default is 8080 for HTTP and AGUI, 8000 for MCP, and 9000 for A2A.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • path

      The path on which the agent server accepts requests. The path must begin with /. When this field is omitted, the default is /invocations for HTTP and AGUI, /mcp for MCP, and / for A2A.

      Parameters:
      path - The path on which the agent server accepts requests. The path must begin with /. When this field is omitted, the default is /invocations for HTTP and AGUI, /mcp for MCP, and / for A2A.
      Returns:
      Returns a reference to this object so that method calls can be chained together.