io.netty.handler.codec.http.HttpHeadersEncoder.class Maven / Gradle / Ivy
???? 2 K .io/netty/handler/codec/http/HttpHeadersEncoder java/lang/Object HttpHeadersEncoder.java ()V
this 0Lio/netty/handler/codec/http/HttpHeadersEncoder;
encoderHeader L(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/buffer/ByteBuf;)V java/lang/Exception java/lang/CharSequence length ()I io/netty/buffer/ByteBuf ensureWritable (I)Lio/netty/buffer/ByteBuf;
writerIndex
writeAscii 5(Lio/netty/buffer/ByteBuf;ILjava/lang/CharSequence;)V
! setByte (II)Lio/netty/buffer/ByteBuf; # $
%
' name Ljava/lang/CharSequence; value buf Lio/netty/buffer/ByteBuf; nameLen I valueLen entryLen offset io/netty/util/AsciiString 3 io/netty/buffer/ByteBufUtil 5 copy :(Lio/netty/util/AsciiString;ILio/netty/buffer/ByteBuf;II)V 7 8
6 9 io/netty/util/CharsetUtil ; US_ASCII Ljava/nio/charset/Charset; = > <