![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.http2.InboundHttp2ToHttpAdapter.class Maven / Gradle / Ivy
The newest version!
???? 2Y
L ? [
? ? ? ?
? ?
?
? ?
?
? K ? K ? K ? K ? K ? K ? ? ? K ? ? ? ? ? ? ? ? ?
K ? ?
? ?
? ? ? ? ? ? ? ?
? ?
? ?
K ? ? ?
K ?
? ? M ? M ?
K ?
K ? ? ? ? ? ? ?
? ?
? ? ? ? ?
? ?
? ?
K ?
K ? ? ? ?
? ?
? ? ? ?
? ?
K ?
? ? ?
? ? ? ? ? ? ? ?
? ? ? ? ? ? ?
I ? ImmediateSendDetector InnerClasses DEFAULT_SEND_DETECTOR NLio/netty/handler/codec/http2/InboundHttp2ToHttpAdapter$ImmediateSendDetector; maxContentLength I sendDetector
messageKey PropertyKey :Lio/netty/handler/codec/http2/Http2Connection$PropertyKey; propagateSettings Z
connection .Lio/netty/handler/codec/http2/Http2Connection; validateHttpHeaders 4(Lio/netty/handler/codec/http2/Http2Connection;IZZ)V Code LineNumberTable LocalVariableTable this 8Lio/netty/handler/codec/http2/InboundHttp2ToHttpAdapter;
StackMapTable
removeMessage .(Lio/netty/handler/codec/http2/Http2Stream;Z)V stream *Lio/netty/handler/codec/http2/Http2Stream; release msg -Lio/netty/handler/codec/http/FullHttpMessage; ?
getMessage Y(Lio/netty/handler/codec/http2/Http2Stream;)Lio/netty/handler/codec/http/FullHttpMessage;
putMessage Z(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/handler/codec/http/FullHttpMessage;)V message previous onStreamRemoved -(Lio/netty/handler/codec/http2/Http2Stream;)V fireChannelRead ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpMessage;ZLio/netty/handler/codec/http2/Http2Stream;)V ctx (Lio/netty/channel/ChannelHandlerContext;
newMessage ?(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/handler/codec/http2/Http2Headers;ZLio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/codec/http/FullHttpMessage; headers +Lio/netty/handler/codec/http2/Http2Headers; alloc "Lio/netty/buffer/ByteBufAllocator;
Exceptions processHeadersBegin ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/handler/codec/http2/Http2Headers;ZZZ)Lio/netty/handler/codec/http/FullHttpMessage; copy endOfStream allowAppend appendToTrailer processHeadersEnd ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/handler/codec/http/FullHttpMessage;Z)V
onDataRead G(Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;IZ)I streamId data Lio/netty/buffer/ByteBuf; padding content dataReadableBytes
onHeadersRead Y(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;IZ)V \(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;ISZIZ)V streamDependency weight S exclusive onRstStreamRead -(Lio/netty/channel/ChannelHandlerContext;IJ)V errorCode J onPushPromiseRead Y(Lio/netty/channel/ChannelHandlerContext;IILio/netty/handler/codec/http2/Http2Headers;I)V promisedStreamId promisedStream onSettingsRead W(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Settings;)V settings ,Lio/netty/handler/codec/http2/Http2Settings; ()V
SourceFile InboundHttp2ToHttpAdapter.java ^ ?
"java/lang/IllegalArgumentException java/lang/StringBuilder maxContentLength: (expected: > 0) ^ [ \ R S ] Z Y Z P Q T Q U X +io/netty/handler/codec/http/FullHttpMessage l h i ?
! x"#$%&'() p q ?* | }+,-./0 x y r s j1234 ,Data Frame received for unknown stream id %d java/lang/Object56789:4 2Content length exceeded max of %d for stream id %d;<= ? ? ? ? ~>?ABCDEFGHBIJ ? s6K (HTTP/2 to HTTP layer caught stream resetLMNOPQRSTUVDQW 9Push Promise Frame received for pre-existing stream id %dXB +io/netty/handler/codec/http2/Http2CodecUtil 8io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter$1 6io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter .io/netty/handler/codec/http2/Http2EventAdapter Lio/netty/handler/codec/http2/InboundHttp2ToHttpAdapter$ImmediateSendDetector 8io/netty/handler/codec/http2/Http2Connection$PropertyKey ,io/netty/handler/codec/http2/Http2Connection +io/netty/handler/codec/http2/Http2Exception &io/netty/channel/ChannelHandlerContext (io/netty/handler/codec/http2/Http2Stream io/netty/buffer/ByteBuf !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V newKey <()Lio/netty/handler/codec/http2/Http2Connection$PropertyKey; removeProperty N(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;)Ljava/lang/Object; ()Z getProperty setProperty `(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;Ljava/lang/Object;)Ljava/lang/Object; ()Lio/netty/buffer/ByteBuf;
readableBytes ()I $io/netty/handler/codec/http/HttpUtil setContentLength -(Lio/netty/handler/codec/http/HttpMessage;J)V <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; isServer id /io/netty/handler/codec/http2/HttpConversionUtil toFullHttpRequest ~(ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/codec/http/FullHttpRequest; toFullHttpResponse (ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/codec/http/FullHttpResponse; $()Lio/netty/buffer/ByteBufAllocator; addHttp2ToHttpHeaders ](ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http/FullHttpMessage;Z)V mustSendImmediately 0(Lio/netty/handler/codec/http/FullHttpMessage;)Z copyIfNeeded ~(Lio/netty/buffer/ByteBufAllocator;Lio/netty/handler/codec/http/FullHttpMessage;)Lio/netty/handler/codec/http/FullHttpMessage; -(I)Lio/netty/handler/codec/http2/Http2Stream; 'io/netty/handler/codec/http2/Http2Error PROTOCOL_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; INTERNAL_ERROR readerIndex
writeBytes 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; +()Lio/netty/handler/codec/http/HttpHeaders; Dio/netty/handler/codec/http2/HttpConversionUtil$ExtensionHeaderNames ExtensionHeaderNames STREAM_DEPENDENCY_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;
STREAM_WEIGHT setShort D(Ljava/lang/CharSequence;S)Lio/netty/handler/codec/http/HttpHeaders; ,(J)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; fireExceptionCaught ?(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext; )io/netty/handler/codec/http2/Http2Headers status ()Ljava/lang/CharSequence; .io/netty/handler/codec/http/HttpResponseStatus OK 0Lio/netty/handler/codec/http/HttpResponseStatus;
codeAsText E(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Headers; STREAM_PROMISE_ID ! K L P Q R S T Q U X Y Z [ \ ] Z ^ _ ` ? V*? +? W? #? Y? Y? ? ?
? ? ? ?*+?
*? *? *? *? ? *+? ? ? a . I K L M / O 4 P 9 Q > R D S K T U U b 4 V c d V [ \ V R S V ] Z V Y Z e ? / f g h i ` ? +*? ? ? N? -?
-? W? a ] ^ _ a b * c d j k l Z m n e ? o p q ` B +*? ? ? ? a i b c d j k r s ` ? +*? ,? ? N-,? -?
-? W? a r s t v b * c d j k t n u n e ? o v w ` ? *+? ? a
z { b c d j k x y ` | *? ,,? ? ?? +,? W? a ? ? ? ? b 4 c d z { m n l Z j k | } ` ? **?
? ? +? ,? !? +? ,? "? a ? ? ) ? b 4 * c d * j k * ~ * ] Z * ? ? e L o ? ? ? ? ` L
}*,? #:6? *,-*? +? $ ? %:? "? 6,? -? &? 6:*? ? ' ? ,? ? *? +? $ ? ( : *+,? ) ?? a : ? ?
? ? $ ? ) ? , ? = ? @ ? C ? Q ? m ? w ? z ? b f
m
? n } c d } z { } j k } ~ } ? Z } ? Z } ? Z v m n
s l Z e ? $ oP o ? ? ? ? ` ? $? *+-*,? #-? ? ,? )? *,-? *? a ? ? ? # ? b 4 $ c d $ z { $ j k $ m n $ ? Z e ? ? f ? ? o f ? o? f ? ? o f ? o ? ? ` \
?*?
? + :*? #:? ? ,-? .Y? /S? 0?? :-? 6 ? *? d? !? 12? .Y*? ? /SY? /S? 0?--? 3 ? 4W?
*+? ) `? a : ? ? ? ? - ? 6 ? <