![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.LengthFieldBasedFrameDecoder.class Maven / Gradle / Ivy
The newest version!
???? 2
L ?
L ? ? ?
L ?
M ? ? N
? P
? ? R
? ? V ? ?
? ?
?
? ? ? ?
?
? L ? L ? L ? L ? L ? L ? L ? L ?
L ? ? ? L ?
? ?
? ?
? ?
L ? ? ?
?
( ? ? ? L ? L ? ?
L ?
? ?
L ?
L ?
L ?
L ?
L ?
L ?
? ?
? ?
? ?
? ?
? ?
? ?
? ? ? ? ?
@ ?
L ?
? ? ? ? ? ?
F ? ? ? ? byteOrder Ljava/nio/ByteOrder; maxFrameLength I lengthFieldOffset lengthFieldLength lengthFieldEndOffset lengthAdjustment initialBytesToStrip failFast Z discardingTooLongFrame tooLongFrameLength J bytesToDiscard (III)V Code LineNumberTable LocalVariableTable this 5Lio/netty/handler/codec/LengthFieldBasedFrameDecoder; (IIIII)V (IIIIIZ)V (Ljava/nio/ByteOrder;IIIIIZ)V
StackMapTable ? ? decode T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V ctx (Lio/netty/channel/ChannelHandlerContext; in Lio/netty/buffer/ByteBuf; out Ljava/util/List; decoded Ljava/lang/Object; LocalVariableTypeTable $Ljava/util/List; ?
Exceptions ? Signature h(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V (Lio/netty/buffer/ByteBuf;)V localBytesToDiscard failOnNegativeLengthField (Lio/netty/buffer/ByteBuf;JI)V frameLength -failOnFrameLengthLessThanLengthFieldEndOffset exceededFrameLength (Lio/netty/buffer/ByteBuf;J)V discard ,failOnFrameLengthLessThanInitialBytesToStrip U(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Ljava/lang/Object; actualLengthFieldOffset frameLengthInt readerIndex actualFrameLength frame getUnadjustedFrameLength 2(Lio/netty/buffer/ByteBuf;IILjava/nio/ByteOrder;)J buf offset length order failIfNecessary (Z)V firstDetectionOfTooLongFrame extractFrame ^(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; buffer index fail (J)V
SourceFile !LengthFieldBasedFrameDecoder.java ] d ] e ? ? O ] f ] ? java/lang/NullPointerException ] ? ? ? ? ? ? "java/lang/IllegalArgumentException java/lang/StringBuilder maxFrameLength ( ? ? ? ? 6) must be equal to or greater than lengthFieldOffset ( ) + lengthFieldLength ( ). ? ? N O P Q R Q S Q U Q T Q V Q W X j ? ? ? ? \ [ ? ? ? ? ? ? ? ? ? ? .io/netty/handler/codec/CorruptedFrameException &negative pre-adjustment length field: ? ? Adjusted frame length ( %) is less than lengthFieldEndOffset: Z [ Y X $) is less than initialBytesToStrip: Y { ? ? ? ? } ~ ? ~ ? ? ? ~ ? ? ? ? ? 'io/netty/handler/codec/DecoderException unsupported lengthFieldLength: (expected: 1, 2, 3, 4, or 8) ? ?
,io/netty/handler/codec/TooLongFrameException Adjusted frame length exceeds : - discarded
- discarding 3io/netty/handler/codec/LengthFieldBasedFrameDecoder +io/netty/handler/codec/ByteToMessageDecoder java/nio/ByteOrder java/lang/Object java/lang/Exception
BIG_ENDIAN ()V (Ljava/lang/String;)V !io/netty/util/internal/ObjectUtil
checkPositive (ILjava/lang/String;)I checkPositiveOrZero append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; java/util/List add (Ljava/lang/Object;)Z io/netty/buffer/ByteBuf
readableBytes ()I java/lang/Math min (JJ)J skipBytes (I)Lio/netty/buffer/ByteBuf; (J)Ljava/lang/StringBuilder; /(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf; getUnsignedByte (I)S getUnsignedShort (I)I getUnsignedMedium getUnsignedInt (I)J getLong
retainedSlice (II)Lio/netty/buffer/ByteBuf; ! L M N O P Q R Q S Q T Q U Q V Q W X Y X Z [ \ [ ] ^ _ V
*? ? `
? ? a *
b c
P Q
R Q
S Q ] d _ m
*? ? `
? ? a >
b c
P Q
R Q
S Q
U Q
V Q ] e _ { *? ? ? `
a H b c P Q R Q S Q U Q V Q W X ] f _ a ?*? +?
? Y? ? ?
W? W
? Wd? 6? Y? Y? ? ? ? ? ? ? ? ? ? ?*+? *? *? *? *? *`? *? *? ? ` F / 0 1 4 6 8 (: 0; cB hC mD rE xF ~G ?H ?I ?J a R ? b c ? N O ? P Q ? R Q ? S Q ? U Q ? V Q ? W X g ? h i ? P j k _ ? *+,? !:? -? " W? ` N O
P R a 4 b c l m n o p q r s t p u g ? v w x y z Y { _ ? )*? #A +? $?? %?6+? &W ?eA* ? #*? '? ` U V W X Y #[ (\ a * ) b c ) n o $ \ [ | Q
} ~ _ c !*? &W? (Y? Y? )? ? *? ? +? `
_ ` a ! n o ! [ ! T Q
? ~ _ l **? &W? (Y? Y? ,? ? *-? ? ? ? +? `
g h a * n o * [ * T Q ? ? _ ? 9 +? $?e7* ? . ??
+ ?? &W? *? /*? #++? $? &W*? '? ` &