Spring 4 REST Injection Annotation

What are JAX-RS injection annotations? 

  • By using JAX-RS provided injection annotations, you are asking JAX-RS runtime to inject some useful information into your code 
  • @PathParam, @MatrixParam, @QueryParam, @FormParam, @BeanParam 
  • @HeaderParam, @CookieParam 
  • @Context

URI Path Template and

  • @PathParam,
  • @QueryParam,
  • @DefaultValue,
  • @MatrixParam,
  • @FormParam,
  • @BeanParam

 

Download course content