DispatcherServlet has 3 default handler adaptors: HttpRequestHandlerAdapter, SimpleControllerHandlerAdapter, and AnnotationMethodHandlerAdapter. In some situation, DispatcherServlet could find two or more handler objects based on handler mappings. For example, the method on the handler object from AnnotationMethodHandlerAdapter and the handler object from SimpleControllerHandlerAdapter. My question is which handler object DispatcherServlet invoke? Can I set priorities of these three? If so, How?
Thank you in advance.
dimanche 29 mars 2015
Spring MVC: how does spring MVC decide which handler adaptor to use?
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire