spring
日鑫月燚
这个作者很懒,什么都没留下…
展开
-
SpringAOP中使用的代理
package com.proxy.cglib;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.context.annotation.EnableA...原创 2018-05-14 11:50:07 · 386 阅读 · 0 评论 -
精通SpringBoot 详解WebMvcConfigurer接口
SpringBoot 确实为我们做了很多事情, 但有时候我们想要自己定义一些Handler,Interceptor,ViewResolver,MessageConverter,该怎么做呢。在Spring Boot 1.5版本都是靠重写WebMvcConfigurerAdapter的方法来添加自定义拦截器,消息转换器等。SpringBoot 2.0 后,该类被标记为@Deprecated。因此我们只...转载 2019-07-12 16:49:26 · 459 阅读 · 0 评论