jetty.project
jetty.project copied to clipboard
Alternative to #12395.
The main difference is assuming that the Runnable passed to Content.Source.demand(Runnable) is non-blocking unless explicitly declared so. This leaves most of the application code using lambdas and method references unchanged.
Deprecated usages of CompletableFuture APIs in Content.Source.