-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
When injecting an UriInfo reference into a field in a Stateless Session Bean, the getQueryParameters() methods always returns the parameters for the first request.
For example the following code:
@Path("/resource") @Stateless public class MyResource { @Context private UriInfo uriInfo; @GET public String get() { return ""+uriInfo.getQueryParameters().get("param"); } }
/resource?param=8 returns [8], after that, /resource?param=42 also returns [8].