Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Request not handled

the Handler approach where you call Request.setHandled(true) merely says that the current Handler has handled the request.
No more Handlers should be offered the request from that point forward.

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Fri, Jul 24, 2015 at 2:23 PM, radiatejava <radiatejava@xxxxxxxxx> wrote:
Jetty users,
I want to know what happens when we fail to setHandled(true) to the
request object in the request handler's handle method ? For example,
are we supposed to catch exceptions in the handle method of the
handler or we can avoid catching the exceptions and let jetty do this
on its own? What are the implications of certain exceptions not being
caught and as a result missed to setHandled(true) assuming there is no
more handler further for the request?

Appreciate the response for known behavior in such case.

Thanks
Satish Burnwal.
_______________________________________________
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