code: public void setBodyHttpDatas(List<InterfaceHttpData> datas) throws ErrorDataEncoderException {
          if (datas == null) {
              throw new NullPointerException("datas");
          }
          globalBodySize = 0;
          bodyListDatas.clear();
          currentFileUpload = null;
          duringMixedMode = false;
          multipartHttpDatas.clear();
          for (InterfaceHttpData data : datas) {
              addBodyHttpData(data);
          }
      }
docs: Set the Body HttpDatas list
  
  @throws NullPointerException
  for datas
  @throws ErrorDataEncoderException
  if the encoding is in error or if the finalize were already done