Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

(JAX-RS 2.0) Attaching query parameters (not headers) inside a client-side ContainerRequestFilter?

 
Kevin Thorne
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I simply need to attach query parameters (not headers) onto a outgoing request. (Java EE 7.0, JAX-RS 2.0)

In specifics, I currently using the RESTeasy Client ver 3.0.14, so I make my calls using the fancy interface-proxy system. I was attempting to produce something like this:



with:



I made sure I was registering it with as well. Feel free to ask questions. Thanks!
 
Kevin Thorne
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Overlooked the interface and accidentally implemented ContainerRequestFilter instead of ClientRequestFilter, looking to using requestContext.setUri(); and rebuilding it.
 
Hey! Wanna see my flashlight? It looks like this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!