1.

What is the difference between PathParam and PathVariable in Spring Boot?

Answer»

@PathParam is a PARAMETER ANNOTATION which allows you to MAP variable URI path FRAGMENTS into your method CALL. @PathParam is a parameter annotation which allows you to map variable URI path fragments into your method call. @PathVariable it is the annotation, that is used in the URI for the incoming request



Discussion

No Comment Found