java - What is the substitue for Resteasy ProxyFactory class -
i realized proxyfactory
class marked deprecated in resteasy version 3.0.0. sadly approach deprecates class not documented anywhere. used initialize services way new way?
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);
Comments
Post a Comment