netty5/codec-http
skyguard1 b0e28e3740 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-08-19 08:44:04 +02:00
..
src Refactor HttpContentCompressor using CompressionEncoderFactory (#11480) 2021-08-19 08:44:04 +02:00
pom.xml Introduce BrotliEncoder (#11256) 2021-07-08 12:01:28 +02:00