R
- type of the MCP responsepublic interface McpStatelessRequestHandler<R>
限定符和类型 | 方法和说明 |
---|---|
reactor.core.publisher.Mono<R> |
handle(McpTransportContext transportContext,
java.lang.Object params)
Handle the request and complete with a result.
|
reactor.core.publisher.Mono<R> handle(McpTransportContext transportContext, java.lang.Object params)
transportContext
- McpTransportContext
associated with the transportparams
- the payload of the MCP request