Is there any method to convert the map obtained from servletRequest.getParameterMap() which returns a Map<String, String[]> to Map<String, Object[]> in a simple way other than a for loop?
I have a method getSomething() which is declared as
public Response getSomething(final Map<String, Object[])
I have to call this method with servletRequest.getParameterMap() as input.
Integersto array of Objects which really will be still array for Strings).