类 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
.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 ServletRegistrationMappingDescription(javax.servlet.ServletRegistration servletRegistration)
Creates a newServletRegistrationMappingDescription
derived from the givenservletRegistration
.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Collection<String>
getMappings()
Returns the mappings for the registered servlet.从类继承的方法 org.springframework.boot.actuate.web.mappings.servlet.RegistrationMappingDescription
getClassName, getName, getRegistration
构造器详细资料
ServletRegistrationMappingDescription
public ServletRegistrationMappingDescription(javax.servlet.ServletRegistration servletRegistration)
Creates a newServletRegistrationMappingDescription
derived from the givenservletRegistration
.- 参数:
servletRegistration
- the servlet registration
方法详细资料
getMappings
public Collection<String> getMappings()
Returns the mappings for the registered servlet.- 返回:
- the mappings