Class DispatcherHandlersMappingDescriptionProvider
java.lang.Object
org.springframework.boot.actuate.web.mappings.reactive.DispatcherHandlersMappingDescriptionProvider
- All Implemented Interfaces:
MappingDescriptionProvider
public class DispatcherHandlersMappingDescriptionProvider
extends Object
implements MappingDescriptionProvider
A
MappingDescriptionProvider
that introspects the HandlerMappings
that are known to a DispatcherHandler
.- Since:
- 2.0.0
- Author:
- Andy Wilkinson
-
Constructor Summary
-
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
-
DispatcherHandlersMappingDescriptionProvider
public DispatcherHandlersMappingDescriptionProvider()
-
-
Method Details
-
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<DispatcherHandlerMappingDescription>> describeMappings(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
-