Jersey Async ContainerRequestFilter
问题 I have a Jersey REST API and am using a ContainerRequestFilter to handle authorization. I'm also using @ManagedAsync on all endpoints so that my API can serve thousands of concurrent requests. My authorization filter hits a remote service, but when the filter is run, Jersey hasn't yet added the current thread to it's internal ExecutorService , so I'm completely losing the async benefits. Can I tell Jersey that I want this ContainerRequestFilter to be asynchronous? @Priority(Priorities