Last active
June 22, 2019 05:36
-
-
Save M-Razavi/0c9e8fa7b24f5d7537d0c84288c0b933 to your computer and use it in GitHub Desktop.
MeduimPost_Anotations
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
Framework | Path segment | http query parameter | |
---|---|---|---|
Jersey (JAX-RS) | @PathParam | @QueryParam | |
Spring RESTFul | @PathVariable | @RequestParam | |
example | http://xyz.ir/{segment} | http://xyz.ir/?param{param} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://medium.com/@m.razavi777/spring-requestparam-vs-queryparam-vs-pathvariable-vs-pathparam-7c5655e541ad?source=friends_link&sk=251dbda9b41cb90bfbe26148a603d26c