Top Description Methods
jakarta.ws.rs.core

public @Interface Context

extends Annotation
Annotations
@Target:PARAMETER, METHOD, FIELD
@Retention:RUNTIME
@Documented
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

This annotation is used to inject information into a class field, bean property or method parameter.

Note that future versions of this API will stop supporting injection via Context as part of a tighter integration and alignment with Jakarta CDI.

Authors
Paul Sandoz, Marc Hadley
Since
1.0
See Also
Application, UriInfo, Request, HttpHeaders, SecurityContext, jakarta.ws.rs.ext.Providers

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString