users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] dispatch by query param too?

From: Bill Burke <bburke_at_redhat.com>
Date: Sat, 01 Mar 2014 10:40:32 -0500

I've been asked by users and you see it in OAuth 2.0 with "grant_type",
but would it be interesting to add the ability to dispatch by query
param too?

@Path("/token-service",
       query = {
                @QueryValue(name="grant_type",
                            value="authorization_code")
       })
@GET
public Response grantAuthorizationCode(...) {

}
-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com