io.vrap.rmf.base.client.ClientRequestCommand 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.time.Duration;
import java.util.concurrent.CompletableFuture;
public interface ClientRequestCommand {
CompletableFuture> execute(final ApiHttpClient client);
default ApiHttpResponse executeBlocking(final ApiHttpClient client) {
return executeBlocking(client, ApiHttpClient.DEFAULT_TIMEOUT);
}
ApiHttpResponse executeBlocking(final ApiHttpClient client, final Duration timeout);
}