What problem does it solve?
Reactor Netty provides a robust foundation for building reactive HTTP, TCP, and UDP servers and clients in Java without diving into low-level Netty internals.
Core Features & Use Cases
- Reactive server/client construction: choose HttpServer, TcpServer, or UdpServer and compose inbound/outbound flows with non-blocking handlers.
- Lifecycle and resource management: leverage hooks like
doOnBind, doOnBound, and onDispose to manage startup, connection, and shutdown cleanly.
- End-to-end flow without low-level Netty details: build around the common path builders and avoid direct channel/pipeline management.
- TLS and observability options: enable TLS with
secure(...), add wiretap, metrics, and access logging as needed.
- Real-world usage: create a reactive HTTP server that binds, serves routes, and gracefully disposes.
Quick Start
Launch a simple HTTP server using Reactor Netty builders, bind it to a port, and shut it down gracefully.