对之前摘录的一个目录。
01 Netty — 异步和事件驱动
- Java 中的网络使用
- 介绍 Netty
- Netty 的核心组件
02 你的第一个Netty应用
- 建立开发环境
- 写一个回写应用的服务器和客户端
- 构建和测试程序
03 Netty的组件和设计
- Netty 技术和架构方面的介绍
Channel
、EventLoop
和ChannelFuture
ChannelHandler
和ChannelPipeline
- 启动( Bootstrapping)
04 传输
- OIO:阻塞传输
- NIO:异步传输
- 本地传输:和 JVM 异步交互
- 测试你的
ChannelHandler
05 ByteBuf
ByteBuf
:Netty 的数据容器- API 细节
- 用例
- 内存分配
06 ChannelHandler and ChannelPipeline
This chapter covers
- The
ChannelHandler
andChannelPipeline
APIs - Detecting resource leaks
- Exception handling
07 EventLoop and threading model
This chapter covers
- Threading model overview
- Event loop concept and implementation
- Task scheduling
- Implementation details
08 Bootstrapping
This chapter covers
- Bootstrapping clients and servers
- Bootstrapping clients from within a
Channel
- Adding
ChannelHandlers
- Using
ChannelOptions
and attributes
09 Unit testing
This chapter covers
- Unit testing
- Overview of
EmbeddedChannel
- Testing
ChannelHandlers
withEmbeddedChannel
10 The codec framework
This chapter covers
- An overview of decoders, encoders and codecs
- Netty’s codec classes
11 Provided ChannelHandlers and codecs
This chapter covers
- Securing Netty applications with SSL/TLS
- Building Netty HTTP/HTTPS applications
- Handling idle connections and timeouts
- Decoding delimited and length-based protocols
- Writing big data
12 WebSocket
This chapter covers
- The concept of a real-time web
- The WebSocket protocol
- Building a WebSocket-based chat room server with Netty
13 Broadcasting events with UDP
This chapter covers
- An overview of UDP
- A sample broadcasting application