Skip to content

Instantly share code, notes, and snippets.

@abhirockzz
Created December 4, 2014 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhirockzz/d05db7a2f6911cd22cad to your computer and use it in GitHub Desktop.
Save abhirockzz/d05db7a2f6911cd22cad to your computer and use it in GitHub Desktop.
JAX-RS parameters
@Path("{k}={v}")
@GET
public void test(@PathParam("k") String key, @PathParam("v") String val){
System.out.println("Key == "+ key);
System.out.println("Val == "+ val);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment