@ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.web.servlet.DispatcherServlet.class,javax.servlet.ServletRegistration.class}) @EnableConfigurationProperties(value=TraceProperties.class) @Configuration public class TraceWebFilterAutoConfiguration extends Object
Constructor and Description |
---|
TraceWebFilterAutoConfiguration(TraceRepository traceRepository,
TraceProperties traceProperties,
ObjectProvider<ErrorAttributes> errorAttributesProvider) |
Modifier and Type | Method and Description |
---|---|
WebRequestTraceFilter |
webRequestLoggingFilter(BeanFactory beanFactory) |
public TraceWebFilterAutoConfiguration(TraceRepository traceRepository, TraceProperties traceProperties, ObjectProvider<ErrorAttributes> errorAttributesProvider)
@Bean @ConditionalOnMissingBean public WebRequestTraceFilter webRequestLoggingFilter(BeanFactory beanFactory)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.