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

io.sphere.sdk.client.PlayJavaSphereClient Maven / Gradle / Ivy

package io.sphere.sdk.client;

import play.libs.F;

import static java.util.Objects.requireNonNull;

public interface PlayJavaSphereClient extends AutoCloseable {

     F.Promise execute(final SphereRequest sphereRequest);

    void close();

    static PlayJavaSphereClient of(final SphereClient underlying) {
        final String message = "Underlying client instance should not be null.";
        return PlayJavaSphereClientImpl.of(requireNonNull(underlying, message));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy