Guest User

Untitled

a guest
Jul 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. @Autowired
  2. // org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping
  3. private DefaultAnnotationHandlerMapping defaultAnnotationHandlerMapping;
  4.  
  5. public void outputMappings() {
  6. for (Map.Entry<String, Object> entry :
  7. defaultAnnotationHandlerMapping.getHandlerMap().entrySet()) {
  8. System.out.println(entry.getKey() + "->" +
  9. entry.getValue().getClass().getName());
  10. }
  11.  
  12. }
Add Comment
Please, Sign In to add comment