本文介绍了如何从大气中的其他框架(彗星)触发通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上我已经阅读了一些示例,但是所有示例都是自包含在一个servlet中的。
如:使用doGet建立长轮询连接,然后使用doPost触发事件通知所有被挂起的连接。

basically i have read some samples, but all are self contained in one servlet.such as: use doGet to establish the long polling connection, and then use doPost to trigger the event to notify all suspended connections.

这是我的问题:我在spring mvc中有其他的web动作编程,在spring mvc控制器中用户通过/ message / post发布消息,我怎样才能使这个动作触发大气处理程序通知挂起的连接?

Here is my question: I have other web actions programming in spring mvc, in the spring mvc controller a user post a message via /message/post, how can I make this action to trigger the atmosphere handler to notify the suspended connections?

推荐答案

这篇关于如何从大气中的其他框架(彗星)触发通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 19:46
查看更多