Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Fix mcp-spring incompatibility issue with Spring Framework 6.x and 7.0#706

Closed
ilayaperumalg wants to merge 1 commit intomodelcontextprotocol:mainmodelcontextprotocol/java-sdk:mainfrom
ilayaperumalg:mcp-spring-compatibilityilayaperumalg/java-sdk:mcp-spring-compatibilityCopy head branch name to clipboard
Closed

Fix mcp-spring incompatibility issue with Spring Framework 6.x and 7.0#706
ilayaperumalg wants to merge 1 commit intomodelcontextprotocol:mainmodelcontextprotocol/java-sdk:mainfrom
ilayaperumalg:mcp-spring-compatibilityilayaperumalg/java-sdk:mcp-spring-compatibilityCopy head branch name to clipboard

Conversation

@ilayaperumalg
Copy link
Contributor

  • 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.

  - 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.
@He-Pin
Copy link
Contributor

He-Pin commented Nov 28, 2025

there is already a pr

@He-Pin
Copy link
Contributor

He-Pin commented Nov 28, 2025

Please make it a protected instance method, thanks

@ilayaperumalg
Copy link
Contributor Author

@He-Pin Thanks for pointing it out. I missed to check before submitting the PR. I will go ahead and close this PR.

@ilayaperumalg
Copy link
Contributor Author

#696 is the existing PR for the reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.