@Version("1.0.1")
Package org.eclipse.microprofile.rest.client.annotation
APIs for annotating MP Rest Client interfaces.
Example:
@RegisterProvider(MyMessageBodyReader.class) @RegisterProvider(MyMessageBodyWriter.class) @RegisterProvider(MyClientRequestFilter.class) public interface MyClientService { @GET @Path("/myService/{id}") Widget getWidget(@PathParam("id") String id); }
-
Annotation Types Summary Annotation Type Description RegisterProvider When annotation is placed at the interface level of a REST API definition, the providers listed will be registered upon proxying.RegisterProviders When annotation is placed at the interface level of a REST API definition, the providers listed will be registered upon proxying.