List of usage examples for org.apache.http.client.entity InputStreamFactory InputStreamFactory
InputStreamFactory
From source file:org.meteogroup.jbrotli.httpclient.apache.BrotliDecompressingEntity.java
BrotliDecompressingEntity(HttpEntity entity) { super(entity, new InputStreamFactory() { public InputStream create(InputStream instream) throws IOException { return new BrotliInputStream(instream); }/* w ww . j av a2 s .c o m*/ }); }