Class GunzipService

  • All Implemented Interfaces:
    AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, MessageEventGenerator, Service, StateManagedComponent

    @ComponentProfile(summary="GUNZIP the contents of the message",
                      tag="service,zip")
    public class GunzipService
    extends ServiceImp
    Unzip the given payload.

    This simply uses java.util.zip.GZIPInputStream in order to extract the un-compressed bytes.

    If the payload is not considered compressed, then a ServiceException will be thrown.

    In the adapter configuration file this class is aliased as gunzip-service which is the preferred alternative to the fully qualified classname when building your configuration.