|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that parameterizes the MultiActionController class using the Strategy GoF Design pattern, allowing the mapping from incoming request to handler method name to be varied without affecting other application code.
Illustrates how delegation can be more flexible than subclassing.
MultiActionController.setMethodNameResolver(org.springframework.web.servlet.mvc.multiaction.MethodNameResolver)
Method Summary | |
String |
getHandlerMethodName(HttpServletRequest request)
Return a method name that can handle this request. |
Method Detail |
public String getHandlerMethodName(HttpServletRequest request) throws NoSuchRequestHandlingMethodException
request
- current HTTP request
NoSuchRequestHandlingMethodException
- if no method
can be found for this URL
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |