@Test public void initializeHttpGet_shouldProperlyEncodeUrl() throws Exception { HttpGet httpGet = initializeHttpGet("http: assertThat(httpGet.getURI().toString()) .isEqualTo("http: }
public static HttpGet initializeHttpGet(@NonNull final String url) { return initializeHttpGet(url, null); }
HttpClient { public static HttpGet initializeHttpGet(@NonNull final String url) { return initializeHttpGet(url, null); } }
HttpClient { public static HttpGet initializeHttpGet(@NonNull final String url) { return initializeHttpGet(url, null); }  }
HttpClient { public static HttpGet initializeHttpGet(@NonNull final String url) { return initializeHttpGet(url, null); }  static AndroidHttpClient getHttpClient(); static HttpGet initializeHttpGet(@NonNull final String url); static HttpGet initializeHttpGet(@NonNull String url, @Nullable final Context context); static String urlEncode(@NonNull final String url); synchronized static String getWebViewUserAgent(String defaultUserAgent); synchronized static String getWebViewUserAgent(); synchronized static void setWebViewUserAgent(final String userAgent); }
HttpClient { public static HttpGet initializeHttpGet(@NonNull final String url) { return initializeHttpGet(url, null); }  static AndroidHttpClient getHttpClient(); static HttpGet initializeHttpGet(@NonNull final String url); static HttpGet initializeHttpGet(@NonNull String url, @Nullable final Context context); static String urlEncode(@NonNull final String url); synchronized static String getWebViewUserAgent(String defaultUserAgent); synchronized static String getWebViewUserAgent(); synchronized static void setWebViewUserAgent(final String userAgent);  }