I need to create a calm client using the RestService interface created by others ... This works well, except for one thing ...
When I upgrade from rest-easy 2.3.5.Final to rest-easy 3.0.x, the ClientRequestFactory class looks like @Deprecated.
Actual code:
ClientRequestFactory crf = new ClientRequestFactory(UriBuilder.fromUri("http://url-of-service").build());
SomeRestInterface client = crf.createProxy(SomeRestInterface.class);
client.theMethod();
Any, now, what is the rest-easy alternative for ClientRequestFactory in version 3.0.x?
source
share