shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes() — spring-boot Function Reference
Architecture documentation for the shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes() function in ServletContextInitializerBeansTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 58469e06_4c84_7dfd_a844_f834096b05e7["shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes()"] 541ac0f3_54ac_9bf9_4f68_62606fccc254["load()"] 58469e06_4c84_7dfd_a844_f834096b05e7 -->|calls| 541ac0f3_54ac_9bf9_4f68_62606fccc254 6e649de9_588e_65d5_305a_1b220d400a28["getContext()"] 58469e06_4c84_7dfd_a844_f834096b05e7 -->|calls| 6e649de9_588e_65d5_305a_1b220d400a28 079efcce_86ee_22ae_627e_5c2cb80c3146["assertThatSingleRegistration()"] 58469e06_4c84_7dfd_a844_f834096b05e7 -->|calls| 079efcce_86ee_22ae_627e_5c2cb80c3146 style 58469e06_4c84_7dfd_a844_f834096b05e7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/web/servlet/ServletContextInitializerBeansTests.java lines 169–178
@Test
@SuppressWarnings("unchecked")
void shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes() {
load(FilterConfigurationWithAnnotationAndDefaultDispatcherTypes.class);
ServletContextInitializerBeans initializerBeans = new ServletContextInitializerBeans(
getContext().getBeanFactory(), TestServletContextInitializer.class);
assertThatSingleRegistration(initializerBeans, FilterRegistrationBean.class,
(filterRegistrationBean) -> assertThat(filterRegistrationBean.determineDispatcherTypes())
.containsExactlyElementsOf(EnumSet.allOf(DispatcherType.class)));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes() do?
shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes() is a function in the spring-boot codebase.
What does shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes() call?
shouldApplyFilterRegistrationAnnotationWithDefaultDispatcherTypes() calls 3 function(s): assertThatSingleRegistration, getContext, load.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free