类 InternalPathMethodNameResolver

  • 所有已实现的接口:
    MethodNameResolver

    @Deprecated
    public class InternalPathMethodNameResolver
    extends AbstractUrlMethodNameResolver
    已过时。
    as of 4.3, in favor of annotation-driven handler methods
    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 corresponding MultiActionController handler. method. Doesn't support wildcards.

    作者:
    Rod Johnson, Juergen Hoeller