Package org.apache.tapestry5.internal.services.assets

## Class CompressedStreamableResource

- java.lang.Object
- - org.apache.tapestry5.internal.services.assets.StreamableResourceImpl
  - - org.apache.tapestry5.internal.services.assets.CompressedStreamableResource

- All Implemented Interfaces:
    `StreamableResource`

      public class CompressedStreamableResource
      extends StreamableResourceImpl

  GZip compressed representation of a `StreamableResource`.
  Since:
    5.4

- - ### Field Summary

    - ### Fields inherited from class org.apache.tapestry5.internal.services.assets.StreamableResourceImpl

      `assetChecksumGenerator, bytestreamCache, compression, description, lastModified, responseCustomizer`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CompressedStreamableResource​(StreamableResource base, AssetChecksumGenerator assetChecksumGenerator)` |

  - ### Method Summary

    - ### Methods inherited from class org.apache.tapestry5.internal.services.assets.StreamableResourceImpl

      `addResponseCustomizer, getChecksum, getCompression, getContentType, getDescription, getLastModified, getResponseCustomizer, getSize, openStream, streamTo, toString, withContentType`

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

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

- - ### Constructor Detail

    - #### CompressedStreamableResource

          public CompressedStreamableResource​(StreamableResource base,
                                              AssetChecksumGenerator assetChecksumGenerator)
                                       throws IOException

      Throws:
        `IOException`