Resteasy ProxyFactory类的替代品是什么?

我刚刚意识到在RestEasy版本3.0.0中, ProxyFactory类被标记为已弃用。 遗憾的是,弃用此类的方法没有记录在任何地方。 我曾经以这种方式初始化我的服务,但新方法是什么?

 protected static final String URL = "http://localhost:12345"+"/api"; protected static final MyService myService = ProxyFactory.create(MyService.class, URL); 

RESTEasy 3.0.2.Final( http://howtodoinjava.com/2013/08/03/jax-rs-2-0-resteasy-3-0-2-final-client-api-example/

 ResteasyClient client = new ResteasyClientBuilder().build(); ResteasyWebTarget target = client.target(URL); MyService myService = target.proxy(MyService .class);