use of org.openstack4j.core.transport.functions.EndpointURIFromRequestFunction in project openstack4j by ContainX.
the class HttpCommand method initialize.
private void initialize() {
resteasyWebTarget = new ResteasyClientBuilder().httpEngine(ApacheHttpClientEngine.create(request.getConfig())).providerFactory(ResteasyClientFactory.getInstance()).build().target(UriBuilder.fromUri(new EndpointURIFromRequestFunction().apply(request)));
populateQueryParams(request);
resteasyRequest = resteasyWebTarget.request();
populateHeaders(request);
}
Aggregations