Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Get server threadpool from Jersey @GET resourse

Manage your own ThreadPool, or use the Servlet AsyncContext features for async processing of individual requests. 

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Wed, Nov 25, 2015 at 5:57 AM, Thomas Meyer <thomas@xxxxxxxx> wrote:
Hi,

I want to use the jax-rs @Suspended annotation to use the async possibility of jax-rs.

Is there a way to get the server threadpool from the ServletContext? So I can schedule my runnable on the servers threadpool? Is that a good idea at all?

With kind regards
Thomas
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top