Class MappingsConfig
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.debug.report.web.MappingsConfig
-
public class MappingsConfig extends java.lang.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 Summary
Constructors Constructor Description MappingsConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAdminContext()
boolean
isDropwizardMappings()
boolean
isGuiceMappings()
boolean
isMainContext()
MappingsConfig
showAdminContext()
Show admin context mappings.MappingsConfig
showDropwizardMappings()
Show default servlets and filters configured by dropwizard (including jersey servlet).MappingsConfig
showGuiceMappings()
Show guiceServletModule
mappings andGuiceFilter
registrations.MappingsConfig
showMainContext()
Show main context mappings.
-
-
-
Method Detail
-
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 guiceServletModule
mappings andGuiceFilter
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
-
-