@Deprecated public interface MethodNameResolver
Illustrates how delegation can be more flexible than subclassing.
MultiActionController.setMethodNameResolver(org.springframework.web.servlet.mvc.multiaction.MethodNameResolver)
Modifier and Type | Method and Description |
---|---|
String |
getHandlerMethodName(HttpServletRequest request)
Deprecated.
Return a method name that can handle this request.
|
String getHandlerMethodName(HttpServletRequest request) throws NoSuchRequestHandlingMethodException
request
- current HTTP requestnull
; throws exception if not resolvable.NoSuchRequestHandlingMethodException
- if no handler method
can be found for the given request