Skip to content

Commit 375d863

Browse files
committed
chore: Make generateRequestId a protected method.
Signed-off-by: He-Pin <[email protected]>
1 parent 6e9af40 commit 375d863

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
@@ -241,7 +241,7 @@ private Mono<Void> handleIncomingNotification(McpSchema.JSONRPCNotification noti
241241
* prefix with an atomic counter to ensure uniqueness.
242242
* @return A unique request ID string
243243
*/
244-
private String generateRequestId() {
244+
protected String generateRequestId() {
245245
return this.sessionPrefix + "-" + this.requestCounter.getAndIncrement();
246246
}
247247

0 commit comments

Comments
 (0)