As mentioned in my article above, I've also released a library to Maven Central to wrap this functionality for you, at the following coordinates:
<groupId>me.jvt.multireadservlet</groupId>
<artifactId>multiple-read-servlet</artifactId>
<version>4.0.1</version>