类 McpServerStreamable.Builder
java.lang.Object
com.github.codeboyzhou.mcp.declarative.configuration.McpServerStreamable.Builder
- 封闭类:
- McpServerStreamable
Builder class for
McpServerStreamable.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()Builds an instance ofMcpServerStreamablewith the configured values.disallowDelete(Boolean disallowDelete) Sets the disallow delete flag.keepAliveInterval(Long keepAliveInterval) Sets the keep-alive interval.mcpEndpoint(String mcpEndpoint) Sets the MCP endpoint.Sets the port.
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
mcpEndpoint
Sets the MCP endpoint.- 参数:
mcpEndpoint- The MCP endpoint.- 返回:
- This builder instance.
-
disallowDelete
Sets the disallow delete flag.- 参数:
disallowDelete- The disallow delete flag.- 返回:
- This builder instance.
-
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
Builds an instance ofMcpServerStreamablewith the configured values.- 返回:
- A new instance of
McpServerStreamable.
-