Annotation Type ConditionalOnEnabledResourceChain
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Conditional(org.springframework.boot.autoconfigure.web.OnEnabledResourceChainCondition.class) public @interface ConditionalOnEnabledResourceChain
Conditional
that checks whether or not the Spring resource handling chain is enabled. Matches ifResourceProperties.Chain.getEnabled()
istrue
or ifwebjars-locator-core
is on the classpath.- Since:
- 1.3.0