code: public void addParam(String name, String value) {
          if (name == null) {
              throw new NullPointerException("name");
          }
          if (value == null) {
              throw new NullPointerException("value");
          }
          params.add(new Param(name, value));
      }
docs: Adds a parameter with the specified name and value to this encoder.