[Logo]
Forums Register Login
size of request data ?
Is it possible to get the size of request data (for example x KB or y MB)in the web-server? Suppose,the request is HttpServletRequest and method is POST.
Any ideas/thoughts will be appreciated.
Use the method getContentLength() of the interface ServletRequest

ServletRequest.getContentLength()

This thread has been viewed 566 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 19, 2018 03:38:16.