classes.io.netty.handler.codec.DelimiterBasedFrameDecoder.class Maven / Gradle / Ivy
???? 2 ?
?
? ?
?
?
?
?
?
: ?
? ? ;
? ? ?
?
?
? ?
? ? ?
? ? ? ?
?
?
? ? ?
? ? ?
????
? ?
? ?
?
? ? ?
* ? ?
* ?
* ? ?
* ? ?
* ?
) ? ?
? M
? ? ? ?
delimiters [Lio/netty/buffer/ByteBuf; maxFrameLength I stripDelimiter Z failFast discardingTooLongFrame tooLongFrameLength lineBasedDecoder .Lio/netty/handler/codec/LineBasedFrameDecoder; (ILio/netty/buffer/ByteBuf;)V Code LineNumberTable LocalVariableTable this 3Lio/netty/handler/codec/DelimiterBasedFrameDecoder; delimiter Lio/netty/buffer/ByteBuf; (IZLio/netty/buffer/ByteBuf;)V (IZZLio/netty/buffer/ByteBuf;)V (I[Lio/netty/buffer/ByteBuf;)V (IZ[Lio/netty/buffer/ByteBuf;)V (IZZ[Lio/netty/buffer/ByteBuf;)V d i
StackMapTable ? < isLineBased ([Lio/netty/buffer/ByteBuf;)Z a b ?
isSubclass ()Z decode T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V ctx (Lio/netty/channel/ChannelHandlerContext; in 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 U(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Ljava/lang/Object; frameLength delim arr$ len$ i$ frame minDelimLength buffer minFrameLength minDelim ? fail (J)V J indexOf 5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)I
haystackIndex needleIndex haystack needle validateDelimiter (Lio/netty/buffer/ByteBuf;)V validateMaxFrameLength (I)V
SourceFile DelimiterBasedFrameDecoder.java F O F P io/netty/buffer/ByteBuf ? ? ? ? ? ? F S F R F ? ? ? java/lang/NullPointerException F ? "java/lang/IllegalArgumentException empty delimiters Y Z ^ _ ,io/netty/handler/codec/LineBasedFrameDecoder F ? D E ; < ? ? = > ? @ A @ ? ? ? ? ? ? ? 1io/netty/handler/codec/DelimiterBasedFrameDecoder ` p ? ? ? ? B @ ? ? C > | } ? ? ,io/netty/handler/codec/TooLongFrameException java/lang/StringBuilder frame length exceeds ? ? ? ? : ? ? - discarded ? ? F ?
- discarding ? ? ? _ empty delimiter +maxFrameLength must be a positive integer: +io/netty/handler/codec/ByteToMessageDecoder java/lang/Object java/lang/Exception &io/netty/channel/ChannelHandlerContext readerIndex ()I
readableBytes slice (II)Lio/netty/buffer/ByteBuf; ()V (Ljava/lang/String;)V (IZZ)V capacity getByte (I)B getClass ()Ljava/lang/Class; java/util/List add (Ljava/lang/Object;)Z skipBytes (I)Lio/netty/buffer/ByteBuf; readRetainedSlice append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; writerIndex
isReadable ! : ; <