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