Class WebMappingsDiagnostic

All Implemented Interfaces:
GuiceyLifecycleListener

public class WebMappingsDiagnostic extends UniqueGuiceyLifecycleListener
Application web mappings listener. Prints all configured servlets and filters, including guice ServletModule declarations.

Must be registered with GuiceBundle.Builder.listen(ru.vyarus.dropwizard.guice.module.lifecycle.GuiceyLifecycleListener...). Should be configured what info to show because by default nothing is shown.

If multiple listeners registered, only first registered will be actually used (allow safe multiple registrations).

Since:
22.10.2019
  • Constructor Details

    • WebMappingsDiagnostic

      public WebMappingsDiagnostic(MappingsConfig config)
      Create diagnostic.
      Parameters:
      config - config
  • Method Details