I am trying to adapt an HttpServletRequestWrapper (see How to read InputStream several times ) so that you can read the body of the HTTP Post after using it in the filter. Now I am faced with a problem how to implement ServletInputStream. Starting with specification 3.1, there are new methods that must be implemented.
- isFinished
- isReady
- setReadListener
I am looking for examples or some code on how these methods can be implemented. Any clues?
java spring servlets
Marco Mar 23 '15 at 10:54 2015-03-23 10:54
source share