public static class McpServer.StreamableServerAsyncSpecification extends McpServer.AsyncSpecification<McpServer.StreamableServerAsyncSpecification>
| 构造器和说明 |
|---|
StreamableServerAsyncSpecification(McpStreamableServerTransportProvider transportProvider) |
| 限定符和类型 | 方法和说明 |
|---|---|
McpAsyncServer |
build()
Builds an asynchronous MCP server that provides non-blocking operations.
|
capabilities, completions, completions, instructions, jsonMapper, jsonSchemaValidator, prompts, prompts, prompts, requestTimeout, resources, resources, resources, resourceTemplates, resourceTemplates, rootsChangeHandler, rootsChangeHandlers, rootsChangeHandlers, serverInfo, serverInfo, tool, toolCall, tools, tools, uriTemplateManagerFactorypublic StreamableServerAsyncSpecification(McpStreamableServerTransportProvider transportProvider)
public McpAsyncServer build()
build 在类中 McpServer.AsyncSpecification<McpServer.StreamableServerAsyncSpecification>McpAsyncServer configured with this builder's
settings.