javax.ws.rs.core
Annotation Type Context


@Target(value={PARAMETER,FIELD})
@Retention(value=RUNTIME)
@Documented
public @interface Context

The @Context annotation is used to inject information into a class field or method parameter.

See Also:
UriInfo, Request, HttpHeaders, SecurityContext, ContextResolver, MessageBodyWorkers