org.apache.hc.client5.http.entity

## Class DeflateInputStreamFactory

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

- All Implemented Interfaces:
    InputStreamFactory

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

  `InputStreamFactory` for handling Deflate Content Coded responses.
  Since:
    5.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DeflateInputStreamFactory()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `InputStream` | `create(InputStream inputStream)`
    `static DeflateInputStreamFactory` | `getInstance()` Gets the singleton instance.

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

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

- - ### Constructor Detail

    - #### DeflateInputStreamFactory

          public DeflateInputStreamFactory()

  - ### Method Detail

    - #### getInstance

          public static DeflateInputStreamFactory getInstance()

      Gets the singleton instance.
      Returns:
        the singleton instance.

    - #### 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.