Created by: erkasraim
In my case, I want to use sendSream()
- Encrypt File read
- Decrypt byte
- Send byte
My Issue is second phase.
Solve,
- Add DataInterceptCallback class
- Add sendStream(InputStream inputStream, long totalLength, DataInterceptCallback dataInterceptCallback) method in AsyncHttpServerResponse class
- Add pump(final InputStream is, final long max, final DataSink ds, final CompletedCallback callback, final DataInterceptCallback dataInterceptCallback) method in Util class