@Override public StreamSinkConduit wrap(final ConduitFactory<StreamSinkConduit> factory, final HttpServerExchange exchange) { UndertowLogger.REQUEST_LOGGER.tracef("Created GZIP response conduit for %s", exchange); return new GzipStreamSinkConduit(factory, exchange, deflaterPool); } };
public GzipStreamSinkConduit( ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel) { this(conduitFactory, exchange, newInstanceDeflaterPool(deflateLevel)); }
public GzipStreamSinkConduit( ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange, ObjectPool deflaterPool) { super(conduitFactory, exchange, deflaterPool); writeHeader(); Connectors.updateResponseBytesSent(exchange, HEADER.length); }
public GzipStreamSinkConduit( ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel) { this(conduitFactory, exchange, newInstanceDeflaterPool(deflateLevel)); }
public GzipStreamSinkConduit( ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange, ObjectPool deflaterPool) { super(conduitFactory, exchange, deflaterPool); writeHeader(); Connectors.updateResponseBytesSent(exchange, HEADER.length); }
@Override public StreamSinkConduit wrap(final ConduitFactory<StreamSinkConduit> factory, final HttpServerExchange exchange) { UndertowLogger.REQUEST_LOGGER.tracef("Created GZIP response conduit for %s", exchange); return new GzipStreamSinkConduit(factory, exchange, deflaterPool); } };
public GzipStreamSinkConduit( ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel) { this(conduitFactory, exchange, newInstanceDeflaterPool(deflateLevel)); }
public GzipStreamSinkConduit( ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange, ObjectPool deflaterPool) { super(conduitFactory, exchange, deflaterPool); writeHeader(); Connectors.updateResponseBytesSent(exchange, HEADER.length); }
@Override public StreamSinkConduit wrap(final ConduitFactory<StreamSinkConduit> factory, final HttpServerExchange exchange) { UndertowLogger.REQUEST_LOGGER.tracef("Created GZIP response conduit for %s", exchange); return new GzipStreamSinkConduit(factory, exchange, deflaterPool); } };