javax.ws.rs.core
Annotation Type Context


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

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

Since:
1.0
Author:
Paul Sandoz, Marc Hadley
See Also:
Application, UriInfo, Request, HttpHeaders, SecurityContext, Providers



Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.