code: protected static RequestParams getParams(Uri uri) {
          RequestParams params = new RequestParams();
          Set<String> keys = getQueryParameterNames(uri);
          for (String key : keys) {
              String value = uri.getQueryParameter(key);
              if (TextUtils.isEmpty(value)) {
                  value = null;
              }
              params.put(key, value);
          }
          return params;
      }
docs: Extracts the query parameters as {@link RequestParams}