JAX-RS @PathParam with example

What is PathParam ? It is the annotation defined in JAX-RS specification which is used to resolve the values passed in the URL and inject them to the method. Values are passed in the URL with @Path expression. @Path expression is just the parameters which are enclosed in curly braces in URL. This annotation will […]

Share this article on

@MatrixParam with example

What is @MatrixParam ? It is the annotation defined in JAX-RS specification which is used to resolve the values passed in the URL with the Key-Value pair. Each key value pair will be separated by semicolon(;) This annotation will be used at the method argument level. We should use the key with @MatrixParam annotation to […]

Share this article on
< Previous Next >