Class RegistrationMappingDescription<T extends javax.servlet.Registration>
- java.lang.Object
- org.springframework.boot.actuate.web.mappings.servlet.RegistrationMappingDescription<T>
- Type Parameters:
T
- type of the registration
- Direct Known Subclasses:
FilterRegistrationMappingDescription
,ServletRegistrationMappingDescription
public class RegistrationMappingDescription<T extends javax.servlet.Registration> extends Object
A mapping description derived from aRegistration
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description RegistrationMappingDescription(T registration)
Creates a newRegistrationMappingDescription
derived from the givenregistration
and with the givenpredicate
.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
Constructor Detail
RegistrationMappingDescription
public RegistrationMappingDescription(T registration)
Creates a newRegistrationMappingDescription
derived from the givenregistration
and with the givenpredicate
.- Parameters:
registration
- the registration
Method Detail
getClassName
public String getClassName()
Returns the class name of the registered Filter or Servlet.- Returns:
- the class name
getRegistration
protected final T getRegistration()
Returns the registration that is being described.- Returns:
- the registration