T - the type of the response that is expected as a result of handling the
request.public static interface McpServerSession.RequestHandler<T>
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<T> |
handle(McpAsyncServerExchange exchange,
Object params)
Handles a request from the client.
|
reactor.core.publisher.Mono<T> handle(McpAsyncServerExchange exchange, Object params)
exchange - the exchange associated with the client that allows calling
back to the connected client or inspecting its capabilities.params - the parameters of the request.Copyright © 2025. All rights reserved.