Class McpServerStreamable.Builder
java.lang.Object
com.github.thought2code.mcp.annotated.configuration.McpServerStreamable.Builder
- Enclosing class:
- McpServerStreamable
Builder class for
McpServerStreamable.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mcpEndpoint
Sets the MCP endpoint.- Parameters:
mcpEndpoint- The MCP endpoint.- Returns:
- This builder instance.
-
disallowDelete
Sets the disallow delete flag.- Parameters:
disallowDelete- The disallow delete flag.- Returns:
- This builder instance.
-
keepAliveInterval
Sets the keep-alive interval.- Parameters:
keepAliveInterval- The keep-alive interval.- Returns:
- This builder instance.
-
port
Sets the port.- Parameters:
port- The port.- Returns:
- This builder instance.
-
build
Builds an instance ofMcpServerStreamablewith the configured values.- Returns:
- A new instance of
McpServerStreamable.
-