io.netty.handler.codec.http.DefaultLastHttpContent.class Maven / Gradle / Ivy
???? 2 ? 2io/netty/handler/codec/http/DefaultLastHttpContent .io/netty/handler/codec/http/DefaultHttpContent +io/netty/handler/codec/http/LastHttpContent DefaultLastHttpContent.java Fio/netty/handler/codec/http/DefaultLastHttpContent$TrailingHttpHeaders TrailingHttpHeaders java/util/Map$Entry
java/util/Map
Entry trailingHeaders )Lio/netty/handler/codec/http/HttpHeaders; validateHeaders Z ()V io/netty/buffer/Unpooled buffer (I)Lio/netty/buffer/ByteBuf;
(Lio/netty/buffer/ByteBuf;)V
this 4Lio/netty/handler/codec/http/DefaultLastHttpContent; (Lio/netty/buffer/ByteBuf;Z)V !
" content Lio/netty/buffer/ByteBuf;
(Z)V '
( * , copy /()Lio/netty/handler/codec/http/LastHttpContent; ()Lio/netty/buffer/ByteBuf; $ 0
1 io/netty/buffer/ByteBuf 3 . 0
4 5 replace H(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http/LastHttpContent; 7 8
9 duplicate ; 0
4 < retainedDuplicate > 0
4 ? +()Lio/netty/handler/codec/http/HttpHeaders; A
B 'io/netty/handler/codec/http/HttpHeaders D set T(Lio/netty/handler/codec/http/HttpHeaders;)Lio/netty/handler/codec/http/HttpHeaders; F G
E H dup retain 0(I)Lio/netty/handler/codec/http/LastHttpContent; ,(I)Lio/netty/handler/codec/http/HttpContent; K M
N increment I +()Lio/netty/handler/codec/http/HttpContent; K R
S touch U R
V A(Ljava/lang/Object;)Lio/netty/handler/codec/http/LastHttpContent; =(Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpContent; U Y
Z hint Ljava/lang/Object; toString ()Ljava/lang/String; java/lang/StringBuilder ` ^ _
b (Ljava/lang/String;)V d
a e !io/netty/util/internal/StringUtil g NEWLINE Ljava/lang/String; i j h k append -(Ljava/lang/String;)Ljava/lang/StringBuilder; m n
a o
appendHeaders (Ljava/lang/StringBuilder;)V q r
s length ()I u v
a w java/lang/String y
z w setLength (I)V | }
a ~
a b buf Ljava/lang/StringBuilder; iterator ()Ljava/util/Iterator; ? ?
E ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? : ? getValue ? ? ? e ;Ljava/util/Map$Entry; Ljava/util/Map$Entry; U X
? U /
? K L
? K /
? D(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http/HttpContent; > /
? ; /
? . /
? 3(Ljava/lang/Object;)Lio/netty/buffer/ByteBufHolder; !()Lio/netty/buffer/ByteBufHolder; "(I)Lio/netty/buffer/ByteBufHolder; :(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBufHolder; 4(Ljava/lang/Object;)Lio/netty/util/ReferenceCounted; "()Lio/netty/util/ReferenceCounted; #(I)Lio/netty/util/ReferenceCounted; Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
SourceFile InnerClasses ! " ? 7 *? ? ? ? ?
! " ? ? *+? #? ? $ % ?
% &