Class McpServerSSE.Builder
java.lang.Object
com.github.thought2code.mcp.annotated.configuration.McpServerSSE.Builder
- Enclosing class:
- McpServerSSE
Builder class for
McpServerSSE.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the base URL.build()Builds an instance ofMcpServerSSEwith the configured values.Sets the endpoint.messageEndpoint(String messageEndpoint) Sets the message endpoint.Sets the port.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
messageEndpoint
Sets the message endpoint.- Parameters:
messageEndpoint- The message endpoint.- Returns:
- This builder instance.
-
endpoint
Sets the endpoint.- Parameters:
endpoint- The endpoint.- Returns:
- This builder instance.
-
baseUrl
Sets the base URL.- Parameters:
baseUrl- The base URL.- Returns:
- This builder instance.
-
port
Sets the port.- Parameters:
port- The port.- Returns:
- This builder instance.
-
build
Builds an instance ofMcpServerSSEwith the configured values.- Returns:
- A new instance of
McpServerSSE.
-