springboot+websocket接口+定时器 无刷新页面向浏览器推送数据
项目目录websocket 接口spring boot 定时器实现思路和代码websocket 接口websocket 可以保持 客户端和后台的连接,关于websocket接口相关知识可以参考:https://blog.csdn.net/zhangdehua678/article/details/78913839spring boot 定时器java 定时器有很多,这里只介绍spring boot 配置和使用。spring boot 定时器入口package com.scheduling;
原创
2021-08-24 16:40:01 ·
610 阅读 ·
0 评论