Class MappingsConfig

java.lang.Object
ru.vyarus.dropwizard.guice.debug.report.web.MappingsConfig

public class MappingsConfig extends Object
Web mappings report configuration (WebMappingsRenderer). By default config will show nothing and user must enable main or admin context (or both). In enabled context only user servlets and filters will be shown, so if you want to see dropwizard bindings - they must be explicitly activated. Guice servlets and filters are also not visible by default.
Since:
24.10.2019
  • Constructor Details

    • MappingsConfig

      public MappingsConfig()
  • Method Details

    • showMainContext

      public MappingsConfig showMainContext()
      Show main context mappings.
      Returns:
      config instance for chained calls
    • showAdminContext

      public MappingsConfig showAdminContext()
      Show admin context mappings.
      Returns:
      config instance for chained calls
    • showGuiceMappings

      public MappingsConfig showGuiceMappings()
      Show guice ServletModule mappings and GuiceFilter registrations.
      Returns:
      config instance for chained calls
    • showDropwizardMappings

      public MappingsConfig showDropwizardMappings()
      Show default servlets and filters configured by dropwizard (including jersey servlet).
      Returns:
      config instance for chained calls
    • isGuiceMappings

      public boolean isGuiceMappings()
      Returns:
      true to show guice filters and servlets together with GuiceFilter
    • isDropwizardMappings

      public boolean isDropwizardMappings()
      Returns:
      true to show default servlets and filters
    • isMainContext

      public boolean isMainContext()
      Returns:
      true to show main context mappings
    • isAdminContext

      public boolean isAdminContext()
      Returns:
      true to show admin context mappings