classes.io.netty.handler.codec.http2.Http2FrameCodec.class Maven / Gradle / Ivy
The newest version!
???? 2 y
?z
?{ ?|
?} ?~
??
??
???
???
?????????
? ??? ?? ??
?? ???
? ?? ???????
"????
%?????
??
????
???????
?? /?
?? /?
?? ???
6????
9?
??????
9??? ??
??
??
}???
??????
??
9????
?? K? ?? K? K? K????
??? U? U?
??
???????? ]??? ]???
?? ????
??? g? g???? k???????
??? r? r? r? r????????
z }
} / p p?
?? p
??? p? p?
? S?
S S? S???
???????? ?
??
?
?
??
?? !"?#???$
?%
&
?'?(
?)
Q*
?+
?,- ?./012
Q3
?4
?56
?708
?9 : ;?<=
{>
?@A DefaultHttp2FrameStream InnerClasses !Http2RemoteFlowControllerListener
FrameListener ConnectionListener LOG /Lio/netty/util/internal/logging/InternalLogger; streamKeyB PropertyKey :Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;
upgradeKey initialFlowControlWindowSize Ljava/lang/Integer; ctx (Lio/netty/channel/ChannelHandlerContext; numBufferedStreams I frameStreamToInitializeMap 'Lio/netty/util/collection/IntObjectMap; Signature oLio/netty/util/collection/IntObjectMap; $assertionsDisabled Z ?(Lio/netty/handler/codec/http2/Http2ConnectionEncoder;Lio/netty/handler/codec/http2/Http2ConnectionDecoder;Lio/netty/handler/codec/http2/Http2Settings;Z)V Code LineNumberTable LocalVariableTable this .Lio/netty/handler/codec/http2/Http2FrameCodec; encoder 5Lio/netty/handler/codec/http2/Http2ConnectionEncoder; decoder 5Lio/netty/handler/codec/http2/Http2ConnectionDecoder; initialSettings ,Lio/netty/handler/codec/http2/Http2Settings; decoupleCloseAndGoAway newStream H()Lio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream; forEachActiveStream 9(Lio/netty/handler/codec/http2/Http2FrameStreamVisitor;)V
streamVisitor 6Lio/netty/handler/codec/http2/Http2FrameStreamVisitor;
StackMapTable
ExceptionsC numInitializingStreams ()I handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V
connection .Lio/netty/handler/codec/http2/Http2Connection;DE $tryExpandConnectionFlowControlWindow 1(Lio/netty/handler/codec/http2/Http2Connection;)V connectionStream *Lio/netty/handler/codec/http2/Http2Stream; localFlowController 7Lio/netty/handler/codec/http2/Http2LocalFlowController; delta
handlerAdded0 userEventTriggered =(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V stream upgrade UpgradeEvent CLio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent; evt Ljava/lang/Object;?F=G?? write ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V dataFrame -Lio/netty/handler/codec/http2/Http2DataFrame; t Ljava/lang/Throwable; frame 5Lio/netty/handler/codec/http2/Http2WindowUpdateFrame; frameStream /Lio/netty/handler/codec/http2/Http2FrameStream; rstFrame .Lio/netty/handler/codec/http2/Http2ResetFrame; id -Lio/netty/handler/codec/http2/Http2PingFrame; unknownFrame 0Lio/netty/handler/codec/http2/Http2UnknownFrame; msg promise !Lio/netty/channel/ChannelPromise;?-? increaseInitialConnectionWindow (I)V
deltaBytes consumeBytes (II)Z upgraded Ljava/lang/Boolean; streamId bytes writeGoAwayFrame {(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2GoAwayFrame;Lio/netty/channel/ChannelPromise;)V /Lio/netty/handler/codec/http2/Http2GoAwayFrame; lastStreamCreated lastStreamId J writeHeadersFrame |(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2HeadersFrame;Lio/netty/channel/ChannelPromise;)V FLio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream; old headersFrame 0Lio/netty/handler/codec/http2/Http2HeadersFrame;?H? handleHeaderFuture $(Lio/netty/channel/ChannelFuture;I)V
channelFuture Lio/netty/channel/ChannelFuture; onStreamActive0 -(Lio/netty/handler/codec/http2/Http2Stream;)V stream2 onConnectionError n(Lio/netty/channel/ChannelHandlerContext;ZLjava/lang/Throwable;Lio/netty/handler/codec/http2/Http2Exception;)V outbound cause http2Ex -Lio/netty/handler/codec/http2/Http2Exception;
onStreamErrorI StreamException ~(Lio/netty/channel/ChannelHandlerContext;ZLjava/lang/Throwable;Lio/netty/handler/codec/http2/Http2Exception$StreamException;)V streamException =Lio/netty/handler/codec/http2/Http2Exception$StreamException; onHttp2UnknownStreamError }(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;Lio/netty/handler/codec/http2/Http2Exception$StreamException;)V isGracefulShutdownComplete ()Z onUpgradeEvent n(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent;)V onHttp2StreamWritabilityChanged r(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream;Z)V writable onHttp2StreamStateChanged q(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream;)V onHttp2Frame T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Frame;)V )Lio/netty/handler/codec/http2/Http2Frame; onHttp2FrameStreamException c(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2FrameStreamException;)V 8Lio/netty/handler/codec/http2/Http2FrameStreamException;
access$410 1(Lio/netty/handler/codec/http2/Http2FrameCodec;)I x0
access$500 R(Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/channel/ChannelFuture;I)V x1 x2
access$600 W(Lio/netty/handler/codec/http2/Http2FrameCodec;)Lio/netty/util/collection/IntObjectMap;
access$700 [(Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/handler/codec/http2/Http2Stream;)V
access$800 ?(Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream;Z)V x3 ()V
SourceFile Http2FrameCodec.java +io/netty/handler/codec/http2/Http2CodecUtil\]GH ? ?CD ? ? ?J )io/netty/util/collection/IntObjectHashMap ?, :io/netty/handler/codec/http2/Http2FrameCodec$FrameListener ?KLMN ?O ?io/netty/handler/codec/http2/Http2FrameCodec$ConnectionListenerDPSTVWXY 6io/netty/handler/codec/http2/Http2RemoteFlowController Nio/netty/handler/codec/http2/Http2FrameCodec$Http2RemoteFlowControllerListenerZ\]^ ? ? ? ?_`a ? ? Dio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream ?v ? ? ? ?GbcdeY java/lang/AssertionErrorf ? .io/netty/handler/codec/http2/Http2FrameCodec$1 ?g ?hij ? ? ? ?kY ? lmV 5io/netty/handler/codec/http2/Http2LocalFlowControllern ?`opqrstu ?vwx .io/netty/handler/codec/http2/Http2FrameCodec$2 ?yz{| Aio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent}~Z[ F??????????????????? ??M?}?????Y?? +io/netty/handler/codec/http2/Http2DataFrame ?? ?! ???? ??Y??? .io/netty/handler/codec/http2/Http2HeadersFrame:; 3io/netty/handler/codec/http2/Http2WindowUpdateFrame? ?+,./H?? java/lang/Throwable?? ,io/netty/handler/codec/http2/Http2ResetFrame???????????? Stream never existed java/lang/Object?? +io/netty/handler/codec/http2/Http2PingFrame?Y???? /io/netty/handler/codec/http2/Http2SettingsFrame???? 2io/netty/handler/codec/http2/Http2SettingsAckFrame?? -io/netty/handler/codec/http2/Http2GoAwayFrame45 .io/netty/handler/codec/http2/Http2UnknownFrame?????? 'io/netty/handler/codec/http2/Http2Frame? 6io/netty/handler/codec/UnsupportedMessageTypeException java/lang/Class ?? java/lang/Boolean?1??.?8 ? "java/lang/IllegalArgumentException .Last stream id must not be set on GOAWAY frame ??7 ?? ? java/lang/Integer????????? ? :io/netty/handler/codec/http2/Http2NoMoreStreamIdsException 4io/netty/handler/codec/http2/DefaultHttp2GoAwayFrame?????? -Stream IDs exhausted on local stream creation??? ??ab?????Y .io/netty/handler/codec/http2/Http2FrameCodec$3 ??P???Y???? ? ???_`??JK2 ?VWPS -io/netty/handler/codec/http2/Http2FrameStream ? ? 7Stream exception thrown without stream object attached.??? 6io/netty/handler/codec/http2/Http2FrameStreamException?? ??de .Stream exception thrown for unknown stream {}.????XY?????? ,io/netty/handler/codec/http2/Http2FrameCodec?Y??? 3io/netty/handler/codec/http2/Http2ConnectionHandler 8io/netty/handler/codec/http2/Http2Connection$PropertyKey +io/netty/handler/codec/http2/Http2Exception ,io/netty/handler/codec/http2/Http2Connection java/lang/Exception (io/netty/handler/codec/http2/Http2Stream &io/netty/channel/ChannelHandlerContext io/netty/channel/ChannelPromise ;io/netty/handler/codec/http2/Http2Exception$StreamException ?(Lio/netty/handler/codec/http2/Http2ConnectionDecoder;Lio/netty/handler/codec/http2/Http2ConnectionEncoder;Lio/netty/handler/codec/http2/Http2Settings;Z)V a(Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/handler/codec/http2/Http2FrameCodec$1;)V 3io/netty/handler/codec/http2/Http2ConnectionDecoder
frameListener 4(Lio/netty/handler/codec/http2/Http2FrameListener;)V 0()Lio/netty/handler/codec/http2/Http2Connection; addListener? Listener :(Lio/netty/handler/codec/http2/Http2Connection$Listener;)V remote Endpoint 9()Lio/netty/handler/codec/http2/Http2Connection$Endpoint; 5io/netty/handler/codec/http2/Http2Connection$Endpoint flowController 4()Lio/netty/handler/codec/http2/Http2FlowController; listener? D(Lio/netty/handler/codec/http2/Http2RemoteFlowController$Listener;)V newKey <()Lio/netty/handler/codec/http2/Http2Connection$PropertyKey; *io/netty/handler/codec/http2/Http2Settings initialWindowSize ()Ljava/lang/Integer; executor *()Lio/netty/util/concurrent/EventExecutor; &io/netty/util/concurrent/EventExecutor inEventLoop numActiveStreams g(Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/handler/codec/http2/Http2FrameStreamVisitor;)V ](Lio/netty/handler/codec/http2/Http2StreamVisitor;)Lio/netty/handler/codec/http2/Http2Stream; %io/netty/util/collection/IntObjectMap size isServer ,()Lio/netty/handler/codec/http2/Http2Stream; local intValue -(Lio/netty/handler/codec/http2/Http2Stream;)I java/lang/Math max (II)I incrementWindowSize .(Lio/netty/handler/codec/http2/Http2Stream;I)V flush Oio/netty/handler/codec/http2/Http2ConnectionPrefaceAndSettingsFrameWrittenEvent INSTANCE QLio/netty/handler/codec/http2/Http2ConnectionPrefaceAndSettingsFrameWrittenEvent; k(Lio/netty/handler/codec/http2/Http2FrameCodec;Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V execute (Ljava/lang/Runnable;)V 4io/netty/handler/codec/http/HttpServerUpgradeHandler retain E()Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent; -(I)Lio/netty/handler/codec/http2/Http2Stream; getProperty N(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;)Ljava/lang/Object; upgradeRequest /()Lio/netty/handler/codec/http/FullHttpRequest; +io/netty/handler/codec/http/FullHttpRequest headers +()Lio/netty/handler/codec/http/HttpHeaders;? Dio/netty/handler/codec/http2/HttpConversionUtil$ExtensionHeaderNames ExtensionHeaderNames STREAM_ID FLio/netty/handler/codec/http2/HttpConversionUtil$ExtensionHeaderNames; text ()Lio/netty/util/AsciiString; 'io/netty/handler/codec/http/HttpHeaders setInt D(Ljava/lang/CharSequence;I)Lio/netty/handler/codec/http/HttpHeaders; valueOf (Z)Ljava/lang/Boolean; setProperty `(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;Ljava/lang/Object;)Ljava/lang/Object; 7()Lio/netty/handler/codec/http2/Http2ConnectionDecoder; 3()Lio/netty/handler/codec/http2/Http2FrameListener; 6io/netty/handler/codec/http2/InboundHttpToHttp2Adapter handle ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Connection;Lio/netty/handler/codec/http2/Http2FrameListener;Lio/netty/handler/codec/http/FullHttpMessage;)V release fireUserEventTriggered <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; 7()Lio/netty/handler/codec/http2/Http2ConnectionEncoder; 1()Lio/netty/handler/codec/http2/Http2FrameStream; content ()Lio/netty/buffer/ByteBuf; padding isEndStream 3io/netty/handler/codec/http2/Http2ConnectionEncoder writeData ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; windowSizeIncrement
setSuccess #()Lio/netty/channel/ChannelPromise;
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; streamMayHaveExisted (I)Z errorCode ()J writeRstStream m(Lio/netty/channel/ChannelHandlerContext;IJLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; io/netty/util/ReferenceCountUtil (Ljava/lang/Object;)Z 'io/netty/handler/codec/http2/Http2Error PROTOCOL_ERROR )Lio/netty/handler/codec/http2/Http2Error; streamError ~(ILio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception; ack writePing m(Lio/netty/channel/ChannelHandlerContext;ZJLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; settings .()Lio/netty/handler/codec/http2/Http2Settings;
writeSettings ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Settings;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; writeSettingsAck k(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; frameType ()B flags +()Lio/netty/handler/codec/http2/Http2Flags;
writeFrame ?(Lio/netty/channel/ChannelHandlerContext;BILio/netty/handler/codec/http2/Http2Flags;Lio/netty/buffer/ByteBuf;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; '(Ljava/lang/Object;[Ljava/lang/Class;)V TRUE equals .(Lio/netty/handler/codec/http2/Http2Stream;I)Z (Ljava/lang/String;)V extraStreamIds goAway ?(Lio/netty/channel/ChannelHandlerContext;IJLio/netty/buffer/ByteBuf;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; isStreamIdValid -()Lio/netty/handler/codec/http2/Http2Headers; writeHeaders ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; incrementAndGetNextStreamId NO_ERROR code alloc $()Lio/netty/buffer/ByteBufAllocator; io/netty/buffer/ByteBufUtil
writeAscii U(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/CharSequence;)Lio/netty/buffer/ByteBuf; (IJLio/netty/buffer/ByteBuf;)V
access$302 J(Lio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream;I)I put '(ILjava/lang/Object;)Ljava/lang/Object; isDone 2(Lio/netty/handler/codec/http2/Http2FrameCodec;I)V S(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelPromise; io/netty/channel/ChannelFuture isSuccess remove (I)Ljava/lang/Object; isValidStreamId setStreamAndProperty ?(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;Lio/netty/handler/codec/http2/Http2Stream;)Lio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream; fireExceptionCaught ?(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext; -io/netty/util/internal/logging/InternalLogger warn *(Ljava/lang/String;Ljava/lang/Throwable;)V error +()Lio/netty/handler/codec/http2/Http2Error; p(Lio/netty/handler/codec/http2/Http2FrameStream;Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/Throwable;)V (I)Ljava/lang/Integer; 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V writabilityChanged 4Lio/netty/handler/codec/http2/Http2FrameStreamEvent; stateChanged fireChannelRead desiredAssertionStatus 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; 5io/netty/handler/codec/http2/Http2Connection$Listener ?io/netty/handler/codec/http2/Http2RemoteFlowController$Listener /io/netty/handler/codec/http2/HttpConversionUtil ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? y*,+-? *? Y? ? ,?
Y*? ? *?
? Y*? ? *?
? ? ? ? Y*? ? **?
? ? **?
? ? *-? ? ? ? &