Last active
August 29, 2015 14:08
-
-
Save ranraj/3294d320273b09eaee14 to your computer and use it in GitHub Desktop.
Webservice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@GET | |
@Path("/v1/market/{key}") | |
@Produces(MediaType.APPLICATION_JSON) | |
public Response getMarketByKey(@PathParam("key") String key) throws ApplicationException { | |
} | |
/*when the variable present in the requested url path then the parameter need to be specified using @PathParam*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment