Skip to content

Commit 9dde59a

Browse files
committed
.
Signed-off-by: He-Pin <hepin1989@gmail.com>
1 parent 46cd07b commit 9dde59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp-core/src/main/java/io/modelcontextprotocol/spec/McpClientSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ private MethodNotFoundError getMethodNotFoundError(String method) {
231231
* @param notification The incoming JSON-RPC notification
232232
* @return A Mono that completes when the notification is processed
233233
*/
234-
private Mono<Void> handleIncomingNotification(McpSchema.JSONRPCNotification notification) {
234+
protected Mono<Void> handleIncomingNotification(McpSchema.JSONRPCNotification notification) {
235235
return Mono.defer(() -> {
236236
var handler = notificationHandlers.get(notification.method());
237237
if (handler == null) {

0 commit comments

Comments
 (0)