Bit Shift (bitshift)'s status on Sunday, 27-May-12 16:29:00 UTC
-
@redenchilada Well, in fairness, I don't know whether there's a better way built into Java. But at the very least, you could put parameters in a hash (with name as key, value as... well, value), and have one function that urlencodes values, puts strings along the lines of "{KEY}={URLENCODED VALUE}" into a list and joins the whole list together with "&" as a separator. More complex, but removes the need to repeat concatenation and urlencoding everywhere.