Package org.eclipse.microprofile.rest.client


@Version("2.1") @ProviderType package org.eclipse.microprofile.rest.client
APIs for building a type-safe RESTful client leveraging existing Jakarta RESTful Web Services APIs, for example:
 public interface MyClientService {
     @GET
     @Path("/myService/{id}")
     Widget getWidget(@PathParam("id") String id);
 }

 ...

 MyClientService service = RestClientBuilder.newBuilder()
                                            .baseUrl(url)
                                            .build();
 Widget w = service.getWidget(widgetId); // invokes remote service, returns domain object
 
Since:
1.0