Package org.eclipse.microprofile.rest.client.annotation
@Version("1.1.1")
@ProviderType
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); }
-
ClassDescriptionUsed to specify an HTTP parameter that should be sent with the outbound request.Used to specify HTTP parameters that should be sent with the outbound request.Used to specify that a
ClientHeadersFactory
should be used to generate or propagate HTTP headers on the outbound request.When annotation is placed at the interface level of a REST API definition, the providers listed will be registered upon proxying.When annotation is placed at the interface level of a REST API definition, the providers listed will be registered upon proxying.