netty5/codec-http/src/main
Chris Vest 782d70281e
Reduce reliance on ScheduledFuture (#11635)
Motivation:
If we don't need the scheduled future, then it will be one less complication when we change Netty Future to no longer extend JDK Future.
It would also result in fewer elements in our API.

Modification:
There was only one real use of ScheduledFuture in our code, in Cache.
This has been changed to wrap an ordinary future with a deadline for implementing the Delayed interface.
All other places were effectively overspecifying by relying on ScheduledFuture.
A few places were also specifying JDK Futures - these have been changed to specify Netty Futures.

Result:
Reduced dependency on the ScheduledFuture interfaces.
2021-08-31 16:06:34 +02:00
..
java/io/netty/handler/codec Reduce reliance on ScheduledFuture (#11635) 2021-08-31 16:06:34 +02:00
resources/META-INF/native-image/io.netty/codec-http Delay initialization of io.netty.handler.codec.compression.BrotliDecoder to runtime (#11428) 2021-07-01 15:09:11 +02:00