首页 | 官方网站   微博 | 高级检索  
     

基于Netty的HTTP客户端的设计与实现
引用本文:金志国,李炜.基于Netty的HTTP客户端的设计与实现[J].电信工程技术与标准化,2014(1):84-88.
作者姓名:金志国  李炜
作者单位:1.北京邮电大学网络与交换技术国家重点实验室,2 东信北邮信息技术有限 公司;1.北京邮电大学网络与交换技术国家重点实验室,2 东信北邮信息技术有限 公司
基金项目:国家973 计划项目(No. 2013CB329102);国家自然科学基金资助项目(No. 61372120,61271019, 61101119, 61121001, 61072057,60902051);长江学者和创新团队发展计划资助(No. IRT1049);北京市支持中央高校共建项目——青年英才计划。
摘    要:能力开放平台是一个提供电信能力开放的移动互联网开放平台,向开发者提供丰富的业务能力,包括:短信、彩信、地图、定位等。能力开放平台接入系统需要异步处理客户端的HTTP请求,而平台内部各个系统间的消息传递也需要使用大量的异步HTTP请求。Netty是一款异步的事件驱动的网络应用开源框架,用于快速开发可维护的高性能、高扩展性协议服务器和客户端。本文简述了通过对开源框架Netty的源码封装,提供方便易用可以发送异步HTTP请求的客户端的设计思路和具体实现。

关 键 词:Netty框架  NIO技术  异步  HTTP客户端

Design and implementation of HTTP client based on Netty
JIN Zhi-guo and LI Wei.Design and implementation of HTTP client based on Netty[J].Telecom Engineering Technics and Standardization,2014(1):84-88.
Authors:JIN Zhi-guo and LI Wei
Affiliation:1 State Key Laboratory of Networking and Switching Technology.2 EBUPT Information Technology Co., Ltd.;1 State Key Laboratory of Networking and Switching Technology.2 EBUPT Information Technology Co., Ltd.
Abstract:Open Mobile Platform is an Open Platform providing ability of telecommunication. It provides developers with rich business abilities, including: SMS, MMS, maps, positioning, etc. The access system of Open Mobile Platform requires asynchronous processing HTTP requests for the client, and various systems of the platform also need to use a large number of asynchronous HTTP requests to send message. Netty is an asynchronous event-driven network applications open source framework, which is used for rapid development of maintainable high performance, high scalability protocol servers and clients. This paper briefly describes the design idea and concrete implementation of using open source framework Netty for providing a convenient and easy http client which can send an asynchronous HTTP request.
Keywords:Netty framework  NIO technology  asynchrony  HTTP client
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《电信工程技术与标准化》浏览原始摘要信息
点击此处可从《电信工程技术与标准化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号