类 McpServerSSE.Builder
java.lang.Object
com.github.codeboyzhou.mcp.declarative.configuration.McpServerSSE.Builder
- 封闭类:
- McpServerSSE
Builder class for
McpServerSSE.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Sets the base URL.build()Builds an instance ofMcpServerSSEwith the configured values.Sets the endpoint.messageEndpoint(String messageEndpoint) Sets the message endpoint.Sets the port.
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
messageEndpoint
Sets the message endpoint.- 参数:
messageEndpoint- The message endpoint.- 返回:
- This builder instance.
-
endpoint
Sets the endpoint.- 参数:
endpoint- The endpoint.- 返回:
- This builder instance.
-
baseUrl
Sets the base URL.- 参数:
baseUrl- The base URL.- 返回:
- This builder instance.
-
port
Sets the port.- 参数:
port- The port.- 返回:
- This builder instance.
-
build
Builds an instance ofMcpServerSSEwith the configured values.- 返回:
- A new instance of
McpServerSSE.
-