com.commercetools.http.apachehttp.ApacheHttpClientSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commercetools-apachehttp-client Show documentation
Show all versions of commercetools-apachehttp-client Show documentation
The e-commerce SDK from commercetools Composable Commerce for Java
The newest version!
package com.commercetools.http.apachehttp;
import java.util.concurrent.ExecutorService;
import java.util.function.Supplier;
import io.vrap.rmf.base.client.BaseHttpClientSupplier;
import io.vrap.rmf.base.client.VrapHttpClient;
public class ApacheHttpClientSupplier extends BaseHttpClientSupplier {
@Override
public VrapHttpClient get() {
return new CtApacheHttpClient();
}
@Override
public Supplier get(ExecutorService executorService) {
return () -> new CtApacheHttpClient(executorService);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy