RESTEasy beyond JAX-RS 2.1: reactive, non-blocking IO and more
summary
RESTEasy extends JAX-RS 2.1 with concrete reactive support: server and client providers return CompletionStage and RxJava types so resources can return Single, Flowable, Observable directly and the runtime automatically suspends and resumes requests. Built-in stream providers implement backpressure via Flowable, and a NetStream/SSE/raw modes annotation controls wire format. Non‑blocking I/O is available by plugging the Apache async HTTP engine, synchronous filters and injectors can suspend/resume, and proxy clients support reactive return types out of the box.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 0:28What is RESTEasy
- 2:22Basic IO
- 3:23Client API
- 4:25Synchronous IO
- 5:35Sync IO
- 7:29Computational Stage
- 11:18Sync Response Provider
- 13:55Reactive Streams
- 15:38SyncStreamProvider
- 16:26Flow observable
- 17:16Flowable
- 18:45Flowable API
- 19:57NetStream Annotation
- 21:02ServerSent Events
- 22:28AddStreamRaw Mode
- 26:52Synchronous Containers
- 29:16Synchronous Injection
- 30:28Example
- 32:17Nonblocking IO
- 39:18Avoiding callback hell








