Friday, August 23, 2013

ClientRequestFactory RestEasy Deprecated... Any other RestEasy alternative ?

ClientRequestFactory RestEasy Deprecated... Any other RestEasy alternative ?

I need to create rest-easy client, using de interface of the RestService
created by others... That's work good, except by just one thing...
When i update from rest-easy 2.3.5.Final to rest-easy 3.0.x, the
ClientRequestFactory class appear like @Deprecated.
The actual code is:
ClientRequestFactory crf = new
ClientRequestFactory(UriBuilder.fromUri("http://url-of-service").build());
SomeRestInterface client = crf.createProxy(SomeRestInterface.class);
client.theMethod();
Any one, now what is the alternative of rest-easy for ClientRequestFactory
at version 3.0.x?

No comments:

Post a Comment