use of org.ow2.proactive_grid_cloud_portal.common.SchedulerRestInterface in project scheduling by ow2-proactive.
the class SchedulerRestClient method createRestProxy.
private static SchedulerRestInterface createRestProxy(ResteasyProviderFactory provider, String restEndpointURL, ClientHttpEngine httpEngine) {
ResteasyClient client = buildResteasyClient(provider);
ResteasyWebTarget target = client.target(restEndpointURL);
SchedulerRestInterface schedulerRestClient = target.proxy(SchedulerRestInterface.class);
return createExceptionProxy(schedulerRestClient);
}
Aggregations