@Version(value="1.4") @ProviderType

# Package org.eclipse.microprofile.rest.client

APIs for building a type-safe RESTful client leveraging existing JAX-RS APIs, for example:

See: Description

Interface Summary
RestClientBuilder: This is the main entry point for creating a Type Safe Rest Client.

Exception Summary
RestClientDefinitionException: This exception is thrown when the MicroProfile Rest Client implementation attempts to build a client using an invalid interface.

## Package org.eclipse.microprofile.rest.client Description

APIs for building a type-safe RESTful client leveraging existing JAX-RS 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