164 paramsInjectible &= HttpServletRequest.class.isAssignableFrom(param) |
164 paramsInjectible &= HttpServletRequest.class.isAssignableFrom(param) |
165 || HttpServletResponse.class.isAssignableFrom(param) |
165 || HttpServletResponse.class.isAssignableFrom(param) |
166 || DataAccessObjects.class.isAssignableFrom(param); |
166 || DataAccessObjects.class.isAssignableFrom(param); |
167 } |
167 } |
168 if (paramsInjectible) { |
168 if (paramsInjectible) { |
169 final String requestPath = "/" + mapping.get().requestPath(); |
169 final String requestPath = "/" + mapping.get().requestPath() |
|
170 + (mapping.get().menuKey().isBlank() ? "" : "/"); |
170 |
171 |
171 if (mappings |
172 if (mappings |
172 .computeIfAbsent(mapping.get().method(), k -> new HashMap<>()) |
173 .computeIfAbsent(mapping.get().method(), k -> new HashMap<>()) |
173 .putIfAbsent(requestPath, method) != null) { |
174 .putIfAbsent(requestPath, method) != null) { |
174 LOG.warn("{} {} has multiple mappings", |
175 LOG.warn("{} {} has multiple mappings", |