com.groupbyinc.flux.http.netty4.pipelining.HttpPipeliningHandler.class Maven / Gradle / Ivy
???? 4 ? @com/groupbyinc/flux/http/netty4/pipelining/HttpPipeliningHandler =com/groupbyinc/flux/common/netty/channel/ChannelDuplexHandler HttpPipeliningHandler.java holdingQueue Ljava/util/PriorityQueue; ]Ljava/util/PriorityQueue; logger !Lorg/apache/logging/log4j/Logger;
maxEventsHeld I readSequence
writeSequence $assertionsDisabled Z %(Lorg/apache/logging/log4j/Logger;I)V ()V
java/util/PriorityQueue (I)V
this BLcom/groupbyinc/flux/http/netty4/pipelining/HttpPipeliningHandler; channelRead U(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V java/lang/Exception % Ccom/groupbyinc/flux/common/netty/handler/codec/http/LastHttpContent ' ?com/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedRequest ) retain G()Lcom/groupbyinc/flux/common/netty/handler/codec/http/LastHttpContent; + , ( -
/ I(Lcom/groupbyinc/flux/common/netty/handler/codec/http/LastHttpContent;I)V 1
* 2 >com/groupbyinc/flux/common/netty/channel/ChannelHandlerContext 4 fireChannelRead T(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; 6 7 5 8 ctx @Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; msg Ljava/lang/Object; write ?(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)V @com/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedResponse @ B promise ;()Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise; D E
A F java/lang/AssertionError H
I size ()I K L
M add (Ljava/lang/Object;)Z O P
Q java/lang/Object S isEmpty ()Z U V
W peek ()Ljava/lang/Object; Y Z
[ sequence ] L
A ^ ` remove b Z
c response H()Lcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpResponse; e f
A g ?(Ljava/lang/Object;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; > i 5 j java/lang/Throwable l channel 4()Lcom/groupbyinc/flux/common/netty/channel/Channel; n o 5 p java/util/Collections r
singletonList $(Ljava/lang/Object;)Ljava/util/List; t u
s v 0com/groupbyinc/flux/transport/netty4/Netty4Utils x
closeChannels (Ljava/util/Collection;)V z {
y | release ~ V
A 7com/groupbyinc/flux/common/netty/channel/ChannelPromise ?
setSuccess ? E ? ? top BLcom/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedResponse; current channelShouldClose 9Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise; close |(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)V (java/nio/channels/ClosedChannelException ?
? poll ? Z
?
setFailure P(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise; ? ? ? ? 9unexpected error while releasing pipelined http responses ? org/apache/logging/log4j/Logger ? error *(Ljava/lang/String;Ljava/lang/Throwable;)V ? ? ? ? s(Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ? 5 ? e Ljava/lang/Exception; closedChannelException *Ljava/nio/channels/ClosedChannelException; pipelinedResponse java/lang/Class ? desiredAssertionStatus ? V
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile ! ?
? i *? *+? *? *? Y? ? ? ? ! "
? ; <