class io.vertx.core.http.impl.FileStreamChannel$1$1 extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.http.impl.FileStreamChannel$1$1
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
final io.vertx.core.http.impl.FileStreamChannel$1 this$1;
descriptor: Lio/vertx/core/http/impl/FileStreamChannel$1;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final long val$offset;
descriptor: J
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final long val$length;
descriptor: J
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final io.vertx.core.Promise val$result;
descriptor: Lio/vertx/core/Promise;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.core.http.impl.FileStreamChannel$1, long, long, io.vertx.core.Promise);
descriptor: (Lio/vertx/core/http/impl/FileStreamChannel$1;JJLio/vertx/core/Promise;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=5
start local 0 0: aload 0
aload 1
putfield io.vertx.core.http.impl.FileStreamChannel$1$1.this$1:Lio/vertx/core/http/impl/FileStreamChannel$1;
aload 0
lload 2
putfield io.vertx.core.http.impl.FileStreamChannel$1$1.val$offset:J
aload 0
lload 4
putfield io.vertx.core.http.impl.FileStreamChannel$1$1.val$length:J
aload 0
aload 6
putfield io.vertx.core.http.impl.FileStreamChannel$1$1.val$result:Lio/vertx/core/Promise;
aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/FileStreamChannel$1$1;
MethodParameters:
Name Flags
this$0 final
val$offset final
val$length final
val$result final
public void userEventTriggered(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.io.RandomAccessFile
ifeq 3
1: aload 1
new io.netty.handler.stream.ChunkedFile
dup
aload 2
checkcast java.io.RandomAccessFile
aload 0
getfield io.vertx.core.http.impl.FileStreamChannel$1$1.val$offset:J
aload 0
getfield io.vertx.core.http.impl.FileStreamChannel$1$1.val$length:J
sipush 8192
invokespecial io.netty.handler.stream.ChunkedFile.<init>:(Ljava/io/RandomAccessFile;JJI)V
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
astore 3
start local 3 2: aload 3
aload 0
aload 0
getfield io.vertx.core.http.impl.FileStreamChannel$1$1.val$result:Lio/vertx/core/Promise;
aload 3
invokedynamic operationComplete(Lio/vertx/core/http/impl/FileStreamChannel$1$1;Lio/vertx/core/Promise;Lio/netty/channel/ChannelFuture;)Lio/netty/util/concurrent/GenericFutureListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lio/netty/util/concurrent/Future;)V
io/vertx/core/http/impl/FileStreamChannel$1$1.lambda$0(Lio/vertx/core/Promise;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
end local 3 3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/FileStreamChannel$1$1;
0 4 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 4 2 evt Ljava/lang/Object;
2 3 3 fut Lio/netty/channel/ChannelFuture;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
evt
public void exceptionCaught(io.netty.channel.ChannelHandlerContext, java.lang.Throwable);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.FileStreamChannel$1$1.val$result:Lio/vertx/core/Promise;
aload 2
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/FileStreamChannel$1$1;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 2 2 cause Ljava/lang/Throwable;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
cause
private void lambda$0(io.vertx.core.Promise, io.netty.channel.ChannelFuture, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/Promise;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 3
1: aload 1
aload 0
getfield io.vertx.core.http.impl.FileStreamChannel$1$1.this$1:Lio/vertx/core/http/impl/FileStreamChannel$1;
invokestatic io.vertx.core.http.impl.FileStreamChannel$1.access$0:(Lio/vertx/core/http/impl/FileStreamChannel$1;)Lio/vertx/core/http/impl/FileStreamChannel;
getfield io.vertx.core.http.impl.FileStreamChannel.bytesWritten:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface io.vertx.core.Promise.tryComplete:(Ljava/lang/Object;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 3
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
4: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.channel.ChannelFutureListener.CLOSE:Lio/netty/channel/ChannelFutureListener;
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
5: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/FileStreamChannel$1$1;
0 6 3 f Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
}
SourceFile: "FileStreamChannel.java"
EnclosingMethod: io.vertx.core.http.impl.FileStreamChannel$1.initChannel:(Lio/netty/channel/Channel;)V
NestHost: io.vertx.core.http.impl.FileStreamChannel
InnerClasses:
io.vertx.core.http.impl.FileStreamChannel$1
io.vertx.core.http.impl.FileStreamChannel$1$1
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles