code: public static void addParamOverride(
              final Multimap<String, String> params, final String key, final String value) {
          params.removeAll(key);
          params.put(key, value);
      }
docs: Add a parameter to the query params (the params map) replacing any parameter that might be there.
  
  @param params the query parameters
  @param key the key/param name
  @param value the value to insert