You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a UnsupportedOperationException when I use the RestOperations#exchange for the RestOperations provided by riptide in combination with a uri template that created via the request entity builders.
Expected Behavior
RestOperations#exchangeshould honor the uri template.
Actual Behavior
java.lang.UnsupportedOperationException: null
at org.springframework.http.RequestEntity.getUrl(RequestEntity.java:165) ~[spring-web-5.3.4.jar:5.3.4]
at org.zalando.riptide.compatibility.HttpOperations.exchange(HttpOperations.java:304) ~[riptide-compatibility-3.0.0-RC.16.jar:na]
at org.zalando.riptide.compatibility.HttpOperations.exchange(HttpOperations.java:294) ~[riptide-compatibility-3.0.0-RC.16.jar:na]
Possible Fix
Check for subtype UriTemplateRequestEntity before calling RequestEntity#getUrl()?
I get a
UnsupportedOperationException
when I use theRestOperations#exchange
for theRestOperations
provided by riptide in combination with a uri template that created via the request entity builders.Expected Behavior
RestOperations#exchange
should honor the uri template.Actual Behavior
Possible Fix
Check for subtype
UriTemplateRequestEntity
before callingRequestEntity#getUrl()
?Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: