I know that there are dozens of similar topics, but I didn't found smth useful to answer my question.
Suppose I have an url http://example.com/a/b?param1=1¶m2={"a": "b"}¶m3="&=+%"
+ and = signs don't get encoded when using apache UriUril.encodeQuery. When using URLEncoder.encode they do get encoded but in that case I have to encode each parameter value individually(so I need to get a map of parameters and their values). Simply splitting the url string on & or = doesn't work in this case as you can see.
So how this task can be overcomed with less effort applied?