String unresolvedPath = ClassUtil.getClassAnnotationValue(clazz, Path.class, "value", String.class);
Map<String, String> patternMap = new HashMap<String, String>();
for (Field field : clazz.getDeclaredFields()) {
PathVariable part = field.getAnnotation(PathVariable.class);
if (part != null) {
try {
String pattern = part.value();
field.setAccessible(true);
String value = (String) field.get(request);
patternMap.put(pattern, value);
} catch (Exception e) {
throw new RuntimeException(e);