@Test public void basicGetTest() throws IOException, URISyntaxException { byte[] response = HttpUtil.httpGet("http: assertNotNull("null response", response); assertTrue("zero response length", response.length > 0); }
public static HttpResponse httpGet(String url, int timeoutms) throws IOException, URISyntaxException { return httpGet(url, null, timeoutms); }
HttpUtil { public static HttpResponse httpGet(String url, int timeoutms) throws IOException, URISyntaxException { return httpGet(url, null, timeoutms); } }
HttpUtil { public static HttpResponse httpGet(String url, int timeoutms) throws IOException, URISyntaxException { return httpGet(url, null, timeoutms); }  }
HttpUtil { public static HttpResponse httpGet(String url, int timeoutms) throws IOException, URISyntaxException { return httpGet(url, null, timeoutms); }  static HttpResponse httpGet(String url, int timeoutms); static HttpResponse httpGet(String url, Map<String, String> requestHeaders, int timeoutms); static InputStream httpGetAsInputStream(String url, int timeoutms); static HttpResponse httpPost(String url, String contentType, byte[] content, int timeoutms); static HttpResponse httpPost(String url, String charset, Map<String, String> content, int timeoutms); static HttpPost makePost(String url, String contentType, byte[] content); static HttpPost makePost(String url, String charset, Map<String, String> content); static List<byte[]> httpGet(List<String> urls, int numThreads, int timeoutms); static HttpResponse execute(HttpUriRequest request, int timeoutms); static HttpResponse execute(HttpUriRequest request, int timeoutms, Optional<CredentialsProvider> credentials); static HttpResponse execute(HttpUriRequest request, int timeoutms, int numRetries); static List<Method> execute(List<? extends HttpRequestBase> requests, int numThreads, int timeoutms); static List<Method> execute(List<? extends HttpRequestBase> requests,
                                       int numThreads, int timeoutms, int numRetries); static List<byte[]> extractResponses(List<Method> methods); }
HttpUtil { public static HttpResponse httpGet(String url, int timeoutms) throws IOException, URISyntaxException { return httpGet(url, null, timeoutms); }  static HttpResponse httpGet(String url, int timeoutms); static HttpResponse httpGet(String url, Map<String, String> requestHeaders, int timeoutms); static InputStream httpGetAsInputStream(String url, int timeoutms); static HttpResponse httpPost(String url, String contentType, byte[] content, int timeoutms); static HttpResponse httpPost(String url, String charset, Map<String, String> content, int timeoutms); static HttpPost makePost(String url, String contentType, byte[] content); static HttpPost makePost(String url, String charset, Map<String, String> content); static List<byte[]> httpGet(List<String> urls, int numThreads, int timeoutms); static HttpResponse execute(HttpUriRequest request, int timeoutms); static HttpResponse execute(HttpUriRequest request, int timeoutms, Optional<CredentialsProvider> credentials); static HttpResponse execute(HttpUriRequest request, int timeoutms, int numRetries); static List<Method> execute(List<? extends HttpRequestBase> requests, int numThreads, int timeoutms); static List<Method> execute(List<? extends HttpRequestBase> requests,
                                       int numThreads, int timeoutms, int numRetries); static List<byte[]> extractResponses(List<Method> methods);  }