| Package | Description |
|---|---|
| io.modelcontextprotocol.spec |
| Modifier and Type | Interface and Description |
|---|---|
interface |
McpStreamableServerTransport
Streamable HTTP server transport representing an individual SSE stream.
|
| Modifier and Type | Method and Description |
|---|---|
McpServerSession |
McpServerSession.Factory.create(McpServerTransport sessionTransport)
Creates a new 1:1 representation of the client-server interaction.
|
| Constructor and Description |
|---|
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)
|
Copyright © 2025. All rights reserved.