code: public NameValuePair getParameter(String paramName) {
          log.trace("enter PostMethod.getParameter(String)");
  
          if (paramName == null) {
              return null;
          }
  
          Iterator<NameValuePair> iter = this.params.iterator();
  
          while (iter.hasNext()) {
              NameValuePair parameter = iter.next();
  
              if (paramName.equals(parameter.getName())) {
                  return parameter;
              }
          }
          return null;
      }
docs: Gets the parameter of the specified name. If there exists more than one
  parameter with the name paramName, then only the first one is returned.
  
  @param paramName name of the parameter
  
  @return If a parameter exists with the name argument, the coresponding
  NameValuePair is returned.  Otherwise null.
  
  @since 2.0