io.vrap.rmf.base.client.BaseHttpClientSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rmf-java-base Show documentation
Show all versions of rmf-java-base Show documentation
The e-commerce SDK from commercetools Composable Commerce for Java
package io.vrap.rmf.base.client;
import java.util.concurrent.ExecutorService;
import java.util.function.Supplier;
/**
* In order to work, the sdk needs an {@link VrapHttpClient} provider, this can be done by extending {@link HttpClientSupplier}
* and exposing it as a service
*/
public abstract class BaseHttpClientSupplier implements HttpClientSupplier {
/**
* The {@link VrapHttpClient} provider method
* @return HttpClient implementation
*/
public abstract VrapHttpClient get();
public abstract Supplier get(ExecutorService executorService);
}