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

    Constructors
    Constructor
    Description
    McpStreamableServerSessionFactory(io.modelcontextprotocol.spec.DefaultMcpStreamableServerSessionFactory sessionFactory, org.springframework.context.ApplicationContext appContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionInit
    startSession(io.modelcontextprotocol.spec.McpSchema.InitializeRequest initializeRequest)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      startSession in interface io.modelcontextprotocol.spec.McpStreamableServerSession.Factory