Class DispatcherServletsMappingDescriptionProvider
- java.lang.Object
- org.springframework.boot.actuate.web.mappings.servlet.DispatcherServletsMappingDescriptionProvider
- All Implemented Interfaces:
MappingDescriptionProvider
public class DispatcherServletsMappingDescriptionProvider extends Object implements MappingDescriptionProvider
AMappingDescriptionProvider
that introspects theHandlerMappings
that are known to one or moreDispatcherServlets
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description DispatcherServletsMappingDescriptionProvider()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<DispatcherServletMappingDescription>>
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.
Constructor Detail
DispatcherServletsMappingDescriptionProvider
public DispatcherServletsMappingDescriptionProvider()
Method Detail
getMappingName
public String getMappingName()
Description copied from interface:MappingDescriptionProvider
Returns the name of the mappings described by this provider.- Specified by:
getMappingName
in interfaceMappingDescriptionProvider
- Returns:
- the name of the mappings
describeMappings
public Map<String,List<DispatcherServletMappingDescription>> describeMappings(org.springframework.context.ApplicationContext context)
Description copied from interface:MappingDescriptionProvider
Produce the descriptions of the mappings identified by this provider in the givencontext
.- Specified by:
describeMappings
in interfaceMappingDescriptionProvider
- Parameters:
context
- the application context to introspect- Returns:
- the mapping descriptions