类 McpStreamableServerInfo.Builder
java.lang.Object
com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder<McpStreamableServerInfo.Builder>
com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo.Builder
public static class McpStreamableServerInfo.Builder
extends McpServerInfo.Builder<McpStreamableServerInfo.Builder>
-
字段概要
从类继承的字段 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
capabilities, changeNotification, instructions, name, requestTimeout, version -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()contextExtractor(io.modelcontextprotocol.server.McpTransportContextExtractor<jakarta.servlet.http.HttpServletRequest> contextExtractor) disallowDelete(boolean disallowDelete) keepAliveInterval(Duration keepAliveInterval) mcpEndpoint(String mcpEndpoint) port(int port) protected McpStreamableServerInfo.Builderself()从类继承的方法 com.github.codeboyzhou.mcp.declarative.server.McpServerInfo.Builder
capabilities, changeNotification, instructions, name, requestTimeout, version
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
self
-
build
-
port
-
mcpEndpoint
-
disallowDelete
-
contextExtractor
public McpStreamableServerInfo.Builder contextExtractor(io.modelcontextprotocol.server.McpTransportContextExtractor<jakarta.servlet.http.HttpServletRequest> contextExtractor) -
keepAliveInterval
-