其他分享
首页 > 其他分享> > 【Spring-MVC】

【Spring-MVC】

作者:互联网

 

@WebFilter

@WebFilte(filterName = "iamTokenValidFilter", urlPatterns = "/*")
public class IamTokenValidFilter implements Filter {

 

@RestControllerAdvice

 

WebMvcConfigurerAdapter

public class WebConfiguration extends WebMvcConfigurerAdapter {
    @Override
    public void addInterceptors(InterceptorRegistry registry) {
}

 

标签:implements,WebConfiguration,Spring,class,WebMvcConfigurerAdapter,MVC,registry,pu
来源: https://www.cnblogs.com/clarino/p/15518152.html