@Test public void testGet() throws Exception { String result = HttpUtils.get("http: assertEquals(expected,result); }
public static String get(String url) throws IOException { return get(url, null); }
HttpUtils { public static String get(String url) throws IOException { return get(url, null); } }
HttpUtils { public static String get(String url) throws IOException { return get(url, null); }  }
HttpUtils { public static String get(String url) throws IOException { return get(url, null); }  static String get(String url); static String delete(String url); static String post(String url, String sendData,Map<String,String> headers); static String put(String url, String sendData,Map<String,String> headers); static String get(String url, String decodeCharset); static String delete(String url, String decodeCharset); static String post(String url, String sendData, Map<String,String> headers,String encodeCharset,String decodeCharset); static String put(String url, String sendData,Map<String,String> headers,String encodeCharset,String decodeCharset); static String form(String url, Map<String,String> sendData); }
HttpUtils { public static String get(String url) throws IOException { return get(url, null); }  static String get(String url); static String delete(String url); static String post(String url, String sendData,Map<String,String> headers); static String put(String url, String sendData,Map<String,String> headers); static String get(String url, String decodeCharset); static String delete(String url, String decodeCharset); static String post(String url, String sendData, Map<String,String> headers,String encodeCharset,String decodeCharset); static String put(String url, String sendData,Map<String,String> headers,String encodeCharset,String decodeCharset); static String form(String url, Map<String,String> sendData);  }