Created
October 12, 2017 12:30
-
-
Save adamw/d112f955febcbd3cf8488a21a6abd5ca to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Path("user/{userId}") | |
public String getUser(@PathParam("userId") userId) { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please replace
@PathParam("userId") userId
with@PathParam("userId") String userId
or whatewer type otherwise it's not a pure java 😉