Annotation Interface RestClient


@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.
  • Field Details