A {@link ChannelHandler} that aggregates an {@link HttpMessage}and its following {@link HttpChunk}s into a single {@link HttpMessage} withno following {@link HttpChunk}s. It is useful when you don't want to take care of HTTP messages whose transfer encoding is 'chunked'. Insert this handler after {@link HttpMessageDecoder} in the {@link ChannelPipeline}:
{@link ChannelPipeline} p = ...;... p.addLast("decoder", new {@link HttpRequestDecoder}()); p.addLast("aggregator", new {@link HttpChunkAggregator}(1048576)); ... p.addLast("encoder", new {@link HttpResponseEncoder}()); p.addLast("handler", new HttpRequestHandler());
@apiviz.landmark
@apiviz.has com.facebook.presto.jdbc.internal.netty.handler.codec.http.HttpChunk oneway - - filters out