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(javax.servlet.http.HttpServletRequest request)
Return a method name that can handle this request.
|
String getHandlerMethodName(javax.servlet.http.HttpServletRequest request) throws NoSuchRequestHandlingMethodException
request - current HTTP requestnull; throws exception if not resolvable.NoSuchRequestHandlingMethodException - if no handler method
can be found for the given requestCopyright © 2015. All rights reserved.