[Jersey] jersey proxy client and field injected query parameters

From: Chris Cooper <>
Date: Tue, 13 Aug 2013 12:20:17 -0400

Hello all,

I need some help with using the proxy client and the query parameters
injected as fields for a resource.

I have a resource called StatisticsResource with many subresources. I
understand how to get the query parameters per resource method, but I have
many different subresources in StatisticsResource which support the same
query parameters, and my preference would be to keep it as DRY as possible
and have the query parameters injected into fields which can be used in the

What I need help understanding is how I can use field query parameters with
the jersey proxy client. I cannot find any example online, only examples
are method resource parameters.

If anyone knows of an example online or could provide one, I would greatly
appreciate it. If I lack information, please let me know and I shall
provide it.

Thank you,