Class RedisBulkStringAggregator

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

A ChannelHandler that aggregates an BulkStringHeaderRedisMessage and its following BulkStringRedisContents into a single FullBulkStringRedisMessage with no following BulkStringRedisContents. It is useful when you don't want to take care of RedisMessages whose transfer encoding is 'chunked'. Insert this handler after RedisDecoder in the ChannelPipeline:
 ChannelPipeline p = ...;
 ...
 p.addLast("encoder", new RedisEncoder());
 p.addLast("decoder", new RedisDecoder());
 p.addLast("aggregator", new RedisBulkStringAggregator());
 ...
 p.addLast("handler", new HttpRequestHandler());
 
Be aware that you need to have the RedisEncoder before the RedisBulkStringAggregator in the ChannelPipeline.