By default, Javalin serves requests using a Jetty QueuedThreadPool with 250 threads. Handlers are invoked in parallel on multiple threads, so all handler implementations should be thread-safe.
I guess that'd explain why I can't get both handlers to share state via ThreadLocal. Couldn't get Guice scopes to work either, and I think I might need to configure the Jetty servlet to add the necessary filter, but my hands are tied there. Oh well!
^ specify that request pipelines are parallel, each pipeline step is sequential. Also mention async
^ specify that request pipelines are parallel, each pipeline step is sequential. Also mention async