Spencer,

There is nothing you can totally at the jetty level as the servlet spec
does not allow jetty to interrupt a dispatched thread.

Depending on you application, you could also try writing a simple filter
that remembers the thread that it passed on through the chain and it can
attempt to apply a timeout and do the interrupt.   If your handling is
interruptible, this simple approach could work.

But many are not interruptible.  However, you could perhaps look at async
servlets - using request.startAsync(),  Then you can disassociate the
thread handling the response from the thread that generates the response.

cheers

-- 
Greg Wilkins <[email protected]> CTO http://webtide.com
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to