-
Returns a new builder instance to construct a McpStreamableServerInfo instance.
McpStreamableServerInfo.Builder.contextExtractor(io.modelcontextprotocol.server.McpTransportContextExtractor<jakarta.servlet.http.HttpServletRequest> contextExtractor)
Sets the extractor to extract the transport context from the HTTP request.
McpStreamableServerInfo.Builder.disallowDelete(boolean disallowDelete)
Sets whether to disallow http delete requests.
Sets the interval to send keep-alive messages.
Sets the endpoint of the MCP server to send messages.
McpStreamableServerInfo.Builder.port(int port)
Sets the port of the MCP HTTP server.
McpStreamableServerInfo.Builder.self()
Returns the self reference of the builder, which is used to chain the method calls.