类 RegistrationMappingDescription<T extends javax.servlet.Registration>
- java.lang.Object
- org.springframework.boot.actuate.web.mappings.servlet.RegistrationMappingDescription<T>
- 类型参数:
T
- type of the registration
public class RegistrationMappingDescription<T extends javax.servlet.Registration> extends Object
A mapping description derived from aRegistration
.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 RegistrationMappingDescription(T registration)
Creates a newRegistrationMappingDescription
derived from the givenregistration
and with the givenpredicate
.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getClassName()
Returns the class name of the registered Filter or Servlet.String
getName()
Returns the name of the registered Filter or Servlet.protected T
getRegistration()
Returns the registration that is being described.
构造器详细资料
RegistrationMappingDescription
public RegistrationMappingDescription(T registration)
Creates a newRegistrationMappingDescription
derived from the givenregistration
and with the givenpredicate
.- 参数:
registration
- the registration
方法详细资料
getClassName
public String getClassName()
Returns the class name of the registered Filter or Servlet.- 返回:
- the class name
getRegistration
protected final T getRegistration()
Returns the registration that is being described.- 返回:
- the registration