简体   繁体   English

基于java spring的webserver的Android websocket sockjs客户端

[英]Android websocket sockjs client for java spring based webserver

I am using Spring 4.1.6.RELEASE and my server configured to use websocket approach based on SockJs and STOMP protocol from here http://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html , here my simple xml configuration on server side: 我正在使用Spring 4.1.6.RELEASE和我的服务器配置为使用基于SockJs和STOMP协议的websocket方法来自http://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket .html ,这是我在服务器端的简单xml配置:

<websocket:message-broker application-destination-prefix="/app">
    <websocket:stomp-endpoint path="/hello" allowed-origins="*">
        <websocket:sockjs/>
    </websocket:stomp-endpoint>
    <websocket:simple-broker prefix="/topic"/>
</websocket:message-broker>

So my question about where I can find any android sockjs compliant client or it is not possible ? 所以我的问题是我可以在哪里找到任何与android sockjs兼容的客户端,或者这是不可能的? Please suggest me other approachs. 请建议我其他方法。 Thanks for help. 感谢帮助。

我拒绝使用Spring websocket支持,而不支持具有android客户端的crossbar

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM