classes.io.netty.handler.codec.http2.DefaultHttp2FrameWriter.class Maven / Gradle / Ivy
???? 2?
n
n
n n
!"
#$
?%&'(')
*+
,-
n.
/
01
23
24
5
06
7'8
09
n: n;
0<=
>
0?
@
A
nBC
nD'EFGH
/
I ?
J
0KL@
nM ?
NO
PQ
PRSTUVUWY ?Z
[ ?\]
C^
/_
n`aFbc
/d
0e
0f
/g
0h
/i
njk
nl
nm
/n
/o
/pqr
Xs
Xt
Xuvw
Xx
Wyz{| ????}
X~?
??
0?
??
0????? DataFrameHeader InnerClasses STREAM_ID Ljava/lang/String;
ConstantValue STREAM_DEPENDENCY ZERO_BUFFER Lio/netty/buffer/ByteBuf; headersEncoder 2Lio/netty/handler/codec/http2/Http2HeadersEncoder; maxFrameSize I ()V Code LineNumberTable LocalVariableTable this 6Lio/netty/handler/codec/http2/DefaultHttp2FrameWriter;? SensitivityDetector I(Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V headersSensativityDetector FLio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector; 5(Lio/netty/handler/codec/http2/Http2HeadersEncoder;)V
configuration
Configuration ?()Lio/netty/handler/codec/http2/Http2FrameWriter$Configuration; headerTable 1()Lio/netty/handler/codec/http2/Http2HeaderTable; frameSizePolicy 5()Lio/netty/handler/codec/http2/Http2FrameSizePolicy; (I)V max
StackMapTable
Exceptions? ()I close writeData ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; frameDataBytes framePaddingBytes frameHeader frameData lastFrame Z
remainingData t Ljava/lang/Throwable; ctx (Lio/netty/channel/ChannelHandlerContext; streamId data padding endStream promise !Lio/netty/channel/ChannelPromise; promiseAggregator SimpleChannelPromiseAggregator LLio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator; header FLio/netty/handler/codec/http2/DefaultHttp2FrameWriter$DataFrameHeader; needToReleaseHeaders needToReleaseData????&+= writeHeaders ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; headers +Lio/netty/handler/codec/http2/Http2Headers; ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;ISZIZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; streamDependency weight S exclusive
writePriority o(Lio/netty/channel/ChannelHandlerContext;IISZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; buf word1 J writeRstStream m(Lio/netty/channel/ChannelHandlerContext;IJLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; errorCode
writeSettings ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Settings;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; entry PrimitiveEntry 7Lio/netty/util/collection/CharObjectMap$PrimitiveEntry; i$ Ljava/util/Iterator;
payloadLength settings ,Lio/netty/handler/codec/http2/Http2Settings; LocalVariableTypeTable ILio/netty/util/collection/CharObjectMap$PrimitiveEntry;?? writeSettingsAck k(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; writePing ?(Lio/netty/channel/ChannelHandlerContext;ZLio/netty/buffer/ByteBuf;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; flags )Lio/netty/handler/codec/http2/Http2Flags; ack releaseDataH writePushPromise ?(Lio/netty/channel/ChannelHandlerContext;IILio/netty/handler/codec/http2/Http2Headers;ILio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; nonFragmentLength maxFragmentLength fragment promisedStreamId headerBlock? writeGoAway ?(Lio/netty/channel/ChannelHandlerContext;IJLio/netty/buffer/ByteBuf;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; lastStreamId debugData writeWindowUpdate m(Lio/netty/channel/ChannelHandlerContext;IILio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; windowSizeIncrement
writeFrame ?(Lio/netty/channel/ChannelHandlerContext;BILio/netty/handler/codec/http2/Http2Flags;Lio/netty/buffer/ByteBuf;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; frameType B payload writeHeadersInternal ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;IZZISZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; nonFragmentBytes hasPriority writeContinuationFrames ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;ILio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;)Lio/netty/channel/ChannelFuture; fragmentReadableBytes paddingBytes (I)I writePaddingLength (Lio/netty/buffer/ByteBuf;I)V verifyStreamId (ILjava/lang/String;)V argumentName verifyStreamOrConnectionId verifyWeight (S)V verifyErrorCode (J)V verifyWindowSizeIncrement verifyPingPayload (Lio/netty/buffer/ByteBuf;)V
access$000 x0 x1
SourceFile DefaultHttp2FrameWriter.java ? 7io/netty/handler/codec/http2/DefaultHttp2HeadersEncoder ~ ~ ? ~? z { | }? ??? ? ??????? 5Invalid MAX_FRAME_SIZE specified in sent settings: %d java/lang/Object????? Jio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator????? ~? Dio/netty/handler/codec/http2/DefaultHttp2FrameWriter$DataFrameHeader ~? Stream ID? ??? ???? ???????????? ? ? x y?? java/lang/Throwable? ?????? ? ? Stream Dependency????? 'io/netty/handler/codec/http2/Http2Flags???????????? ???????????? 5io/netty/util/collection/CharObjectMap$PrimitiveEntry?????? java/lang/Long?? ??
Promised Stream ID???????????????? ? ? Last Stream ID ?????? ? "java/lang/IllegalArgumentException java/lang/StringBuilder Padding [???? #] is too large for max frame size [ ]?? ~? must be > 0
must be >= 0 Invalid weight: Invalid errorCode: ?? WindowSizeIncrement must be >= 0 Opaque data must be 8 bytes????????? 4io/netty/handler/codec/http2/DefaultHttp2FrameWriter -io/netty/handler/codec/http2/Http2FrameWriter 1io/netty/handler/codec/http2/Http2FrameSizePolicy ;io/netty/handler/codec/http2/Http2FrameWriter$Configuration Dio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector +io/netty/handler/codec/http2/Http2Exception &io/netty/channel/ChannelHandlerContext io/netty/buffer/ByteBuf io/netty/channel/ChannelPromise java/util/Iterator *io/netty/handler/codec/http2/Http2Settings )io/netty/handler/codec/http2/Http2Headers J(ILio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V 0io/netty/handler/codec/http2/Http2HeadersEncoder B()Lio/netty/handler/codec/http2/Http2HeadersEncoder$Configuration; >io/netty/handler/codec/http2/Http2HeadersEncoder$Configuration +io/netty/handler/codec/http2/Http2CodecUtil isMaxFrameSizeValid (I)Z 'io/netty/handler/codec/http2/Http2Error FRAME_SIZE_ERROR )Lio/netty/handler/codec/http2/Http2Error; java/lang/Integer valueOf (I)Ljava/lang/Integer; connectionError }(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception; channel ()Lio/netty/channel/Channel; executor *()Lio/netty/util/concurrent/EventExecutor; f(Lio/netty/channel/ChannelPromise;Lio/netty/channel/Channel;Lio/netty/util/concurrent/EventExecutor;)V ,(Lio/netty/channel/ChannelHandlerContext;I)V
verifyPadding
readableBytes java/lang/Math min (II)I slice (IIZ)Lio/netty/buffer/ByteBuf; retain ()Lio/netty/buffer/ByteBuf;
newPromise #()Lio/netty/channel/ChannelPromise; write U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; readSlice (I)Lio/netty/buffer/ByteBuf; (II)Lio/netty/buffer/ByteBuf; release ()Z
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; doneAllocatingPromises alloc $()Lio/netty/buffer/ByteBufAllocator; io/netty/buffer/ByteBufAllocator buffer writeFrameHeaderInternal H(Lio/netty/buffer/ByteBuf;IBLio/netty/handler/codec/http2/Http2Flags;I)V writeUnsignedInt (JLio/netty/buffer/ByteBuf;)V writeByte !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; size entries ()Ljava/lang/Iterable; java/lang/Iterable iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; &io/netty/util/collection/CharObjectMap key ()C writeUnsignedShort (ILio/netty/buffer/ByteBuf;)V value longValue ()J ,(Z)Lio/netty/handler/codec/http2/Http2Flags;
encodeHeaders G(Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBuf;)V paddingPresent readRetainedSlice
isReadable endOfHeaders writeInt endOfStream priorityPresent getNumPriorityBytes append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V (J)Ljava/lang/StringBuilder; io/netty/buffer/Unpooled directBuffer writeZero unreleasableBuffer 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
asReadOnly ! n o p q t u v w u v + x y z { | } ! ~ ? : *? Y? ? ? ?
V W ? ? ? ~ ? ? H *? Y +? ? ? ?
Z [ ? ? ? ? ? ~ ? ? Q *? *+? *@ ? ? ? ] ^ _ ` ? ? ? z { ? ? ? , *? ? d ? ? ? ? ? ? 9 *? ? ?
? ? i ? ? ? ? ? ? , *? ? n ? ? ? | ? ? j !? ? ?
? Y? S? ?*? ? ? s t v w ? ! ? ? ! ? } ? ? ? | ? ? / *? ? ? { ? ? ? ? ? + ? ? ? ? ? ? ? ? ? 3? Y+? +? ? :? Y+? :6 6
? ? -? 6*? ? 6
*? d
d? ? 6d6
d6? ? ? 6
? ? ? ? :? ? 6 +? ? ? ? ? W-
? !:? ? 6
+? ? ? ? ? W? "? +? #? "? $? ? W??0? !: ? ? &
? -? 'W? (W? )? ( % ? v ? ? " ? % ? ( ? . ? 3 ?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? ? 2 ? ? ? i ? ? ? ? u ?6? Y+? +? ? :-? F? ? /Y? 0? E?
? /Y? 0:+? - ? . :-? ? 1+? ? W6+-? ? W? :? -? 'W? (W? )? t w % ? >
9 H V d g t w y ~ ? ? ? f
9 ; ? ? H , ? y y ? ? ? ? ? ? ? ? ? ? ? ? ? y ? ? ? ? ? ? w ? ? ? ? 0 ?F ? ?? ?? ? ? ? ? M:? Y+? +? ? :? G? ? +? - ? H :*? ? I ? /Y? 0? ? ? J: `6
*?
d6? ? ? K: ? L? ? ? MW?
`6
+? - ? . :
? 1? ? NW+? ? W+? ? W? "? +? #? "? $? ? W ? O? *+? PW? 4? 'W? +: ? (W? ? 'W? :? ? 'W?? )? % 7 )7 797 ? ? # $ ' ( &) +, 8- E0 [2 a3 j4 {6 ?8 ?9 ?: ?; ?> ?? ?B ?E ?F ?IJOPL!M)O.P7O>PGS ? ? [ ? ? ? a ? ? }
j ? ? } { ? ? y ? y ? }
? j ? y ! ? ? M ? ? M ? ? M ? } M ? } M ? ? M ? } M ? ? J ? y 3 ? ? ? ?
? U ? ? ? ? ? ? ?? ? ? ? ? ? ? ?? 2
? ? ? ? ? ? ? ? ??
? ? ? ? ? ? ? ? ?? q ?? ? ? ? ? ? ? M ?W ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?6? Y+? +? ? :Q? R!? 7? `6 +? - ? . :
? /Y? 0? 1
? NW!
? 4+
? ? W6+? ? W? : ? ? 'W ? (W? )? z } % ? J Y Z ] ^ $` .a =b Nc Ud [e ig lh zn }i j ?k ?m ?o ? p . L ? } = = ? y
? ? ? ? ? ? ? ? ? ? } ? ? ? ? ? y ? ? ? ? ? ? ~ ? ? ? ' ? } ? ? ? ? ? ?? ?? ? ? ? ? G? R? S+? -
? . :? /Y? 0? 1? NW+? ?:? 6 ? : ; % ? " v w
y z ){ 0| ;} =~ ? H " ? y =
? ? G ? ? G ? ? G ? } G ? } G ? ? ? { ? ? ? ? t
z6? Y+? +? ? :? R+? - ? . : ? ? 1+ ? ? W6+? ? W? : ? ? 'W ? (W? )? \ _ % ? : ? ? ? ? /? =? K? N? \? _? a? f? l? t? ? p / - ? y a ? ? z ? ? z ? ? z ? ? z ? } z ? ? z ? y z ? ? w ? ? ` ? ? ? * ? _ ? ? ? ? ? ? ?? ?? ? ? ? 8 ?:? Y
+? +? ? :? ? +? R? ? ,+? - ? H :*? -? I ? /Y? 0? T? U? ? ? J:
? V`6*? d6? ? ? K:
? L? ? ? MW? `6+? - ? . :
? 1? ? ( ?
2??? ?7? 4d? 5W+? ? W+? ? W? "? +? #? "? $? ? W
? O? *+? PW? 4? 'W? +:
? (W? ? 'W? :? ? 'W?? )? LZ % Lr Zdr rtr ? ? % ? ? ? ? %? ,? 1? 6? C? O? o? y? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???7???L?Q?Z?\?d?i?r?y??? ? ? ? ? ? o ? ? ?
y ? ? } ? ? ? } ? ? ? y ? ? ? } ? ? ? y \ ? ?
? ? ? ? ? ? ? ? } ? ? ? ? ? } ? ? ? ? ? ? ? ? } ? ? ? ? ? ? ? ? ?
? ? y n ? ? ? ? 6 ? ?r ??
? ? ? ? ? ? ?? 6 ? ? ? ? ? ? ? ? ?? ? ? ? ? ? ? ? ? ?? B ?B;?
? ? ? ? ? ? M ?W ?? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? y