AddressBuilderQuery queryDecoded(CharSequence name, Object... values)
   {
      if (name != null && values != null)
      {
         List<Object> encodedValues = new ArrayList<Object>(values.length);
         for (Object value : values)
         {
            if (value == null)
               encodedValues.add(value);
            else
               encodedValues.add(Decoder.query(value.toString()));
         }
         this.queries.put(Decoder.query(name.toString()), Parameter.create(name.toString(), encodedValues));
      }
      return new AddressBuilderQuery(this);
   }
AddressBuilderQuery queryDecoded(CharSequence name, Object... values)
   {
      if (name != null && values != null)
      {
         List<Object> encodedValues = new ArrayList<Object>(values.length);
         for (Object value : values)
         {
            if (value == null)
               encodedValues.add(value);
            else
               encodedValues.add(Decoder.query(value.toString()));
         }
         this.queries.put(Decoder.query(name.toString()), Parameter.create(name.toString(), encodedValues));
      }
      return new AddressBuilderQuery(this);
   }
AddressBuilderQuery queryDecoded ( CharSequence name , Object ... values ) { if ( name != null && values != null ) { List < Object > encodedValues = new ArrayList < Object > ( values . length ) ; for ( Object value : values ) { if ( value == null ) encodedValues . add ( value ) ; else encodedValues . add ( Decoder . query ( value . toString ( ) ) ) ; } this . queries . put ( Decoder . query ( name . toString ( ) ) , Parameter . create ( name . toString ( ) , encodedValues ) ) ; } return new AddressBuilderQuery ( this ) ; }
Set a query-parameter value or multiple values. The given name and values be decoded before they are stored.
Set a query - parameter value or multiple values . The given name and values be decoded before they are stored .