Class GZipCompressionDataHandler

  • All Implemented Interfaces:
    Transferable

    public class GZipCompressionDataHandler
    extends DataHandler
    This is the data handler which can compress and uncompress the data provided to it.
    • Field Detail

      • GZIP_COMPRESSION

        public static String GZIP_COMPRESSION
    • Constructor Detail

      • GZipCompressionDataHandler

        public GZipCompressionDataHandler​(DataSource ds)
        Constructor which takes a datasource.
        Parameters:
        ds - DataSource object
      • GZipCompressionDataHandler

        public GZipCompressionDataHandler​(DataSource ds,
                                          String contentType)
        Constructor which takes data source and content type.
        Parameters:
        ds - DataSource object
        contentType - content type