docs: public NameValuePair[] getParameters() {
          log.trace("enter PostMethod.getParameters()");
  
          int numPairs = this.params.size();
          Object[] objectArr = this.params.toArray();
          NameValuePair[] nvPairArr = new NameValuePair[numPairs];
  
          for (int i = 0; i < numPairs; i++) {
              nvPairArr[i] = (NameValuePair) objectArr[i];
          }
  
          return nvPairArr;
      }