
io.sphere.client.DeleteRequest Maven / Gradle / Ivy
package io.sphere.client;
import com.google.common.base.Optional;
import com.google.common.util.concurrent.ListenableFuture;
import net.jcip.annotations.Immutable;
import javax.annotation.Nonnull;
@Immutable
public interface DeleteRequest{
/** Executes the request and returns the deleted object. */
Optional execute();
/** Executes the request asynchronously and returns a future of the deleted object. */
ListenableFuture> executeAsync();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy