org.springframework.web.servlet.mvc.multiaction
Class InternalPathMethodNameResolver

org.springframework.web.servlet.mvc.multiaction.AbstractUrlMethodNameResolver
  |
  +--org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver

public class InternalPathMethodNameResolver
extends AbstractUrlMethodNameResolver

Simple implementation of MethodNameResolver that maps URL to method name. Although this is the default implementation used by the MultiActionController class (because it requires no configuration), it's bit naive for most applications. In particular, we don't usually want to tie URL to implementation methods.

Maps the resource name after the last slash, ignoring an extension. E.g. "/foo/bar/baz.html" to "baz", assuming a "/foo/bar/baz.html" controller mapping to the respective MultiActionController. Doesn't support wildcards.

Author:
Rod Johnson, Juergen Hoeller

Methods inherited from class org.springframework.web.servlet.mvc.multiaction.AbstractUrlMethodNameResolver
getHandlerMethodName, setAlwaysUseFullPath, setUrlDecode, setUrlPathHelper