Code example for GZIPInputStream

0
        super(entity); 
    } 
 
    @Override 
    InputStream decorate(final InputStream wrapped) throws IOException { 
        return new GZIPInputStream(wrapped); 
    } 
 
    /** 
     * {@inheritDoc} 
     */ 
    @Override 
    public Header getContentEncoding() { 
        /* This HttpEntityWrapper has dealt with the Content-Encoding. */ 
        return null; 
    } 
 
    /** 
     * {@inheritDoc} 
     */ 
Connect your IDE to all the code out there  Get Codota for Java