| | |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.web.context.request.async.AsyncRequestTimeoutException; |
| | | import org.springframework.web.servlet.mvc.method.annotation.SseEmitter; |
| | | |
| | | /** |
| | | * 服务端主动推送:SSE (Server Send Event)。html5新标准,用来从服务端实时推送数据到浏览器端 |
| | | */ |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/sync/message/sse/SseEmitterServer.class */ |
| | | public class SseEmitterServer { |
| | | private static final Logger log = LoggerFactory.getLogger(SseEmitterServer.class); |
| | | private static final Map<String, SseEmitter> SSE_CACHE = new ConcurrentHashMap<>(); |