Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Using setDelayDispatchUntilContent

I'm not sure about the exact meaning of setDelayDispatchUntilContent. It's documented with
Whether to delay the application dispatch until content is available
which may mean it waits until all or some content is available.
I guess, it means the former, as with many requests, nearly nothing can be done, until they're fully available. Am I right?

Anyway, is it possible to obtain the time when the request started? I'd need it for my statistics.

Is there a corresponding option for the output? Some users are on a slow connection and then sending a few bytes takes a long time and keeps a thread busy.
At least, that's what I see in my logs: In one case, writing a 200 kB byte array to response.getOutputStream() took 20 seconds.

Regards,
Martin.


Back to the top