List<Object> bindArguments( MethodAction action, HttpServletRequest req, HttpServletResponse resp, Map<String, String> pathVars) { Map<ParameterDescription, Object> boundParameters = new LinkedHashMap<ParameterDescription, Object>(); for (ParameterDescription parameterDescription : action.parameters()) { boundParameters.put(parameterDescription, null); } if (!boundParameters.isEmpty()) { for (ActionMethodBinder binder : methodBinderRegistry.getRegisteredActionMethodBinders()) { binder.bindAll(boundParameters, req, resp, pathVars); } } return new ArrayList<Object>(boundParameters.values()); }