Description
I want to add the GZIPContentEncodingFilter to Jersey-Client in the generated ApiClient class.
However, there currently seems no way to access the com.sun.jersey.api.client.Client:
The method to access the Jersey-Client is private:
private Client getClient()
Pls advise on how to add gzip encoding to the generated ApiClient?
Related issues
#2539
Suggest a Fix
It would be great if the getClient method is protected, so it is possible to access the Client to add filters etc.
Currently there seems no workaround but to copy the whole ApiClient.java class and rewrite the getClient method ourselves ...
Thank you & Best regards,
Johannes