Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] A way to cancel request?


On Fri, Oct 18, 2013 at 12:46 PM, Mikhail Mazursky <ash2kk@xxxxxxxxx> wrote:
> Hi.
> I'm evaluating Jetty client and I'm unable to find a way to cancel async
> request. How can this be done?

request.abort(new Exception("reason"));

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.

Back to the top