That would normally be done if you want to get those params before you have
parsed the form data. At some point, there were cases of that. And it’s
likely done with an attempt to be generic and work with whatever format
since it’s essentially a feature in user code. If the current use doesn’t
need those params before the params are parsed out of the form data, it’s
not necessary. And if you want to want to have it just be an internal
feature on the client that only works with javabin you could do the small
simplification that David suggests.