类 DispatcherServletsMappingDescriptionProvider
java.lang.Object
org.springframework.boot.actuate.web.mappings.servlet.DispatcherServletsMappingDescriptionProvider
- 所有已实现的接口:
MappingDescriptionProvider
@ImportRuntimeHints(org.springframework.boot.actuate.web.mappings.servlet.DispatcherServletsMappingDescriptionProvider.DispatcherServletsMappingDescriptionProviderRuntimeHints.class)
public class DispatcherServletsMappingDescriptionProvider
extends Object
implements MappingDescriptionProvider
A
MappingDescriptionProvider
that introspects the HandlerMappings
that are known to one or more DispatcherServlets
.- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson, Stephane Nicoll
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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.
-
构造器详细资料
-
DispatcherServletsMappingDescriptionProvider
public DispatcherServletsMappingDescriptionProvider()
-
-
方法详细资料
-
getMappingName
从接口复制的说明:MappingDescriptionProvider
Returns the name of the mappings described by this provider.- 指定者:
getMappingName
在接口中MappingDescriptionProvider
- 返回:
- the name of the mappings
-
describeMappings
public Map<String,List<DispatcherServletMappingDescription>> describeMappings(ApplicationContext context) 从接口复制的说明:MappingDescriptionProvider
Produce the descriptions of the mappings identified by this provider in the givencontext
.- 指定者:
describeMappings
在接口中MappingDescriptionProvider
- 参数:
context
- the application context to introspect- 返回:
- the mapping descriptions
-