There are following points to make you understand about my application:
- I have a traditional spring web application running on Wild-fly.
- In my application I have view controller and other controllers.
- I have web.xml file and jboss xml file to configure context path.
- Request to controller comes through either ajax request or simple get request from browser.
I want to keep safe my application from possible 'Slow HTTP Post Vulnerability'. For that I have decided if any request takes more than specified amount of time then my application release that connection and throw request time-out exception.
My question is : How can I implement request time in traditional spring mvc application ?
Note : You are most welcome If you have any other solution to prevent 'slow HTTP post vulnerability'.