[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 554 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 24, 2018 04:18:46.