Skip to content
Snippets Groups Projects
Commit c65c3f22 authored by Tucker Gary Siegel's avatar Tucker Gary Siegel
Browse files

update

parent f56dc012
No related branches found
Tags 0.5.0
No related merge requests found
......@@ -65,8 +65,12 @@ public class RequestInterceptor implements HandlerInterceptor {
}
}
Map<String, String> pathParams = (Map<String, String>)request.getAttribute(HandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE);
pathParams.forEach((k, v) -> parameters.merge(k, v, String::concat));
Object p = request.getAttribute(HandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE);
if (p != null) {
Map<String, String> pathParams = (Map<String, String>)p;
pathParams.forEach((k, v) -> parameters.merge(k, v, String::concat));
}
return parameters;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment