类 McpServerStreamable.Builder

java.lang.Object
com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable.Builder
封闭类:
McpServerStreamable

public static class McpServerStreamable.Builder extends Object
Builder class for McpServerStreamable.
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • mcpEndpoint

      public McpServerStreamable.Builder mcpEndpoint(String mcpEndpoint)
      Sets the MCP endpoint.
      参数:
      mcpEndpoint - The MCP endpoint.
      返回:
      This builder instance.
    • disallowDelete

      public McpServerStreamable.Builder disallowDelete(Boolean disallowDelete)
      Sets the disallow delete flag.
      参数:
      disallowDelete - The disallow delete flag.
      返回:
      This builder instance.
    • keepAliveInterval

      public McpServerStreamable.Builder keepAliveInterval(Long keepAliveInterval)
      Sets the keep-alive interval.
      参数:
      keepAliveInterval - The keep-alive interval.
      返回:
      This builder instance.
    • port

      Sets the port.
      参数:
      port - The port.
      返回:
      This builder instance.
    • build

      public McpServerStreamable build()
      Builds an instance of McpServerStreamable with the configured values.
      返回:
      A new instance of McpServerStreamable.