You really only want to split on the first occurrence of =
, so do that
parameters.split("=", 2)
The overloaded split(String, int)
javadoc states
If the limit n is greater than zero then the pattern will be applied at most n - 1 times, the array's length will be no greater than n, and the array's last entry will contain all input beyond the last matched delimiter.