io.sphere.sdk.http.HttpClient Maven / Gradle / Ivy
package io.sphere.sdk.http;
import javax.annotation.Nullable;
import java.io.Closeable;
import java.util.concurrent.CompletionStage;
public interface HttpClient extends Closeable {
CompletionStage execute(HttpRequest httpRequest);
@Nullable
default String getUserAgent() {
return null;
}
@Override
void close();
}