接口 MappingDescriptionProvider
- 所有已知实现类:
DispatcherHandlersMappingDescriptionProvider
,DispatcherServletsMappingDescriptionProvider
,FiltersMappingDescriptionProvider
,ServletsMappingDescriptionProvider
public interface MappingDescriptionProvider
AMappingDescriptionProvider
provides aList
of mapping descriptions via implementation-specific introspection of an application context.- 从以下版本开始:
- 2.0.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Object
describeMappings(org.springframework.context.ApplicationContext context)
Produce the descriptions of the mappings identified by this provider in the givencontext
.String
getMappingName()
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
Object describeMappings(org.springframework.context.ApplicationContext context)
Produce the descriptions of the mappings identified by this provider in the givencontext
.- 参数:
context
- the application context to introspect- 返回:
- the mapping descriptions