addressbuilder/src/main/java/org/ocpsoft/urlbuilder/AddressBuilder.java
void setDecoded(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.path(value.toString()));
         }
         this.parameters.put(name.toString(), Parameter.create(name.toString(), encodedValues));
      }
   }
void setDecoded(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.path(value.toString()));
         }
         this.parameters.put(name.toString(), Parameter.create(name.toString(), encodedValues));
      }
   }
void setDecoded ( 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 . path ( value . toString ( ) ) ) ; } this . parameters . put ( name . toString ( ) , Parameter . create ( name . toString ( ) , encodedValues ) ) ; } }
Set a parameter name and value or values. The values will be decoded before they are stored.
Set a parameter name and value or values . The values will be decoded before they are stored .