package com.joecheatham.simplehttp;

import android.util.Log;

import java.util.Map;

/**
 * Created by Joe on 4/4/16.
 */
public class SimpleHttp {
  public static final String TAG = "SimpleHttp";
  public static void get(String url, SimpleHttpResponseHandler callback) {
    Log.d(TAG, "GET called to: " + url);
    new HttpGetTask(callback).execute(url);
  }

  public static void post(String url, Map<String, String> parameters, SimpleHttpResponseHandler
      callback) {
    Log.d(TAG, "POST called to: " + url);
    new HttpPostTask(parameters, callback).execute(url);
  }
}

@@ -90,33 +90,131 @@
 %0A * 
-Created by Joe on 4/4/16.
+Handles HTTP operations asynchronously.%0A * @author %3Ca href=%22https://github.com/joecheatham%22%3Ejoecheatham%3C/a%3E%0A * @version 1.0
 %0A */

update javadoc