Class DispatcherServletsMappingDescriptionProvider
java.lang.Object
org.springframework.boot.webmvc.actuate.web.mappings.DispatcherServletsMappingDescriptionProvider
- All Implemented Interfaces:
MappingDescriptionProvider
@ImportRuntimeHints(org.springframework.boot.webmvc.actuate.web.mappings.DispatcherServletsMappingDescriptionProvider.DispatcherServletsMappingDescriptionProviderRuntimeHints.class)
public class DispatcherServletsMappingDescriptionProvider
extends Object
implements MappingDescriptionProvider
A
MappingDescriptionProvider that introspects the HandlerMappings that are known to one or more DispatcherServlets.- Since:
- 4.0.0
- Author:
- Andy Wilkinson, Stephane Nicoll, Xiong Tang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribeMappings(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.
-
Constructor Details
-
DispatcherServletsMappingDescriptionProvider
public DispatcherServletsMappingDescriptionProvider()
-
-
Method Details
-
getMappingName
Description copied from interface:MappingDescriptionProviderReturns the name of the mappings described by this provider.- Specified by:
getMappingNamein interfaceMappingDescriptionProvider- Returns:
- the name of the mappings
-
describeMappings
public Map<String, List<DispatcherServletMappingDescription>> describeMappings(ApplicationContext context) Description copied from interface:MappingDescriptionProviderProduce the descriptions of the mappings identified by this provider in the givencontext.- Specified by:
describeMappingsin interfaceMappingDescriptionProvider- Parameters:
context- the application context to introspect- Returns:
- the mapping descriptions
-