package com.heroku.api.connection;

import com.heroku.api.command.Command;
import com.heroku.api.command.CommandResponse;
import org.apache.http.client.HttpClient;

import java.io.IOException;
import java.net.URL;

/**
 * Connection manager for connecting to the Heroku API.
 *
 * @author Naaman Newbold
 */
public interface Connection {

    <T extends CommandResponse> T executeCommand(Command<T> command) throws IOException;

    HttpClient getHttpClient();

    URL getEndpoint();

    String getEmail();

    String getApiKey();

}

@@ -118,50 +118,8 @@
 nse;
-%0Aimport org.apache.http.client.HttpClient;
 %0A%0Aim
@@ -384,41 +384,8 @@
 n;%0A%0A
-    HttpClient getHttpClient();%0A%0A
     

remove httpclient from connection interface