![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.http2.HpackEncoder.class Maven / Gradle / Ivy
The newest version!
???? 2? ?
? ?
?
; ? ? S ? ????
? ? ?
? ? ? ? ???? ?
? ?
?
# #
?
?
?
! "
# $
% ?&
' ()*+
,-
?.
/0 123
B ?4
B5
B6
B7
A8
9:???????? ? %;
<
=>
S?
S@
S;
9A BC
9D rE
?FGH
\I
J
K
;
L
SM
N O P
QR S T
QU
V
W
X
Y
Z[
\]^ InnerClasses HeaderEntry HUFF_CODE_THRESHOLD I
ConstantValue headerFields 8[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry; head 7Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry; hpackHuffmanEncoder 2Lio/netty/handler/codec/http2/HpackHuffmanEncoder; hashMask B ignoreMaxHeaderListSize Z huffCodeThreshold size J maxHeaderTableSize maxHeaderListSize $assertionsDisabled ()V Code LineNumberTable LocalVariableTable this +Lio/netty/handler/codec/http2/HpackEncoder; (Z)V (ZII)V
arraySizeHint
encodeHeaders` SensitivityDetector ?(ILio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V streamId out Lio/netty/buffer/ByteBuf; headers +Lio/netty/handler/codec/http2/Http2Headers; sensitivityDetector FLio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;
StackMapTable
Exceptionsa %encodeHeadersEnforceMaxHeaderListSize name Ljava/lang/CharSequence; value header Entry Ljava/util/Map$Entry;
headerSize LocalVariableTypeTable GLjava/util/Map$Entry;b $encodeHeadersIgnoreMaxHeaderListSize ?(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V encodeHeader N(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZJ)V nameIndex staticTableIndex index sensitive headerField ? setMaxHeaderTableSize (Lio/netty/buffer/ByteBuf;J)V getMaxHeaderTableSize ()J setMaxHeaderListSize (J)V getMaxHeaderListSize
encodeInteger (Lio/netty/buffer/ByteBuf;III)V mask n i (Lio/netty/buffer/ByteBuf;IIJ)V length nbits encodeStringLiteral 4(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)V
huffmanLength asciiString Lio/netty/util/AsciiString; string
encodeLiteralc IndexType (Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/handler/codec/http2/HpackUtil$IndexType;I)V indexType 2Lio/netty/handler/codec/http2/HpackUtil$IndexType; nameIndexValid ?dc getNameIndex (Ljava/lang/CharSequence;)I ensureCapacity ()I getHeaderField 2(I)Lio/netty/handler/codec/http2/HpackHeaderField; entry getEntryInsensitive i(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry; e h getIndex (I)I add 4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;J)V old remove 1()Lio/netty/handler/codec/http2/HpackHeaderField; next eldest prev clear
SourceFile HpackEncoder.java +io/netty/handler/codec/http2/Http2CodecUtil ? ? )io/netty/handler/codec/http2/HpackEncoder ? ? ? ? 5io/netty/handler/codec/http2/HpackEncoder$HeaderEntrye ? java/lang/Integer ?f { | 0io/netty/handler/codec/http2/HpackHuffmanEncoder } ~ ? ? ? ? ? ?ghijikl ? y z ?m |n | ? v ? ? ? ?opqbrs ?tu java/util/Map$Entryvt java/lang/CharSequencewtxyz{|}~ ? ? ? ? ? ? ???? ? ?? ? ? ? ? ? ? v ? ? ? v ? ?? ? ? ???? 4Header Table Size must be >= %d and <= %d but was %d java/lang/Object????? ? ? 3Header List Size must be >= %d and <= %d but was %d ? ? java/lang/AssertionError java/lang/StringBuilder N: ?????? ??d?? ? ?? ?? ? io/netty/util/AsciiString??? ??????????? ? java/lang/Error should not reach here ?? ? ? ? ? ? ?? ? ? ?? v ? ???~ ? ? ? |?? ? ????? ? ??????s +io/netty/handler/codec/http2/HpackEncoder$1? Dio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector +io/netty/handler/codec/http2/Http2Exception java/util/Iterator 0io/netty/handler/codec/http2/HpackUtil$IndexType io/netty/buffer/ByteBuf EMPTY_STRING l(ILjava/lang/CharSequence;Ljava/lang/CharSequence;ILio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;)V java/lang/Math min (II)I max io/netty/util/internal/MathUtil findNextPositivePowerOfTwo after before )io/netty/handler/codec/http2/Http2Headers iterator ()Ljava/util/Iterator; hasNext ()Z ()Ljava/lang/Object;
java/util/Map getKey getValue -io/netty/handler/codec/http2/HpackHeaderField sizeOf 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)J headerListSizeExceeded (IJZ)V isSensitive 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z NEVER -io/netty/handler/codec/http2/HpackStaticTable getIndexInsensitive 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I NONE INCREMENTAL 'io/netty/handler/codec/http2/Http2Error PROTOCOL_ERROR )Lio/netty/handler/codec/http2/Http2Error; java/lang/Long valueOf (J)Ljava/lang/Long; connectionError }(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/Object;)V writeByte (I)Lio/netty/buffer/ByteBuf; getEncodedLength encode array ()[B arrayOffset
writeBytes ([BII)Lio/netty/buffer/ByteBuf; io/netty/util/CharsetUtil
ISO_8859_1 Ljava/nio/charset/Charset; writeCharSequence 5(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I ;$SwitchMap$io$netty$handler$codec$http2$HpackUtil$IndexType [I ordinal (Ljava/lang/String;)V hashCode hash &io/netty/handler/codec/http2/HpackUtil equalsVariableTime equalsConstantTime
access$000 q(Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;)V
access$100 :(Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;)V java/util/Arrays fill (([Ljava/lang/Object;Ljava/lang/Object;)V java/lang/Class desiredAssertionStatus 0io/netty/handler/codec/http2/Http2HeadersEncoder 0 ; u v w x y z { | } ~ ? ? ? ? v ? ? ? ? ? ? ? ? ? ? ? 4 *? ? ?
R S ? ? ? ? ? ? C * ? ? ?
Y
Z ? ? ? ? ? ? ? ? ? q*? *? Y? ? ?
? *? Y?
? *? * ? * ? * ?? ? ? ? ? **? ?d?? *? *? *? Z? ? *? ? ? . _ D F $ ` ) a 0 b 7 e L f X g k h p i ? * q ? ? q ? ? q ? v q ? v ? ? ? ? *? ? *,-? ? *,-? ? ? r s u w ? 4 ? ? ? v ? ? ? ? ? ? ? ? ? ? ? ? ) d 7-? :? ! ? I? " ? #:? $ ? %: ? & ? %:
? 'a7*? ?? *? ? (???*,-? ? ? *
| ~ ! - ? 9 ? E ? O ? X ? [ ? c ? ? \ - + ? ? 9 ? ?
! 7 ? ? d ? ? d ? v d ? ? d ? ? d ? ? a ? ? ? ! 7 ? ? ? ? ?? L? ? ? ? ? ? ? T,? :? ! ? D? " ? #:? $ ? %:? & ? %:*+-? ) ? '? *???? ? " ? ? * ? 6 ? J ? M ? P ? S ? ? H * &