The standard JAX-RS API specifies annotations that can be used to inject values into fields, bean properties, and method parameters. The annotations can be split up into three distinct types:
annotations that inject information from the request URI
annotations that inject information from the HTTP message header
annotations that inject information from HTML forms