Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

@MatrixParam resulting in null  RSS feed

 
Anirudh Gupta
Ranch Hand
Posts: 49
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to learn how to use MatrixParams in JAX-RS(Jersey 2.x). Everytime I pass a matrix param in my request, using a JAX-RS Client, the value in the server appears as "null".
Can some one please explain why this might be happening?
Below is the code snippet,

Server Code :-


Client :-

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!