Chapter 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

Netty provides codecs and handlers for numerous common protocols that you can use literally out of the box, reducing time and effort you would otherwise spend on fairly tedious matters. In this chapter we’ll explore these tools and their benefits, which include support for SSL/TLS and WebSocket, as well as for simply squeezing better performance out of HTTP with data compression.

11.1. Securing Netty applications with SSL/TLS

Data privacy is a matter of great concern today, and as developers ...

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.