Determine if the REST Client is blocking or non-blocking in a ClientRequestFilter / ClientResponseFilter. #46384
-
Hello, Currently, I determine the client type by checking the return type of the client method as following:
While this method works, I have the impression it relies on internal implementations of the REST Client, which may change in the future and potentially break this approach. Do you have any suggestions for a more robust solution? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
/cc @cescoffier (rest-client), @geoand (rest-client) |
Beta Was this translation helpful? Give feedback.
-
There isn't any API you could use, but what you are doing is generally correct. |
Beta Was this translation helpful? Give feedback.
There isn't any API you could use, but what you are doing is generally correct.