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?

Thank you, Simone. I somehow overlooked that method.

Another question: how to pass form parameters for application/x-www-form-urlencoded content-type?


2013/10/18 Simone Bordet <sbordet@xxxxxxxxxxx>
Hi,

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
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top