Class ServletsMappingDescriptionProvider
- java.lang.Object
- org.springframework.boot.actuate.web.mappings.servlet.ServletsMappingDescriptionProvider
- All Implemented Interfaces:
MappingDescriptionProvider
public class ServletsMappingDescriptionProvider extends Object implements MappingDescriptionProvider
AMappingDescriptionProvider
that describes that mappings of anyServlets
registered with aServletContext
.- Since:
- 2.0
Constructor Summary
Constructors Constructor Description ServletsMappingDescriptionProvider()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ServletRegistrationMappingDescription>
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
ServletsMappingDescriptionProvider
public ServletsMappingDescriptionProvider()
Method Detail
describeMappings
public List<ServletRegistrationMappingDescription> 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
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