netty之websocket协议开发

上传者: mffandxx | 上传时间: 2021-02-24 14:12:03 | 文件大小: 3.66MB | 文件类型: ZIP
我们要编写一个webSocket服务器,支持WebSocket的浏览器通过webSocket协议发送请求给我们编写的webSocket服务器,服务器对请求消息进行判断,如果是合法的webSocket请求,则获取请求消息体,并在后面追加字符串:“欢迎使用Netty WebSocket 服务,现在时刻:系统时间”。

文件下载

资源详情

[{"title":"( 12 个子文件 3.66MB ) netty之websocket协议开发","children":[{"title":"NettyStudyServer","children":[{"title":".project <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"czh","children":[{"title":"server","children":[{"title":"WebSocketServer.java <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"WebSocketServerHandler.java <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"junit.jar <span style='color:#111;'> 239.30KB </span>","children":null,"spread":false},{"title":"netty-all-4.0.36.Final.jar <span style='color:#111;'> 2.09MB </span>","children":null,"spread":false},{"title":"netty-all-4.0.36.Final-sources.jar <span style='color:#111;'> 1.68MB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"com","children":[{"title":"czh","children":[{"title":"server","children":[{"title":"WebSocketServer$1.class <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"WebSocketServer.class <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"WebSocketServerHandler.class <span style='color:#111;'> 7.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"websocket.html <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • yinj_job :
    例子可以启动,可以运行
    2017-11-05
  • xiaomoxifu :
    有一定参考价值
    2017-11-03
  • slienmeng :
    代码可以参考,谢谢
    2017-04-06
  • vincentchen1990 :
    代码可运行。感谢!
    2016-10-27

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明