Class ServletRegistrationMappingDescription

java.lang.Object
org.springframework.boot.actuate.web.mappings.servlet.RegistrationMappingDescription<ServletRegistration>
org.springframework.boot.actuate.web.mappings.servlet.ServletRegistrationMappingDescription

public class ServletRegistrationMappingDescription extends RegistrationMappingDescription<ServletRegistration>
A mapping description derived from a ServletRegistration.
Since:
2.0.0
Author:
Andy Wilkinson
  • Constructor Details

    • ServletRegistrationMappingDescription

      public ServletRegistrationMappingDescription(ServletRegistration servletRegistration)
      Creates a new ServletRegistrationMappingDescription derived from the given servletRegistration.
      Parameters:
      servletRegistration - the servlet registration
  • Method Details

    • getMappings

      public Collection<String> getMappings()
      Returns the mappings for the registered servlet.
      Returns:
      the mappings