Class BrotliCodecFactory


  • @Internal
    @Contract(threading=STATELESS)
    final class BrotliCodecFactory
    extends java.lang.Object
    Brotli Codecs factory.
    Since:
    5.6
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static org.apache.hc.core5.io.IOFunction<java.io.InputStream,​java.io.InputStream> decoder()
      Creates a lazy decoder that instantiates the Commons Compress stream.
      (package private) static org.apache.hc.core5.io.IOFunction<java.io.OutputStream,​java.io.OutputStream> encoder()
      Creates a lazy encoder that instantiates the Commons Compress stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BrotliCodecFactory

        BrotliCodecFactory()
    • Method Detail

      • decoder

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

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