io.vrap.rmf.base.client.CompletableFutureApiClient 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;
import java.util.function.Function;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JavaType;
public interface CompletableFutureApiClient extends AsyncApiClient> {
@Override
CompletableFuture> execute(final ApiHttpRequest request, final Class outputType);
@Override
CompletableFuture> execute(final ApiHttpRequest request, final TypeReference outputType);
@Override
CompletableFuture> execute(final ApiHttpRequest request, final JavaType outputType);
@Override
CompletableFuture> execute(final ApiHttpRequest request,
final Function, ApiHttpResponse> mapper);
@Override
CompletableFuture> execute(final HttpRequestCommand method);
@Override
CompletableFuture> execute(final CreateHttpRequestCommand method,
final Class outputType);
@Override
CompletableFuture> execute(final CreateHttpRequestCommand method, final JavaType outputType);
@Override
CompletableFuture> execute(final CreateHttpRequestCommand method,
final TypeReference outputType);
@Override
CompletableFuture> execute(final CreateHttpRequestCommand method,
final Function, ApiHttpResponse> mapper);
@Override
ApiHttpResponse executeBlocking(final CreateHttpRequestCommand method,
final Function, ApiHttpResponse> mapper, Duration timeout);
@Override
ApiHttpResponse executeBlocking(final CreateHttpRequestCommand method, final Class outputType,
Duration timeout);
@Override
ApiHttpResponse executeBlocking(final CreateHttpRequestCommand method, final JavaType outputType,
Duration timeout);
@Override
ApiHttpResponse executeBlocking(final CreateHttpRequestCommand method, final TypeReference outputType,
Duration timeout);
@Override
CompletableFuture> send(final CreateHttpRequestCommand method);
@Override
ApiHttpResponse sendBlocking(final CreateHttpRequestCommand method, final Duration timeout);
}