Class BrotliCodecFactory

java.lang.Object
org.apache.hc.client5.http.entity.compress.BrotliCodecFactory

@Internal @Contract(threading=STATELESS) final class BrotliCodecFactory extends Object
Brotli Codecs factory.
Since:
5.6
  • Constructor Details

    • BrotliCodecFactory

      BrotliCodecFactory()
  • Method Details

    • decoder

      static org.apache.hc.core5.io.IOFunction<InputStream, InputStream> decoder()
      Creates a lazy decoder that instantiates the Commons Compress stream.
    • encoder

      static org.apache.hc.core5.io.IOFunction<OutputStream, OutputStream> encoder()
      Creates a lazy encoder that instantiates the Commons Compress stream.