Skip to content

Commit eebdff2

Browse files
OlgaMaciaszeksnicoll
authored andcommitted
Fix supportsRequestAttributes for RestClientAdapter
Previously, RestClientAdapter claimed that it supports request attributes when, in fact, it does not. This commit updates the implementation accordingly. See gh-32232
1 parent a2000db commit eebdff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/web/client/support/RestClientAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private RestClientAdapter(RestClient restClient) {
5555

5656
@Override
5757
public boolean supportsRequestAttributes() {
58-
return true;
58+
return false;
5959
}
6060

6161
@Override

0 commit comments

Comments
 (0)