code: private static HttpRequestBase addParamsGet(AsyncRequest asyncRequest) {
  
          HttpGet get = new HttpGet(asyncRequest.getUrl());
          Parameters parameter = asyncRequest.getParameter();
          if (parameter != null && parameter.getNameValuePair() != null) {
              try {
                  get.setURI(new URIBuilder(get.getURI()).addParameters(parameter.getNameValuePair()).build());
              } catch (URISyntaxException e) {
                  e.printStackTrace();
              }
          }
  
          Headers header = asyncRequest.getHeader();
          if (header != null) {
              get.setHeaders(header.toHeaderArray());
          }
  
          return get;
      }
docs: GET