'Register a filter in a quarkus rest client

Can I register a ClientFilter by using @RegisterRestClient annotation ?

Like described in the doc : https://quarkus.io/guides/rest-client#create-the-interface

The only way i found is to register it manually by calling the client.register(...); method. But at this level, I do not have access to the client instance right ?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source