Commit 5057f22
committed
Fix mcp-spring incompatibility issue with Spring Framework 6.x and 7.0
- Replace deprecated rawStatusCode() for Spring Framework 7.0 compatibility in WebClientStreamableHttpTransport
- Replace usage of rawStatusCode() and getRawStatusCode() methods with statusCode().value() to ensure compatibility with Spring Framework 7.0 where these deprecated methods have been removed.1 parent e6045f7 commit 5057f22
File tree
1 file changed
+5
-9
lines changed- mcp-spring/mcp-spring-webflux/src/main/java/io/modelcontextprotocol/client/transport
1 file changed
+5
-9
lines changedLines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
612 | 611 | | |
613 | | - | |
| 612 | + | |
614 | 613 | | |
615 | 614 | | |
616 | 615 | | |
617 | 616 | | |
618 | 617 | | |
619 | | - | |
620 | 618 | | |
621 | | - | |
| 619 | + | |
622 | 620 | | |
623 | 621 | | |
624 | 622 | | |
625 | 623 | | |
626 | 624 | | |
627 | | - | |
628 | 625 | | |
629 | | - | |
| 626 | + | |
630 | 627 | | |
631 | 628 | | |
632 | 629 | | |
633 | 630 | | |
634 | 631 | | |
635 | | - | |
636 | 632 | | |
637 | | - | |
| 633 | + | |
638 | 634 | | |
639 | 635 | | |
640 | 636 | | |
0 commit comments