Annotation Type 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.
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static RestClient LITERAL