classes.io.netty.handler.stream.ChunkedNioFile.class Maven / Gradle / Ivy
The newest version!
???? 2 ? i j
k
l
+ m
+ n o
p q
+ r
, s t .
u v w
s x
y
z {
|
u } ~
?
p ? ?
s + ? + ? + ? + ? + ?
p ? ? ?
+ ?
? ? ? ?
? ?
? ?
+ ? ? ? ? in Ljava/nio/channels/FileChannel; startOffset J endOffset chunkSize I offset (Ljava/io/File;)V Code LineNumberTable LocalVariableTable this (Lio/netty/handler/stream/ChunkedNioFile; Ljava/io/File;
Exceptions ? (Ljava/io/File;I)V "(Ljava/nio/channels/FileChannel;)V #(Ljava/nio/channels/FileChannel;I)V %(Ljava/nio/channels/FileChannel;JJI)V length
StackMapTable ? ? ()J
currentOffset isEndOfInput ()Z ? close ()V readChunk C(Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf; ctx (Lio/netty/channel/ChannelHandlerContext;
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; =(Lio/netty/buffer/ByteBufAllocator;)Lio/netty/buffer/ByteBuf; localReadBytes readBytes allocator "Lio/netty/buffer/ByteBufAllocator; buffer Lio/netty/buffer/ByteBuf; release Z ? ? ? progress 6(Lio/netty/buffer/ByteBufAllocator;)Ljava/lang/Object; <(Lio/netty/channel/ChannelHandlerContext;)Ljava/lang/Object; Signature SLjava/lang/Object;Lio/netty/handler/stream/ChunkedInput;
SourceFile ChunkedNioFile.java java/io/RandomAccessFile r 6 ? ? ? 6 A 6 B %io/netty/handler/stream/ChunkedStream ? ? H 6 C 6 N java/lang/NullPointerException 6 ? "java/lang/IllegalArgumentException java/lang/StringBuilder offset: ? ? ? ? (expected: 0 or greater) ? ? length: chunkSize: ? ? (expected: a positive integer) ? K (java/nio/channels/ClosedChannelException . / 3 4 0 1 5 1 2 1 M N ? ? ? O V ? ? ? ? [ ? ? ? ? ] K O P &io/netty/handler/stream/ChunkedNioFile java/lang/Object $io/netty/handler/stream/ChunkedInput java/io/IOException java/nio/channels/FileChannel java/lang/Exception io/netty/buffer/ByteBufAllocator io/netty/buffer/ByteBuf java/lang/Throwable #(Ljava/io/File;Ljava/lang/String;)V
getChannel !()Ljava/nio/channels/FileChannel; size (Ljava/lang/String;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (I)Ljava/lang/StringBuilder; isOpen &io/netty/channel/ChannelHandlerContext alloc $()Lio/netty/buffer/ByteBufAllocator; java/lang/Math min (JJ)J (I)Lio/netty/buffer/ByteBuf;
writeBytes $(Ljava/nio/channels/FileChannel;JI)I ! + , - . / 0 1 2 1 3 4 5 1 6 7 8 J *? Y+? ? ? ? 9
1 2 : ; <