@Configuration
@ComponentScan(value="org.ibase4j.web")
public class WebConfig
extends top.ibase4j.core.config.WebMvcConfig
Constructor and Description |
---|
WebConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
top.ibase4j.core.interceptor.EventInterceptor |
eventInterceptor() |
org.springframework.boot.web.servlet.FilterRegistrationBean<top.ibase4j.core.filter.TokenFilter> |
tokenFilterRegistration() |
addResourceHandlers, addViewControllers, configureDefaultServletHandling, configureMessageConverters, csrfFilterRegistration, encodingFilterRegistration, localeFilterRegistration, multipartConfigElement, viewResolver
addArgumentResolvers, addCorsMappings, addFormatters, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<top.ibase4j.core.filter.TokenFilter> tokenFilterRegistration()
@Bean public top.ibase4j.core.interceptor.EventInterceptor eventInterceptor()
eventInterceptor
in class top.ibase4j.core.config.WebMvcConfig
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addInterceptors
in class top.ibase4j.core.config.WebMvcConfig
Copyright © 2018. All rights reserved.