Top Description Interfaces Classes
module org.eclipse.microprofile.rest.client

Package org.eclipse.microprofile.rest.client

Annotations
@Version:2.1
@ProviderType

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

Interface Summary

Modifier and TypeInterface and Description
public interface
RestClientBuilder

This is the main entry point for creating a Type Safe Rest Client.

Class Summary

Modifier and TypeClass and Description
public class
RestClientDefinitionException

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