T
- the type of the response that is expected as a result of handling the
request.@Deprecated
public static interface McpServerSession.RequestHandler<T>
reactor.core.publisher.Mono<T> handle(McpAsyncServerExchange exchange, java.lang.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.