public class HttpObjectAggregationConfigurator<R extends io.netty.handler.codec.http.FullHttpMessage,W> extends java.lang.Object implements PipelineConfigurator<R,W>
PipelineConfigurator that can be applied with an implementation of
AbstractHttpConfigurator so that instead of multiple events per Http request/response, they are aggregated
as a single request/response. HttpObjectAggregator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AGGREGATOR_HANDLER_NAME |
static int |
DEFAULT_CHUNK_SIZE |
| Constructor and Description |
|---|
HttpObjectAggregationConfigurator() |
HttpObjectAggregationConfigurator(int maxChunkSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureNewPipeline(io.netty.channel.ChannelPipeline pipeline)
A callback to configure the passed
pipeline. |
public static final java.lang.String AGGREGATOR_HANDLER_NAME
public static final int DEFAULT_CHUNK_SIZE
public HttpObjectAggregationConfigurator()
public HttpObjectAggregationConfigurator(int maxChunkSize)
public void configureNewPipeline(io.netty.channel.ChannelPipeline pipeline)
PipelineConfiguratorpipeline. This will be invoked everytime a new netty pipeline is
created, which is whenever a new channel is established.configureNewPipeline in interface PipelineConfigurator<R extends io.netty.handler.codec.http.FullHttpMessage,W>pipeline - The pipeline to configure.