Medium
How to get the value of userId
?
@GetMapping("/{userId}")
public User getUser(Integer userId){
//...
}
Author: W3D TeamStatus: PublishedQuestion passed 117 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
4
How does Spring match beans?16
Explain the prototype scope in Spring4
How is PDO implemented in Spring?4
The `@Autowired` annotation is a Spring annotation, accepts a parameter allowing to specify if a dependency is optional6
Explain the `session` scope in Spring4
A bean with a singleton scope must be thread safe13
A bean with a `session` scope is injected into a bean with a` singleton` scope. What happens when the application starts?