Chapter 10. The codec framework

This chapter covers

  • An overview of decoders, encoders and codecs
  • Netty’s codec classes

Just as many standard architectural patterns are supported by dedicated frameworks, common data-processing patterns are often good candidates for targeted implementations, which can save developers considerable time and effort.

This certainly applies to the subject of this chapter: encoding and decoding, or the conversion of data from one protocol-specific format to another. These tasks are handled by components commonly called codecs. Netty provides components that simplify the creation of custom codecs for a broad range of protocols. For example, if you’re building a Netty-based mail server, you’ll find Netty’s codec ...

Get Netty in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.