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 if
WebProperties.Resources.Chain.getEnabled()
is true
or if
webjars-locator-core
is on the classpath.- Since:
- 1.3.0
- Author:
- Stephane Nicoll