text fix
This commit is contained in:
parent
272497eaaf
commit
45b7401253
|
@ -6,10 +6,10 @@ import org.springframework.context.annotation.Configuration;
|
|||
|
||||
import com.baeldung.bootcustomfilters.filters.RequestResponseLoggingFilter;
|
||||
|
||||
// uncomment this and comment the @Component in the filter class definition to register only for a url pattern
|
||||
//@Configuration
|
||||
@Configuration
|
||||
public class FilterConfig {
|
||||
|
||||
// uncomment this and comment the @Component in the filter class definition to register only for a url pattern
|
||||
// @Bean
|
||||
public FilterRegistrationBean<RequestResponseLoggingFilter> loggingFilter() {
|
||||
FilterRegistrationBean<RequestResponseLoggingFilter> registrationBean = new FilterRegistrationBean<>();
|
||||
|
|
Loading…
Reference in New Issue