code: private RequestConfig createDefaultRequestConfig(HttpSettings settings) {
          int connectionTimeout = settings.getConnectionTimeout();
          int socketTimeout = settings.getReadTimeout();
          return RequestConfig.custom().setConnectionRequestTimeout(connectionTimeout).setSocketTimeout(socketTimeout).build();
      }
docs: Creates default request config.
  
  @param settings
  settings to use.
  @return instance of {@link RequestConfig}.