Skip to content

Conversation

@Enet4
Copy link
Contributor

@Enet4 Enet4 commented Aug 26, 2025

This PR fixes a minor documentation mistake introduced in Play 2.6 via #7413. The @deprecated notice in getBodyAsStream() from WSResponse was suggesting to combine getBody(BodyReadable) with WSBodyWritables#inputStream(), but it should have suggested WSBodyReadables#inputStream() instead.

Update `@deprecated` notice to suggest
combining `getBody` with `WSBodyReadables#inputStream()` instead.
@mkurz mkurz merged commit 495643e into playframework:main Aug 28, 2025
29 checks passed
@mkurz
Copy link
Member

mkurz commented Aug 28, 2025

@Mergifyio backport 2.9.x 3.0.x

@mergify
Copy link
Contributor

mergify bot commented Aug 28, 2025

backport 2.9.x 3.0.x

✅ Backports have been created

Details

mkurz added a commit that referenced this pull request Aug 28, 2025
[2.9.x] Fix deprecated notice in WSResponse#getBodyAsStream (backport #13484) by @Enet4
mkurz added a commit that referenced this pull request Aug 28, 2025
[3.0.x] Fix deprecated notice in WSResponse#getBodyAsStream (backport #13484) by @Enet4
@Enet4 Enet4 deleted the bug/java/WSResponse_getBodyAsStream-deprecated-notice branch August 28, 2025 15:16
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