diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java index 03055aa851..cf453043be 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java @@ -40,10 +40,10 @@ import static io.netty.handler.codec.http.HttpHeaders.*; *
* {@link ChannelPipeline} p = ...; * ... + * p.addLast("encoder", new {@link HttpResponseEncoder}()); * p.addLast("decoder", new {@link HttpRequestDecoder}()); * p.addLast("aggregator", new {@link HttpObjectAggregator}(1048576)); * ... - * p.addLast("encoder", new {@link HttpResponseEncoder}()); * p.addLast("handler", new HttpRequestHandler()); **/