As we approach the release of a milestone release of Jetty 9.1, I've
started creating some examples of the new Servlet 3.1 features.

Thus I've added a servlet that uses the async IO API to limit data rate of
a download (eg for streaming video or just protecting data centre from
network congestion).

The code is 
here<http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/DataRateLimitedServlet.java?h=jetty-9.1>and
I have also blogged
about it<http://webtide.intalio.com/2013/07/servlet-3-1-async-io-and-jetty/>
.

cheers

-- 
Greg Wilkins <[email protected]>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.
Intalio, the modern way to build business applications.
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to