docs: public void setRequestBody(NameValuePair[] parametersBody)
      throws IllegalArgumentException {
          log.trace("enter PostMethod.setRequestBody(NameValuePair[])");
  
          if (parametersBody == null) {
              throw new IllegalArgumentException("Array of parameters may not be null");
          }
          clearRequestBody();
          addParameters(parametersBody);
      }