首页
学习
活动
专区
工具
TVP
发布

24k

专栏成员
46
文章
62645
阅读量
24
订阅数
SpringBoot2.0.0使用FeignClient进行服务间的调用,传递headers信息
@Bean public RequestInterceptorrequestTokenBearerInterceptor() { return new RequestInterceptor() { @Override         public void apply(RequestTemplate requestTemplate) { OAuth2AuthenticationDetails details = (OAuth2AuthenticationDetails) SecurityContextHol
24-丰总
2018-06-14
2.5K0
SpringBoot2.0.0 gradle项目整合undertow
subprojects { configurations { compile.excludegroup:'org.springframework.boot',module:'spring-boot-starter-tomcat'     } dependencies{ compile ('org.springframework.boot:spring-boot-starter-undertow') } }
24-丰总
2018-06-14
1.5K0
spring boot2.0.0 架构问题 时间处理 (映射,时区问题)
在application.properties中添加   spring.jackson.serialization.write-dates-as-timestamps= true 在bootstrap.yml中添加 spring     jackson:       default-property-inclusion: NON_NULL       #date-format: yyyy-MM-dd HH:mm:ss       time-zone: GMT+8        serialization:
24-丰总
2018-06-14
7700
SpringBoot项目使用JRebel热部署
所需资源 Idea JRebel 思路 设置代码自动编> JRebel监控编译输入目录 准备工作  idea安装jrebel插件会报错误,打过都是网速引起的,可以多装几次就好了。安装完成后重启 可以
24-丰总
2018-06-14
1K0
没有更多了
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档