com.groupbyinc.flux.common.netty.handler.codec.MessageAggregator.class Maven / Gradle / Ivy
???? 2[ @com/groupbyinc/flux/common/netty/handler/codec/MessageAggregator ?Lcom/groupbyinc/flux/common/netty/handler/codec/MessageToMessageDecoder; Fcom/groupbyinc/flux/common/netty/handler/codec/MessageToMessageDecoder MessageAggregator.java Bcom/groupbyinc/flux/common/netty/handler/codec/MessageAggregator$1 &DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS I maxContentLength currentMessage 7Lcom/groupbyinc/flux/common/netty/buffer/ByteBufHolder; TO; handlingOversizedMessage Z maxCumulationBufferComponents ctx @Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; continueResponseWriteListener @Lcom/groupbyinc/flux/common/netty/channel/ChannelFutureListener; (I)V ()V
validateMaxContentLength
! this PLcom/groupbyinc/flux/common/netty/handler/codec/MessageAggregator; BLcom/groupbyinc/flux/common/netty/handler/codec/MessageAggregator; (ILjava/lang/Class;)V (Ljava/lang/Class;)V '
( inboundMessageType Ljava/lang/Class<+TI;>; Ljava/lang/Class; "java/lang/IllegalArgumentException - java/lang/StringBuilder /
0 maxContentLength: 2 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 4 5
0 6 (I)Ljava/lang/StringBuilder; 4 8
0 9 (expected: >= 0) ; toString ()Ljava/lang/String; = >
0 ? (Ljava/lang/String;)V A
. B acceptInboundMessage (Ljava/lang/Object;)Z java/lang/Exception F D E
H isContentMessage J E
K isStartMessage M E
N java/lang/Object P isAggregated R E
S msg Ljava/lang/Object; in TI; isLastContentMessage :(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufHolder;)Z ()I setMaxCumulationBufferComponents maxCumulationBufferComponents: ] (expected: >= 2) _ a java/lang/IllegalStateException c Mdecoder properties cannot be changed once the decoder is added to a pipeline. e
d B isHandlingOversizedMessage ()Z Ljava/lang/Deprecated; k B()Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; not added to a pipeline yet n decode e(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
r 5com/groupbyinc/flux/common/netty/buffer/ByteBufHolder t release v i u w Jcom/groupbyinc/flux/common/netty/handler/codec/MessageAggregationException y
z >com/groupbyinc/flux/common/netty/channel/ChannelHandlerContext | pipeline <()Lcom/groupbyinc/flux/common/netty/channel/ChannelPipeline; ~ } ? newContinueResponse a(Ljava/lang/Object;ILcom/groupbyinc/flux/common/netty/channel/ChannelPipeline;)Ljava/lang/Object; ? ?
? ? ?(Lcom/groupbyinc/flux/common/netty/handler/codec/MessageAggregator;Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;)V ?
? >com/groupbyinc/flux/common/netty/channel/ChannelFutureListener ? closeAfterContinueResponse ? E
? "ignoreContentAfterContinueResponse ? E
?
writeAndFlush L(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ? } ? 6com/groupbyinc/flux/common/netty/channel/ChannelFuture ? addListener ?(Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ? ? ? CLOSE ? ? ? isContentLengthInvalid (Ljava/lang/Object;I)Z ? ?
? invokeHandleOversizedMessage U(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V ? ?
? Dcom/groupbyinc/flux/common/netty/handler/codec/DecoderResultProvider ?
decoderResult @()Lcom/groupbyinc/flux/common/netty/handler/codec/DecoderResult; ? ? ? ?