All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vrap.rmf.base.client.BaseHttpClientSupplier Maven / Gradle / Ivy

There is a newer version: 17.17.0
Show newest version

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy