Class ServletRegistrationMappingDescription
- java.lang.Object
- org.springframework.boot.actuate.web.mappings.servlet.RegistrationMappingDescription<javax.servlet.ServletRegistration>
- org.springframework.boot.actuate.web.mappings.servlet.ServletRegistrationMappingDescription
public class ServletRegistrationMappingDescription extends RegistrationMappingDescription<javax.servlet.ServletRegistration>
A mapping description derived from aServletRegistration
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description ServletRegistrationMappingDescription(javax.servlet.ServletRegistration servletRegistration)
Creates a newServletRegistrationMappingDescription
derived from the givenservletRegistration
.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
getMappings()
Returns the mappings for the registered servlet.Methods inherited from class org.springframework.boot.actuate.web.mappings.servlet.RegistrationMappingDescription
getClassName, getName, getRegistration
Constructor Detail
ServletRegistrationMappingDescription
public ServletRegistrationMappingDescription(javax.servlet.ServletRegistration servletRegistration)
Creates a newServletRegistrationMappingDescription
derived from the givenservletRegistration
.- Parameters:
servletRegistration
- the servlet registration
Method Detail
getMappings
public Collection<String> getMappings()
Returns the mappings for the registered servlet.- Returns:
- the mappings