Skip to content

Conversation

@tzolov
Copy link
Contributor

@tzolov tzolov commented Nov 26, 2025

Unfortunately the #649 breaks compatibility with Spring Framework 7.

Spring Framework 7 compatibility takes priority over Spring Framework 5 support.

Remove deprecated rawStatusCode() API usage in WebClientStreamableHttpTransport
that breaks Spring Framework 7 compatibility. Replace with modern statusCode()
API methods including is2xxSuccessful() and isSameCodeAs().

@tzolov tzolov added this to the 0.17.0 milestone Nov 26, 2025
@tzolov
Copy link
Contributor Author

tzolov commented Nov 26, 2025

@He-Pin unfortunately we can't support SF5 and SF7 and support for later is obviously our priority.

@He-Pin
Copy link
Contributor

He-Pin commented Nov 26, 2025

Thank you. Can we make these protected methods, then I think I can override them with subtyping

return Flux.from(sessionStream.consumeSseStream(idWithMessages));
}

private static boolean isNotFound(ClientResponse response) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make these methods a protected class method, then I can override them via subtyping.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@He-Pin if framework 5 is important, perhaps you can copy the WebClientStreamableHttpTransport.java and modify and build it locally for your needs.

@Kehrlann Kehrlann self-requested a review November 26, 2025 13:13
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.

3 participants