* org.springframework.web.bind.support.WebDataBinderFactory)
*/
@Override
public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer,
NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception {
AntPathMatcher pathMatcher = new AntPathMatcher();
RequestMapping requestMappingOnMethod = parameter.getMethodAnnotation(RequestMapping.class);
RequestMapping requestMappingOnClass = getDeclaringClassRequestMapping(parameter);
String combine = pathMatcher.combine(requestMappingOnClass.value()[0], requestMappingOnMethod.value()[0]);
return PathUtils.removePrependedSlash(pathMatcher.extractPathWithinPattern(combine, (String) webRequest
.getAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE,
NativeWebRequest.SCOPE_REQUEST)));
}