Class McpServerToolListingHandlerConfiguration.McpStreamableServerSessionFactory
java.lang.Object
io.meeds.mcp.server.configuration.McpServerToolListingHandlerConfiguration.McpStreamableServerSessionFactory
- All Implemented Interfaces:
io.modelcontextprotocol.spec.McpStreamableServerSession.Factory
- Enclosing class:
McpServerToolListingHandlerConfiguration
public static class McpServerToolListingHandlerConfiguration.McpStreamableServerSessionFactory
extends Object
implements io.modelcontextprotocol.spec.McpStreamableServerSession.Factory
-
Constructor Summary
ConstructorsConstructorDescriptionMcpStreamableServerSessionFactory(io.modelcontextprotocol.spec.DefaultMcpStreamableServerSessionFactory sessionFactory, org.springframework.context.ApplicationContext appContext) -
Method Summary
Modifier and TypeMethodDescriptionio.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionInitstartSession(io.modelcontextprotocol.spec.McpSchema.InitializeRequest initializeRequest)
-
Constructor Details
-
McpStreamableServerSessionFactory
public McpStreamableServerSessionFactory(io.modelcontextprotocol.spec.DefaultMcpStreamableServerSessionFactory sessionFactory, org.springframework.context.ApplicationContext appContext)
-
-
Method Details
-
startSession
public io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionInit startSession(io.modelcontextprotocol.spec.McpSchema.InitializeRequest initializeRequest) - Specified by:
startSessionin interfaceio.modelcontextprotocol.spec.McpStreamableServerSession.Factory
-