netty5/codec-http
skyguard1 df22356a3a
Refactor HttpContentCompressor using CompressionEncoderFactory (#11480)
Motivation:

The `HttpContentCompressor.beginEncode()` method has too many if else, so consider refactoring

Modification:

Create the corresponding `CompressionEncoderFactory` according to the compression algorithm, remove the if else

Result:

The code of `HttpContentCompressor` is cleaner than the previous implementation

Signed-off-by: xingrufei <xingrufei@sogou-inc.com>
Co-authored-by: Norman Maurer <norman_maurer@apple.com>
2021-07-13 12:25:30 +02:00
..
src Refactor HttpContentCompressor using CompressionEncoderFactory (#11480) 2021-07-13 12:25:30 +02:00
pom.xml Introduce BrotliEncoder (#11256) 2021-07-08 11:51:27 +02:00