I am using JSF with PrimeFaces and the upload/download components fit my project perfectly. However, since the software will be deployed in some low-bandwidth environments, I was just wondering whether it is possible to limit the upload/download speeds these components will use?
Thanks for your suggestions and best regards
Pascal
There seems to be no out-of-the-box approach. I ended up writing an own “LimitedInputStream” implementation.
LimitedInputStream:
ILimitedInputStreamPolicy.java: