Uses of Interface
io.modelcontextprotocol.server.McpRequestHandler
Packages that use McpRequestHandler
-
Uses of McpRequestHandler in io.modelcontextprotocol.spec
Constructor parameters in io.modelcontextprotocol.spec with type arguments of type McpRequestHandlerModifierConstructorDescriptionDefaultMcpStreamableServerSessionFactory(Duration requestTimeout, McpStreamableServerSession.InitRequestHandler initRequestHandler, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers) Deprecated.DefaultMcpStreamableServerSessionFactory(Duration requestTimeout, McpStreamableServerSession.InitRequestHandler initRequestHandler, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers, Function<String, reactor.core.publisher.Mono<Void>> onClose) Constructs an instance.DefaultMcpStreamableServerSessionFactory(Duration requestTimeout, McpStreamableServerSession.InitRequestHandler initRequestHandler, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers, Function<String, reactor.core.publisher.Mono<Void>> onClose, JsonSchemaValidator jsonSchemaValidator) Constructs an instance.McpServerSession(String id, Duration requestTimeout, McpServerTransport transport, McpInitRequestHandler initHandler, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers) Creates a new server session with the given parameters and the transport to use.McpServerSession(String id, Duration requestTimeout, McpServerTransport transport, McpInitRequestHandler initHandler, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers, Supplier<reactor.core.publisher.Mono<Void>> onClose) Creates a new server session with the given parameters and the transport to use.McpServerSession(String id, Duration requestTimeout, McpServerTransport transport, McpInitRequestHandler initHandler, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers, Supplier<reactor.core.publisher.Mono<Void>> onClose, JsonSchemaValidator jsonSchemaValidator) Creates a new server session with the given parameters and the transport to use.McpStreamableServerSession(String id, McpSchema.ClientCapabilities clientCapabilities, McpSchema.Implementation clientInfo, Duration requestTimeout, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers) Create an instance of the streamable session.McpStreamableServerSession(String id, McpSchema.ClientCapabilities clientCapabilities, McpSchema.Implementation clientInfo, Duration requestTimeout, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers, Supplier<reactor.core.publisher.Mono<Void>> onClose) Create an instance of the streamable session.McpStreamableServerSession(String id, McpSchema.ClientCapabilities clientCapabilities, McpSchema.Implementation clientInfo, Duration requestTimeout, Map<String, McpRequestHandler<?>> requestHandlers, Map<String, McpNotificationHandler> notificationHandlers, Supplier<reactor.core.publisher.Mono<Void>> onClose, JsonSchemaValidator jsonSchemaValidator) Create an instance of the streamable session.
DefaultMcpStreamableServerSessionFactory(Duration, McpStreamableServerSession.InitRequestHandler, Map, Map, Function)instead