Friday, January 4, 2019

JAX-RS Resource Class Field and Bean Property Annotations


3.2 Fields and Bean Properties

When a resource class is instantiated, the values of fields and bean properties annotated with one the following annotations are set according to the semantics of the annotation:

@MatrixParam Extracts the value of a URI matrix parameter.
@QueryParam Extracts the value of a URI query parameter.
@PathParam Extracts the value of a URI template parameter.
@CookieParam Extracts the value of a cookie.
@HeaderParam Extracts the value of a header.
@Context Injects an instance of a supported resource, see chapters 10 and 11 for more details.

from https://download.oracle.com/otn-pub/jcp/jaxrs-2_1-final-spec/jaxrs-2_1-final-spec.pdf?AuthParam=1546559699_8a1c42b298288ed02e280d293e710306

Architectural Styles and the Design of Network-based Software Architectures

Architectural Styles and
the Design of Network-based Software Architectures


JSRs: Java Specification Requests


Java Community Process

JSRs: Java Specification Requests

JSRs by Platform


JAX-RS

JSR 370: JavaTM API for RESTful Web Services (JAX-RS 2.1) Specification