code: 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;
      }
docs: Gets the parameters currently added to the PostMethod. If there are no
  parameters, a valid array is returned with zero elements. The returned
  array object contains an array of pointers to  the internal data
  members.
  
  @return An array of the current parameters
  
  @since 2.0