@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=com.mitchellbosecke.pebble.PebbleEngine.class) @EnableConfigurationProperties(value=PebbleProperties.class) @Import(value={com.mitchellbosecke.pebble.boot.autoconfigure.PebbleServletWebConfiguration.class,com.mitchellbosecke.pebble.boot.autoconfigure.PebbleReactiveWebConfiguration.class}) public class PebbleAutoConfiguration extends Object
| Constructor and Description |
|---|
PebbleAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.mitchellbosecke.pebble.PebbleEngine |
pebbleEngine(PebbleProperties properties,
com.mitchellbosecke.pebble.loader.Loader<?> pebbleLoader,
SpringExtension springExtension,
List<com.mitchellbosecke.pebble.extension.Extension> extensions,
com.mitchellbosecke.pebble.attributes.methodaccess.MethodAccessValidator methodAccessValidator) |
com.mitchellbosecke.pebble.loader.Loader<?> |
pebbleLoader(PebbleProperties properties) |
SpringExtension |
springExtension(org.springframework.context.MessageSource messageSource) |
protected String |
stripLeadingSlash(String value) |
@Bean @ConditionalOnMissingBean(name="pebbleLoader") public com.mitchellbosecke.pebble.loader.Loader<?> pebbleLoader(PebbleProperties properties)
@Bean @ConditionalOnMissingBean public SpringExtension springExtension(org.springframework.context.MessageSource messageSource)
@Bean @ConditionalOnMissingBean(name="pebbleEngine") public com.mitchellbosecke.pebble.PebbleEngine pebbleEngine(PebbleProperties properties, com.mitchellbosecke.pebble.loader.Loader<?> pebbleLoader, SpringExtension springExtension, @Nullable List<com.mitchellbosecke.pebble.extension.Extension> extensions, @Nullable com.mitchellbosecke.pebble.attributes.methodaccess.MethodAccessValidator methodAccessValidator)
Copyright © 2020. All rights reserved.