if (params == null) throw new IllegalArgumentException("HTTP parameters may not be null"); this.params = params;