@SuppressWarnings({"unchecked"}) private Map<String,Object> parameters(ServletRequest req){
  Map<String,String[]> params=req.getParameterMap();
  if (F.isEmpty(params))   return Collections.emptyMap();
  Map<String,Object> map=U.newHashMap(params.size());
  for (  Map.Entry<String,String[]> entry : params.entrySet())   map.put(entry.getKey(),parameter(entry.getValue()));
  return map;
}

@ SuppressWarnings ( { "unchecked" } ) private Map < String , Object > parameters ( ServletRequest req ) { Map < String , String [ ] > params = req . getParameterMap ( ) ; if ( F . isEmpty ( params ) ) return Collections . emptyMap ( ) ; Map < String , Object > map = U . newHashMap ( params . size ( ) ) ; for ( Map . Entry < String , String [ ] > entry : params . entrySet ( ) ) map . put ( entry . getKey ( ) , parameter ( entry . getValue ( ) ) ) ; return map ; }
parses http parameters in an appropriate format and return back map of values to predefined list of names .
