|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodNameResolver
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 |
---|
String getHandlerMethodName(HttpServletRequest request) throws NoSuchRequestHandlingMethodException
request
- current HTTP request
null
; throws exception if not resolvable.
NoSuchRequestHandlingMethodException
- if no handler method
can be found for the given request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |