MVC framework SPI, allowing parameterization of the core MVC workflow.
Interface that must be implemented for each handler type to handle a request.
This interface is used to allow the
DispatcherServlet to be indefinitely
DispatcherServlet accesses all installed handlers through
this interface, meaning that it does not contain code specific to any handler type.
Note that a handler can be of type
Object. This is to enable
handlers from other frameworks to be integrated with this framework without
custom coding, as well as to allow for annotation-driven handler objects that
do not obey any specific Java interface.
This interface is not intended for application developers. It is available
to handlers who want to develop their own web workflow.
HandlerAdapter implementors may implement the
Ordered interface to be able to specify a sorting
order (and thus a priority) for getting applied by the
Non-Ordered instances get treated as lowest priority.