欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  资讯频道

Netty 3.2.0 Beta1发布,zero-copy文件传输

程序员文章站 2022-05-07 16:28:00
...

 

Netty 3.2.0 Beta1版本发布了。

 

Netty是一个提供异步,基于网络和事件驱动的应用程序框架和开发工具。用于快速敏捷开发、维护高性能、高灵活性的协议服务器和协议客户端。

 

3.2.0新特性:

 

  NIO transport :

  * @ChannelPipelineCoverage annotation has been deprecated by the
    @Sharable annotation to reduce beginner confusion

  * ChannelBuffer improvements
    * New access methods for float, double, and char
    * New method: ensureWritableBytes(int)
    * New method: bytesBefore() for easier variable length string decode
    * All string conversion methods now use Charset instead of String.

  * Channel API improvements
    * Zero-copy file transfer in NIO transport: http://is.gd/8Z7dI
    * StaticChannelPipeline: an alternative pipeline implementation

  * HTTP codec improvements
    * WebSocket support
    * Complete trailing header support
    * More robust CookieDecoder
    * More convenience methods in HttpMessage

  * Zlib-based compression handlers
  * RTSP codec 

 

点击查看详情:http://www.jboss.org/netty/

相关标签: 网络协议