org.keycloak.encoding

## Class GzipResourceEncodingProvider

- java.lang.Object
- - org.keycloak.encoding.GzipResourceEncodingProvider

- All Implemented Interfaces:
    ResourceEncodingProvider, Provider

      public class GzipResourceEncodingProvider
      extends Object
      implements ResourceEncodingProvider

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.keycloak.encoding.ResourceEncodingProvider

      `ResourceEncodingProvider.StreamSupplier`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GzipResourceEncodingProvider(KeycloakSession session, File cacheDir)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `InputStream` | `getEncodedStream(ResourceEncodingProvider.StreamSupplier producer, String... path)`
    `String` | `getEncoding()`

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

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

    - ### Methods inherited from interface org.keycloak.encoding.ResourceEncodingProvider

      `close`

- - ### Constructor Detail

    - #### GzipResourceEncodingProvider

          public GzipResourceEncodingProvider(KeycloakSession session,
                                              File cacheDir)

  - ### Method Detail

    - #### getEncodedStream

          public InputStream getEncodedStream(ResourceEncodingProvider.StreamSupplier producer,
                                              String... path)

      Specified by:
        `getEncodedStream` in interface `ResourceEncodingProvider`

    - #### getEncoding

          public String getEncoding()

      Specified by:
        `getEncoding` in interface `ResourceEncodingProvider`

Copyright © 2021 JBoss by Red Hat. All rights reserved.