Annotation Interface RestClient
@Target({CONSTRUCTOR,FIELD,METHOD})
@Qualifier
@Documented
@Retention(RUNTIME)
public @interface RestClient
Use the RestClient qualifier on an injection to point to indicate that this injection point is meant to use an instance
of a Type-Safe Rest Client.
@Inject @RestClient private MyRemoteApi api;This will cause the injection point to be satisfied by the MicroProfile Rest Client runtime.
-
Nested Class Summary
-
Field Summary
-
Field Details
-
LITERAL
-