| Package | Description |
|---|---|
| io.modelcontextprotocol.spec |
| Constructor and Description |
|---|
DefaultMcpStreamableServerSessionFactory(Duration requestTimeout,
McpStreamableServerSession.InitRequestHandler initRequestHandler,
Map<String,McpRequestHandler<?>> requestHandlers,
Map<String,McpNotificationHandler> notificationHandlers)
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,
McpServerSession.InitNotificationHandler initNotificationHandler,
Map<String,McpRequestHandler<?>> requestHandlers,
Map<String,McpNotificationHandler> notificationHandlers)
|
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.
|
Copyright © 2025. All rights reserved.