classes.io.netty.handler.codec.http.HttpRequestEncoder.class Maven / Gradle / Ivy
???? 2 ?
" O
" P Q R
S T
U V
U W
X Y
Z [ \
] W ^
O
_
`
a b
] c
] d
] e
] f
] g
h
i j k
] l
Z m n
o p ! q r
! s t u SLASH C
ConstantValue /
QUESTION_MARK ? ()V Code LineNumberTable LocalVariableTable this 0Lio/netty/handler/codec/http/HttpRequestEncoder; acceptOutboundMessage (Ljava/lang/Object;)Z msg Ljava/lang/Object;
StackMapTable
Exceptions v encodeInitialLine E(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http/HttpRequest;)V len I sb Ljava/lang/StringBuilder;
startIndex index start buf Lio/netty/buffer/ByteBuf; request )Lio/netty/handler/codec/http/HttpRequest; method Lio/netty/util/AsciiString; uri Ljava/lang/String; w x E(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http/HttpMessage;)V Signature ZLio/netty/handler/codec/http/HttpObjectEncoder;
SourceFile HttpRequestEncoder.java ) * 0 1 (io/netty/handler/codec/http/HttpResponse D y z { | w } ~ ~ ? ? ? ? ? ? F ? x java/lang/StringBuilder ? ? ? ? ? ? :// ? ? ? ? ? ? ? ? ? ? ) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 'io/netty/handler/codec/http/HttpRequest 7 8 .io/netty/handler/codec/http/HttpRequestEncoder -io/netty/handler/codec/http/HttpObjectEncoder java/lang/Exception io/netty/util/AsciiString java/lang/String *()Lio/netty/handler/codec/http/HttpMethod; &io/netty/handler/codec/http/HttpMethod asciiName ()Lio/netty/util/AsciiString; arrayOffset ()I length io/netty/buffer/ByteBufUtil copy 9(Lio/netty/util/AsciiString;ILio/netty/buffer/ByteBuf;I)V io/netty/buffer/ByteBuf writeByte (I)Lio/netty/buffer/ByteBuf; ()Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; toString indexOf (Ljava/lang/String;)I charAt (I)C (II)I lastIndexOf (I)I (I)V 5(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder; io/netty/util/CharsetUtil UTF_8 Ljava/nio/charset/Charset; getBytes (Ljava/nio/charset/Charset;)[B
writeBytes ([B)Lio/netty/buffer/ByteBuf; protocolVersion +()Lio/netty/handler/codec/http/HttpVersion; 'io/netty/handler/codec/http/HttpVersion encode (Lio/netty/buffer/ByteBuf;)V CRLF [B ! ! " # $ % &