接口 MappingDescriptionProvider
- 所有已知实现类:
DispatcherHandlersMappingDescriptionProvider,DispatcherServletsMappingDescriptionProvider,FiltersMappingDescriptionProvider,ServletsMappingDescriptionProvider
public interface MappingDescriptionProvider
A
MappingDescriptionProvider provides a List of mapping descriptions
through implementation-specific introspection of an application context.- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson
-
方法概要
修饰符和类型方法说明describeMappings(ApplicationContext context) Produce the descriptions of the mappings identified by this provider in the givencontext.Returns the name of the mappings described by this provider.
-
方法详细资料
-
getMappingName
String getMappingName()Returns the name of the mappings described by this provider.- 返回:
- the name of the mappings
-
describeMappings
Produce the descriptions of the mappings identified by this provider in the givencontext.- 参数:
context- the application context to introspect- 返回:
- the mapping descriptions
-