public void addParameters(final NameValuePair[] parameters){
  LOG.trace("enter PostMethod.addParameters(NameValuePair[])");
  if (parameters == null) {
    LOG.warn("Attempt to addParameters(null) ignored");
  }
 else {
    super.clearRequestBody();
    for (int i=0; i < parameters.length; i++) {
      params.add(parameters[i]);
    }
  }
}

public void addParameters ( final NameValuePair [ ] parameters ) { LOG . trace ( "enter PostMethod.addParameters(NameValuePair[])" ) ; if ( parameters == null ) { LOG . warn ( "Attempt to addParameters(null) ignored" ) ; } else { super . clearRequestBody ( ) ; for ( int i = 0 ; i < parameters . length ; i ++ ) { params . add ( parameters [ i ] ) ; } } }
adds an array of parameters to be used in the post request body . logs a warning if the parameters argument is null .
