I am using approach, described in this question to add my specific header to HTTP
get request. But I can't understand how I need to change my code to make interceptor to do his job. Currently I am using something like this:
@RestService
ImwizardClient imwizardClient;
//some code
return imwizardClient.getAllCategories();
where getAllCategories() is method, which makes get request. The request works correctly, but it doesn't add my custom header. So what do I need to change?