程序包 org.springframework.web.servlet.mvc.multiaction
Package allowing MVC Controller implementations to handle requests at method rather than class level. This is useful when we want to avoid having many trivial controller classes, as can easily happen when using an MVC framework.
Typically a controller that handles multiple request types will extend MultiActionController, and implement multiple request handling methods that will be invoked by reflection if they follow this class' naming convention. Classes are analyzed at startup and methods cached, so the performance overhead of reflection in this approach is negligible.
接口概要 接口 说明 MethodNameResolver 已过时。 as of 4.3, in favor of annotation-driven handler methods类概要 类 说明 AbstractUrlMethodNameResolver 已过时。 as of 4.3, in favor of annotation-driven handler methodsInternalPathMethodNameResolver 已过时。 as of 4.3, in favor of annotation-driven handler methodsMultiActionController 已过时。 as of 4.3, in favor of annotation-driven handler methodsParameterMethodNameResolver 已过时。 as of 4.3, in favor of annotation-driven handler methodsPropertiesMethodNameResolver 已过时。 as of 4.3, in favor of annotation-driven handler methods异常错误概要 异常错误 说明 NoSuchRequestHandlingMethodException 已过时。 as of 4.3, in favor of annotation-driven handler methods