io.netty.handler.codec.http.HttpMessageUtil.class Maven / Gradle / Ivy
???? 2 ? +io/netty/handler/codec/http/HttpMessageUtil java/lang/Object HttpMessageUtil.java java/util/Map$Entry
java/util/Map Entry
appendRequest ](Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/HttpRequest;)Ljava/lang/StringBuilder; appendCommon E(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/HttpMessage;)V
appendInitialLine E(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/HttpRequest;)V
'io/netty/handler/codec/http/HttpRequest headers +()Lio/netty/handler/codec/http/HttpHeaders;
appendHeaders E(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/HttpHeaders;)V
removeLastNewLine (Ljava/lang/StringBuilder;)V
! buf Ljava/lang/StringBuilder; req )Lio/netty/handler/codec/http/HttpRequest; appendResponse ^(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/HttpResponse;)Ljava/lang/StringBuilder; F(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/HttpResponse;)V )
* (io/netty/handler/codec/http/HttpResponse , - res *Lio/netty/handler/codec/http/HttpResponse; !io/netty/util/internal/StringUtil 1 simpleClassName &(Ljava/lang/Object;)Ljava/lang/String; 3 4
2 5 java/lang/StringBuilder 7 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 9 :
8 ; (decodeResult: = 'io/netty/handler/codec/http/HttpMessage ?
decoderResult (()Lio/netty/handler/codec/DecoderResult; A B @ C -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 9 E
8 F , version: H protocolVersion +()Lio/netty/handler/codec/http/HttpVersion; J K @ L (C)Ljava/lang/StringBuilder; 9 N
8 O NEWLINE Ljava/lang/String; Q R 2 S msg )Lio/netty/handler/codec/http/HttpMessage; appendFullRequest a(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/FullHttpRequest;)Ljava/lang/StringBuilder; appendFullCommon I(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/FullHttpMessage;)V Y Z
[ +io/netty/handler/codec/http/FullHttpRequest ] ^ trailingHeaders ` ^ a -Lio/netty/handler/codec/http/FullHttpRequest; appendFullResponse b(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/FullHttpResponse;)Ljava/lang/StringBuilder; ,io/netty/handler/codec/http/FullHttpResponse f g g a .Lio/netty/handler/codec/http/FullHttpResponse; +io/netty/handler/codec/http/FullHttpMessage k l C l L , content: o content ()Lio/netty/buffer/ByteBuf; q r l s -Lio/netty/handler/codec/http/FullHttpMessage; method *()Lio/netty/handler/codec/http/HttpMethod; v w x uri ()Ljava/lang/String; z { | L - L status 2()Lio/netty/handler/codec/http/HttpResponseStatus; ? ? - ? 'io/netty/handler/codec/http/HttpHeaders ? iterator ()Ljava/util/Iterator; ? ?
? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? java/lang/String ? : ? getValue ? ? ? e ;Ljava/util/Map$Entry; Ljava/util/Map$Entry; )Lio/netty/handler/codec/http/HttpHeaders; length ()I ? ?
8 ?
? ? setLength (I)V ? ?
8 ? ()V ? ?
? this -Lio/netty/handler/codec/http/HttpMessageUtil; Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
SourceFile InnerClasses 0 ? ^ *+? *+? *+? ? *? "*? ? # $ % &