Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Async servlet writes

Here, I am trying to compare two methods to write servlet response asynchronously.

1. Using setWriteListener method of ServletOutputStream
- Mostly copied from StandardDataStream example in the Jetty codebase.



2. ​Using sendContent (with Callback) method of HttpOutput
- I haven't implemented it yet.

Is one method better than another or they both perform equally?


-Sachin-

Back to the top