@Test public void getQueryParamsTestTwoArgs() { String queryParams = getQueryParams(PAGE_NUMBER, PAGE_SIZE); assertEquals(EXPECTED_QUERY_PARAMS, queryParams); }
@NotNull public static String getQueryParams(String pageNumber, final String pageSize) { final StringBuilder queryParams = new StringBuilder() .append(QUERY) .append(PAGE_NUMBER) .append(pageNumber) .append(AND) .append(PAGE_SIZE) .append(pageSize); return queryParams.toString(); }
HttpUtils { @NotNull public static String getQueryParams(String pageNumber, final String pageSize) { final StringBuilder queryParams = new StringBuilder() .append(QUERY) .append(PAGE_NUMBER) .append(pageNumber) .append(AND) .append(PAGE_SIZE) .append(pageSize); return queryParams.toString(); } }
HttpUtils { @NotNull public static String getQueryParams(String pageNumber, final String pageSize) { final StringBuilder queryParams = new StringBuilder() .append(QUERY) .append(PAGE_NUMBER) .append(pageNumber) .append(AND) .append(PAGE_SIZE) .append(pageSize); return queryParams.toString(); }  }
HttpUtils { @NotNull public static String getQueryParams(String pageNumber, final String pageSize) { final StringBuilder queryParams = new StringBuilder() .append(QUERY) .append(PAGE_NUMBER) .append(pageNumber) .append(AND) .append(PAGE_SIZE) .append(pageSize); return queryParams.toString(); }  @org.jetbrains.annotations.NotNull static Proxy getProxy(@org.jetbrains.annotations.NotNull final String proxyHost, final int proxyPort, @org.jetbrains.annotations.NotNull final String proxyUser, @org.jetbrains.annotations.NotNull final String proxyPassword); static void setProxy(@org.jetbrains.annotations.NotNull final HttpClientInputs httpClientInputs,
                                @org.jetbrains.annotations.NotNull final String proxyHost,
                                @org.jetbrains.annotations.NotNull final String proxyPort,
                                @org.jetbrains.annotations.NotNull final String proxyUsername,
                                @org.jetbrains.annotations.NotNull final String proxyPassword); @NotNull static URIBuilder getUriBuilder(); @NotNull static String getAuthHeaders(@NotNull final String authToken); @NotNull static Map<String, String> getOperationResults(@NotNull final Map<String, String> result,
                                                          @NotNull final String successMessage,
                                                          final String failureMessage,
                                                          final String document); static void setSecurityInputs(@org.jetbrains.annotations.NotNull final HttpClientInputs httpClientInputs,
                                         @org.jetbrains.annotations.NotNull final String trustAllRoots,
                                         @org.jetbrains.annotations.NotNull final String x509HostnameVerifier,
                                         @org.jetbrains.annotations.NotNull final String trustKeystore,
                                         @org.jetbrains.annotations.NotNull final String trustPassword); static void setConnectionParameters(HttpClientInputs httpClientInputs,
                                               @NotNull final String connectTimeout,
                                               @NotNull final String socketTimeout,
                                               @NotNull final String keepAlive,
                                               @NotNull final String connectionsMaxPerRoot,
                                               @NotNull final String connectionsMaxTotal); static void setTLSParameters(HttpClientInputs httpClientInputs); @NotNull static String getQueryParams(String pageNumber,
                                        final String pageSize); @NotNull static Map<String, String> getFailureResults(@NotNull String inputName, @NotNull Integer statusCode, @NotNull String throwable); }
HttpUtils { @NotNull public static String getQueryParams(String pageNumber, final String pageSize) { final StringBuilder queryParams = new StringBuilder() .append(QUERY) .append(PAGE_NUMBER) .append(pageNumber) .append(AND) .append(PAGE_SIZE) .append(pageSize); return queryParams.toString(); }  @org.jetbrains.annotations.NotNull static Proxy getProxy(@org.jetbrains.annotations.NotNull final String proxyHost, final int proxyPort, @org.jetbrains.annotations.NotNull final String proxyUser, @org.jetbrains.annotations.NotNull final String proxyPassword); static void setProxy(@org.jetbrains.annotations.NotNull final HttpClientInputs httpClientInputs,
                                @org.jetbrains.annotations.NotNull final String proxyHost,
                                @org.jetbrains.annotations.NotNull final String proxyPort,
                                @org.jetbrains.annotations.NotNull final String proxyUsername,
                                @org.jetbrains.annotations.NotNull final String proxyPassword); @NotNull static URIBuilder getUriBuilder(); @NotNull static String getAuthHeaders(@NotNull final String authToken); @NotNull static Map<String, String> getOperationResults(@NotNull final Map<String, String> result,
                                                          @NotNull final String successMessage,
                                                          final String failureMessage,
                                                          final String document); static void setSecurityInputs(@org.jetbrains.annotations.NotNull final HttpClientInputs httpClientInputs,
                                         @org.jetbrains.annotations.NotNull final String trustAllRoots,
                                         @org.jetbrains.annotations.NotNull final String x509HostnameVerifier,
                                         @org.jetbrains.annotations.NotNull final String trustKeystore,
                                         @org.jetbrains.annotations.NotNull final String trustPassword); static void setConnectionParameters(HttpClientInputs httpClientInputs,
                                               @NotNull final String connectTimeout,
                                               @NotNull final String socketTimeout,
                                               @NotNull final String keepAlive,
                                               @NotNull final String connectionsMaxPerRoot,
                                               @NotNull final String connectionsMaxTotal); static void setTLSParameters(HttpClientInputs httpClientInputs); @NotNull static String getQueryParams(String pageNumber,
                                        final String pageSize); @NotNull static Map<String, String> getFailureResults(@NotNull String inputName, @NotNull Integer statusCode, @NotNull String throwable);  }