Does URLEncodedUtils.parse(uri, encoding) return the parameters in the same order mentioned in the URL?
And does it return all the values for parameters with duplicate names?
Does URLEncodedUtils.parse(uri, encoding) return the parameters in the same order mentioned in the URL?
Share
As you can see in the parse-function, it preserves the order of the parameters in the URL. But this is an implementation detail and not documented, so it can change without warning. You really should not rely on that behavior in your code.