public RequestParams(Object... keysAndValues){
  init();
  int len=keysAndValues.length;
  if (len % 2 != 0)   throw new IllegalArgumentException("Supplied arguments must be even");
  for (int i=0; i < len; i+=2) {
    String key=String.valueOf(keysAndValues[i]);
    String val=String.valueOf(keysAndValues[i + 1]);
    put(key,val);
  }
}

public RequestParams ( Object ... keysAndValues ) { init ( ) ; int len = keysAndValues . length ; if ( len % 2 != 0 ) throw new IllegalArgumentException ( "Supplied arguments must be even" ) ; for ( int i = 0 ; i < len ; i += 2 ) { String key = String . valueOf ( keysAndValues [ i ] ) ; String val = String . valueOf ( keysAndValues [ i + 1 ] ) ; put ( key , val ) ; } }
constructs a new requestparams instance and populate it with multiple initial key / value string param .
