[jax-rs-spec users] Client proxy framework

From: Bill Burke <>
Date: Mon, 19 Oct 2015 14:16:26 -0400

Resteasy's client proxy frameork has been a very popular feature and in
use for 6+ years. Basically it allows you to use JAX-RS annotations on
the client side to create a typed client proxy. i.e.

public interface MyService {

     MyData getData(@QueryParam("param") String param);

     Response postData(@FormParam("param") int param);


Then, you can take this interface and generate a client proxy:

Client client = ClientBuilder.newClient();
MyService service = client.proxy(MyService.class);

MyData data = service.getData("value");

There's other minor details involved, but do you get the gist? Again,
this is a very popular feature and IMO, a very natural extension to the
client api.

Bill Burke
JBoss, a division of Red Hat