Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestRestTemplate exchange triggers UnsupportedOperationException in RequestEntity #25106

Closed
wilkinsona opened this issue Feb 4, 2021 · 0 comments
Labels
status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: regression A regression from a previous release
Milestone

Comments

@wilkinsona
Copy link
Member

Forward port of issue #25097 to 2.5.x.

@wilkinsona wilkinsona added status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: regression A regression from a previous release labels Feb 4, 2021
@wilkinsona wilkinsona added this to the 2.5.0-M2 milestone Feb 4, 2021
humaolin pushed a commit to humaolin/spring-boot that referenced this issue May 7, 2022
Prior to this commit, if attributes were configured in the builder
returned by `ServerRequest.from(...)`, those attributes were not
available in the `ServerRequest` built by the builder. In addition, any
attributes in the original `ServerRequest` supplied to
`ServerRequest.from(...)` were also ignored.

This commit addresses this issue by ensuring that the attributes
configured via DefaultServerRequestBuilder are used as the attributes
in the resulting `ServerRequest`.

This commit also polishes the Javadoc in `ServerRequest` and
`ClientResponse` and avoids the use of lambda expressions in the
constructors for `DefaultServerRequestBuilder` and
`DefaultClientResponseBuilder`.

Closes spring-projectsgh-25106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: regression A regression from a previous release
Projects
None yet
Development

No branches or pull requests

1 participant