- 博客(4)
- 收藏
- 关注
原创 springboot cors处理
package com.seengene.ar.conent.restful.restful.config; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframewo...
2018-02-24 16:48:26 629
原创 springboot mvc 拦截
package com.seengene.ar.conent.restful.restful.config.loginFilter; import com.seengene.ar.conent.restful.restful.entity.Session; import com.seengene.ar.conent.restful.restful.server.RedisServer; impo...
2018-02-24 16:47:14 508
原创 springboot 计划任务
从spring3.1开始, 计划任务在spring中实现变得异常的简单,首先通过在配置类注解@EnableScheduling来开启计划任务的支持, 然后在要执行计划的方法上注解@Scheduled,声明这是一个计划任务。 spring通过@Scheduled支持多种类型的计划任务, 包含cron(指定时间执行),fixDelay, fixRate(没多长时间执行) 如@Scheduled(c...
2018-02-24 16:11:28 530 1
原创 spring 多线程
package com.seengene.ar.conent.restful.restful.test; import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler; import org.springframework.context.annotation.ComponentScan; import org....
2018-02-24 15:54:38 263
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人