/******************************************************************************* * Copyright (c) Microsoft Open Technologies, Inc. * All Rights Reserved * See License.txt in the project root for license information. ******************************************************************************/ package com.microsoft.services.sharepoint.http; import com.google.common.util.concurrent.ListenableFuture; /** * Interface that defines a generic HttpConnection */ public interface HttpConnection { /** * Executes an request * @param request The request to execute * @return A Future for the operation */ public ListenableFuture<Response> execute(final Request request); }