Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Autowired
- // org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping
- private DefaultAnnotationHandlerMapping defaultAnnotationHandlerMapping;
- public void outputMappings() {
- for (Map.Entry<String, Object> entry :
- defaultAnnotationHandlerMapping.getHandlerMap().entrySet()) {
- System.out.println(entry.getKey() + "->" +
- entry.getValue().getClass().getName());
- }
- }
Add Comment
Please, Sign In to add comment