public interface McpStatelessServerHandler
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
handleNotification(McpTransportContext transportContext,
McpSchema.JSONRPCNotification notification)
Handle the notification.
|
reactor.core.publisher.Mono<McpSchema.JSONRPCResponse> |
handleRequest(McpTransportContext transportContext,
McpSchema.JSONRPCRequest request)
Handle the request using user-provided feature implementations.
|
reactor.core.publisher.Mono<McpSchema.JSONRPCResponse> handleRequest(McpTransportContext transportContext, McpSchema.JSONRPCRequest request)
transportContext - McpTransportContext carrying transport layer
metadatarequest - the request JSON objectreactor.core.publisher.Mono<Void> handleNotification(McpTransportContext transportContext, McpSchema.JSONRPCNotification notification)
transportContext - McpTransportContext carrying transport layer
metadatanotification - the notification JSON objectCopyright © 2025. All rights reserved.