@RegisterProvider(MyMessageBodyReader.class)
@RegisterProvider(MyMessageBodyWriter.class)
@RegisterProvider(MyClientRequestFilter.class)
public interface MyClientService {
@GET
@Path("/myService/{id}")
Widget getWidget(@PathParam("id") String id);
}
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | ClientHeaderParam
Used to specify an HTTP parameter that should be sent with the outbound request. |
| public @interface | ClientHeaderParams
Used to specify HTTP parameters that should be sent with the outbound request. |
| public @interface | RegisterClientHeaders
Used to specify that a |
| public @interface | RegisterProvider
When annotation is placed at the interface level of a REST API definition, the providers listed will be registered upon proxying. |
| public @interface | RegisterProviders
When annotation is placed at the interface level of a REST API definition, the providers listed will be registered upon proxying. |