类的使用
com.github.codeboyzhou.mcp.declarative.server.McpSseServerInfo.Builder
使用McpSseServerInfo.Builder的程序包
-
com.github.codeboyzhou.mcp.declarative.server中McpSseServerInfo.Builder的使用
修饰符和类型方法说明Sets the base URL of the MCP server.static McpSseServerInfo.BuilderMcpSseServerInfo.builder()Returns a new builder instance to construct aMcpSseServerInfoinstance.McpSseServerInfo.Builder.messageEndpoint(String messageEndpoint) Sets the endpoint of the MCP server to send messages.McpSseServerInfo.Builder.port(int port) Sets the port of the MCP HTTP server.protected McpSseServerInfo.BuilderMcpSseServerInfo.Builder.self()Returns the self reference of the builder, which is used to chain the method calls.McpSseServerInfo.Builder.sseEndpoint(String sseEndpoint) Sets the endpoint of the MCP server to receive SSE events.