org.apache.hc.client5.http.entity

## Class BrotliInputStreamFactory

- java.lang.Object
- - org.apache.hc.client5.http.entity.BrotliInputStreamFactory

- All Implemented Interfaces:
    InputStreamFactory

      @Contract(threading=STATELESS)
      public class BrotliInputStreamFactory
      extends Object
      implements InputStreamFactory

  `InputStreamFactory` for handling Brotli Content Coded responses.
  Since:
    5.2

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BrotliInputStreamFactory()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `InputStream` | `create(InputStream inputStream)`
    `static BrotliInputStreamFactory` | `getInstance()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BrotliInputStreamFactory

          public BrotliInputStreamFactory()

  - ### Method Detail

    - #### getInstance

          public static BrotliInputStreamFactory getInstance()

    - #### create

          public InputStream create(InputStream inputStream)
                             throws IOException

      Specified by:
        `create` in interface `InputStreamFactory`
      Throws:
        `IOException`

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.