Class RegistrationMappingDescription<T extends 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 Registration> extends Object
A mapping description derived from a Registration.
Since:
2.0.0
Author:
Andy Wilkinson
  • Constructor Details

    • RegistrationMappingDescription

      public RegistrationMappingDescription(T registration)
      Creates a new RegistrationMappingDescription derived from the given registration and with the given predicate.
      Parameters:
      registration - the registration
  • Method Details

    • getName

      public String getName()
      Returns the name of the registered Filter or Servlet.
      Returns:
      the name
    • 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