![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.http2.Http2ConnectionHandler.class Maven / Gradle / Ivy
The newest version!
???? 2&?
??
??
??
?? ?? ?? ?? ??
?? ??
??
?? ?
??? ?? ?? ?? ? ???
? ???????????
??
?
??
?
??
???? ????
9?
?? ??? ??????? ??? ??????
????
9? ? ??? ????
C?
??
??
??
??
??????
????
??
???????????????? ??????
??
???
\? ??
\?
??
???? ???
d???????
?
???
? ?
? ?
x
9
?
}
??
;
9
9 !"
{#?$%
?'
{(
?)
?* +
?,-?.
?/
?0 1 ?2 3 4
?4567
?? 8?9 :?; < =>
???@
AB?C?D
AE5FG
?HIJKLM
?N
9( ?O?P
Q
?R?S?T
U ?VWXY
Z[
\] ^_
A`Wa?bcd
ef gh
gij
kl
?m
?n
Aopqrs InnerClasses ClosingChannelFutureListenert FrameDecoder PrefaceDecoderu BaseDecoder logger /Lio/netty/util/internal/logging/InternalLogger; HEADERS_TOO_LARGE_HEADERS +Lio/netty/handler/codec/http2/Http2Headers; HTTP_1_X_BUF Lio/netty/buffer/ByteBuf; decoder 5Lio/netty/handler/codec/http2/Http2ConnectionDecoder; encoder 5Lio/netty/handler/codec/http2/Http2ConnectionEncoder; initialSettings ,Lio/netty/handler/codec/http2/Http2Settings; decoupleCloseAndGoAway Z
closeListener (Lio/netty/channel/ChannelFutureListener; byteDecoder ALio/netty/handler/codec/http2/Http2ConnectionHandler$BaseDecoder; gracefulShutdownTimeoutMillis J ?(Lio/netty/handler/codec/http2/Http2ConnectionDecoder;Lio/netty/handler/codec/http2/Http2ConnectionEncoder;Lio/netty/handler/codec/http2/Http2Settings;)V Code LineNumberTable LocalVariableTable this 5Lio/netty/handler/codec/http2/Http2ConnectionHandler; ?(Lio/netty/handler/codec/http2/Http2ConnectionDecoder;Lio/netty/handler/codec/http2/Http2ConnectionEncoder;Lio/netty/handler/codec/http2/Http2Settings;Z)V
StackMapTabled??? ()J (J)V
connection 0()Lio/netty/handler/codec/http2/Http2Connection; 7()Lio/netty/handler/codec/http2/Http2ConnectionDecoder; 7()Lio/netty/handler/codec/http2/Http2ConnectionEncoder; prefaceSent ()Z onHttpClientUpgrade ()V
Exceptions onHttpServerUpgrade /(Lio/netty/handler/codec/http2/Http2Settings;)V settings flush +(Lio/netty/channel/ChannelHandlerContext;)V e -Lio/netty/handler/codec/http2/Http2Exception; cause Ljava/lang/Throwable; ctx (Lio/netty/channel/ChannelHandlerContext;?? handlerAdded handlerRemoved0
channelActive channelInactive channelWritabilityChanged decode T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V in out Ljava/util/List; LocalVariableTypeTable $Ljava/util/List; Signature h(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V bind d(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V localAddress Ljava/net/SocketAddress; promise !Lio/netty/channel/ChannelPromise; connect |(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V
remoteAddress
disconnect L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V close f Lio/netty/channel/ChannelFuture;v newClosingChannelFutureListener s(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFutureListener;? doGracefulShutdown l(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelFuture;Lio/netty/channel/ChannelPromise;)V oldCloseListener future listenerw
deregister read write ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V msg Ljava/lang/Object; channelReadComplete channelReadComplete0 exceptionCaught @(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V closeStreamLocal M(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/ChannelFuture;)V stream *Lio/netty/handler/codec/http2/Http2Stream; closeStreamRemote closeStream onError A(Lio/netty/channel/ChannelHandlerContext;ZLjava/lang/Throwable;)V streamException StreamException =Lio/netty/handler/codec/http2/Http2Exception$StreamException; compositException CompositeStreamException FLio/netty/handler/codec/http2/Http2Exception$CompositeStreamException; outbound embeddedx isGracefulShutdownComplete onConnectionError n(Lio/netty/channel/ChannelHandlerContext;ZLjava/lang/Throwable;Lio/netty/handler/codec/http2/Http2Exception;)V http2Exy
onStreamError ~(Lio/netty/channel/ChannelHandlerContext;ZLjava/lang/Throwable;Lio/netty/handler/codec/http2/Http2Exception$StreamException;)V cause2 streamId Iz{ !handleServerHeaderDecodeSizeError U(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Stream;)V frameWriter 1()Lio/netty/handler/codec/http2/Http2FrameWriter; resetUnknownStream m(Lio/netty/channel/ChannelHandlerContext;IJLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; errorCode resetStream ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Stream;JLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; goAway ?(Lio/netty/channel/ChannelHandlerContext;IJLio/netty/buffer/ByteBuf;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; lastStreamId debugData .Lio/netty/handler/codec/http2/Http2Connection;| checkCloseConnection #(Lio/netty/channel/ChannelFuture;)V Ljava/lang/Exception;K ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Exception;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; lastKnownStream processRstStreamWriteResult u(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/ChannelFuture;)V closeConnectionOnError K(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelFuture;)V clientPrefaceString I(Lio/netty/handler/codec/http2/Http2Connection;)Lio/netty/buffer/ByteBuf;} processGoAwayWriteResult f(Lio/netty/channel/ChannelHandlerContext;IJLio/netty/buffer/ByteBuf;Lio/netty/channel/ChannelFuture;)V
access$100 l(Lio/netty/handler/codec/http2/Http2ConnectionHandler;)Lio/netty/handler/codec/http2/Http2ConnectionEncoder; x0
access$200
access$302 ?(Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/handler/codec/http2/Http2ConnectionHandler$BaseDecoder;)Lio/netty/handler/codec/http2/Http2ConnectionHandler$BaseDecoder; x1
access$300 x(Lio/netty/handler/codec/http2/Http2ConnectionHandler;)Lio/netty/handler/codec/http2/Http2ConnectionHandler$BaseDecoder;
access$500 ()Lio/netty/buffer/ByteBuf;
access$600 c(Lio/netty/handler/codec/http2/Http2ConnectionHandler;)Lio/netty/handler/codec/http2/Http2Settings;
access$700 l(Lio/netty/handler/codec/http2/Http2ConnectionHandler;)Lio/netty/handler/codec/http2/Http2ConnectionDecoder;
access$800 X(Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelFuture;)V
access$900 ?(Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelFuture;)V x2 access$1000 ?(Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/ChannelFuture;)V x3 access$1100 x4
SourceFile Http2ConnectionHandler.java +io/netty/handler/codec/http2/Http2CodecUtil{|tuvwno ? ? ? ? ? ? ? ?xy ? ? ? ? ?~? *io/netty/handler/codec/http2/Http2Settings 3io/netty/handler/codec/http2/Http2ConnectionDecoder 3io/netty/handler/codec/http2/Http2ConnectionEncoder ? ? ? ? "java/lang/IllegalArgumentException ;Encoder and Decoder do not share the same connection object ?? ? ? java/lang/StringBuilder gracefulShutdownTimeoutMillis: ???? & (expected: -1 for indefinite or >= 0)?? ? ?|? ???? /Client-side HTTP upgrade requested for a server java/lang/Object???? .HTTP upgrade must occur after preface was sent? ? 9HTTP upgrade must occur before HTTP/2 preface is received????? /Server-side HTTP upgrade requested for a client???????z? +io/netty/handler/codec/http2/Http2ExceptionFG java/lang/Throwable Error flushing???????? Bio/netty/handler/codec/http2/Http2ConnectionHandler$PrefaceDecoder ??????? ??$?'?)?y??? ?? ??? ?8???hr01 Pio/netty/handler/codec/http2/Http2ConnectionHandler$ClosingChannelFutureListener ?(??? ??-.R ?v?? ? ? 5io/netty/handler/codec/http2/Http2ConnectionHandler$1 ??6?7?8?=????? ?????>???{???????EA??)?? ? 5io/netty/handler/codec/http2/Http2ConnectionHandler$2 ???? ;io/netty/handler/codec/http2/Http2Exception$StreamExceptionWX Dio/netty/handler/codec/http2/Http2Exception$CompositeStreamException??x? ???ST???? ???????Z?B? Cio/netty/handler/codec/http2/Http2Exception$HeaderListSizeException HeaderListSizeException? ???? ?cd? ?_` Error DecodeSizeError??fg ? ??? ? ???ab??d 5io/netty/handler/codec/http2/Http2ConnectionHandler$3? ???????? ??? 5io/netty/handler/codec/http2/Http2ConnectionHandler$4 ????}? ?? ??????i 5io/netty/handler/codec/http2/Http2ConnectionHandler$5 ??w?? java/lang/Exception java/lang/IllegalStateException ,Close listener threw an unexpected exception ? ??hi ?
? ? ? ? f{} Sent GOAWAY: lastStreamId '{}', errorCode '{}', debugData '{}'. Forcing shutdown of the connection.
?) p{} Sending GOAWAY failed: lastStreamId '{}', errorCode '{}', debugData '{}'. Forcing shutdown of the connection. 3io/netty/handler/codec/http2/Http2ConnectionHandler io/netty/util/AsciiString !"#$%? +io/netty/handler/codec/ByteToMessageDecoder 2io/netty/handler/codec/http2/Http2LifecycleManager 'io/netty/channel/ChannelOutboundHandler 5io/netty/handler/codec/http2/Http2ConnectionHandler$6 @io/netty/handler/codec/http2/Http2ConnectionHandler$FrameDecoder ?io/netty/handler/codec/http2/Http2ConnectionHandler$BaseDecoder io/netty/channel/ChannelFuture &io/netty/channel/ChannelFutureListener java/util/Iterator io/netty/channel/ChannelPromise &io/netty/channel/ChannelHandlerContext (io/netty/handler/codec/http2/Http2Stream ,io/netty/handler/codec/http2/Http2Connection io/netty/buffer/ByteBuf !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; (Ljava/lang/String;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; isServer 'io/netty/handler/codec/http2/Http2Error PROTOCOL_ERROR )Lio/netty/handler/codec/http2/Http2Error; connectionError }(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception; INTERNAL_ERROR prefaceReceived local Endpoint 9()Lio/netty/handler/codec/http2/Http2Connection$Endpoint; 5io/netty/handler/codec/http2/Http2Connection$Endpoint createStream .(IZ)Lio/netty/handler/codec/http2/Http2Stream; remoteSettings remote flowController :()Lio/netty/handler/codec/http2/Http2RemoteFlowController; 6io/netty/handler/codec/http2/Http2RemoteFlowController writePendingBytes *()Lio/netty/channel/ChannelHandlerContext; ?(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception; lifecycleManager 7(Lio/netty/handler/codec/http2/Http2LifecycleManager;)V channelHandlerContext 9()Lio/netty/handler/codec/http2/Http2LocalFlowController; 5io/netty/handler/codec/http2/Http2LocalFlowController `(Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelHandlerContext;)V handlerRemoved channel ()Lio/netty/channel/Channel; io/netty/channel/Channel
isWritable [(Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; s(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; unvoid #()Lio/netty/channel/ChannelPromise; isActive
goAwaySent io/netty/buffer/Unpooled EMPTY_BUFFER 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
newPromise java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; l(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;JLjava/util/concurrent/TimeUnit;)V addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; ?(Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelFutureListener;Lio/netty/channel/ChannelFutureListener;)V U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; discardSomeReadBytes config "()Lio/netty/channel/ChannelConfig; io/netty/channel/ChannelConfig
isAutoRead fireChannelReadComplete getEmbeddedHttp2Exception D(Ljava/lang/Throwable;)Lio/netty/handler/codec/http2/Http2Exception; 9$SwitchMap$io$netty$handler$codec$http2$Http2Stream$State [I state State 2()Lio/netty/handler/codec/http2/Http2Stream$State; .io/netty/handler/codec/http2/Http2Stream$State ordinal ()I closeLocalSide ,()Lio/netty/handler/codec/http2/Http2Stream; closeRemoteSide isDone 8(Lio/netty/handler/codec/http2/Http2ConnectionHandler;)V
isStreamError 0(Lio/netty/handler/codec/http2/Http2Exception;)Z iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; numActiveStreams
getMessage S(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;Ljava/lang/Throwable;)V shutdownHint ShutdownHint <()Lio/netty/handler/codec/http2/Http2Exception$ShutdownHint; 8io/netty/handler/codec/http2/Http2Exception$ShutdownHint GRACEFUL_SHUTDOWN :Lio/netty/handler/codec/http2/Http2Exception$ShutdownHint; -(I)Lio/netty/handler/codec/http2/Http2Stream; duringDecode error +()Lio/netty/handler/codec/http2/Http2Error; code
isHeadersSent mayHaveCreatedStream (I)Z id writeHeaders ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; -io/netty/handler/codec/http2/Http2FrameWriter writeRstStream isResetSent
setSuccess IDLE 0Lio/netty/handler/codec/http2/Http2Stream$State; created -(Lio/netty/handler/codec/http2/Http2Stream;)Z isPushPromiseSent resetSent ?(Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Stream;)V (IJLio/netty/buffer/ByteBuf;)Z release
trySuccess
tryFailure (Ljava/lang/Throwable;)Z retain writeGoAway {(Lio/netty/handler/codec/http2/Http2ConnectionHandler;Lio/netty/channel/ChannelHandlerContext;IJLio/netty/buffer/ByteBuf;)V operationComplete $(Lio/netty/util/concurrent/Future;)V *(Ljava/lang/String;Ljava/lang/Throwable;)V NO_ERROR lastStreamCreated toByteBuf X(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)Lio/netty/buffer/ByteBuf; isSuccess ()Ljava/lang/Throwable; connectionPrefaceBuf -io/netty/util/internal/logging/InternalLogger isDebugEnabled java/lang/Integer valueOf (I)Ljava/lang/Integer; java/lang/Long (J)Ljava/lang/Long; io/netty/util/CharsetUtil UTF_8 Ljava/nio/charset/Charset; .(Ljava/nio/charset/Charset;)Ljava/lang/String; debug ((Ljava/lang/String;[Ljava/lang/Object;)V "()Lio/netty/channel/ChannelFuture; 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; .io/netty/handler/codec/http/HttpResponseStatus REQUEST_HEADER_FIELDS_TOO_LARGE 0Lio/netty/handler/codec/http/HttpResponseStatus;
codeAsText ()Lio/netty/util/AsciiString; 1io/netty/handler/codec/http2/ReadOnlyHttp2Headers
serverHeaders m(ZLio/netty/util/AsciiString;[Lio/netty/util/AsciiString;)Lio/netty/handler/codec/http2/ReadOnlyHttp2Headers;
wrappedBuffer ([B)Lio/netty/buffer/ByteBuf; unreleasableBuffer 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
asReadOnly ! ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <