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

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -