class io.vertx.core.http.impl.HttpServerFileUploadImpl implements io.vertx.core.http.HttpServerFileUpload
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.http.impl.HttpServerFileUploadImpl
super_class: java.lang.Object
{
private final io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream;
descriptor: Lio/vertx/core/streams/ReadStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
private final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String contentType;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String contentTransferEncoding;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.vertx.core.Handler<io.vertx.core.buffer.Buffer> dataHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
private io.vertx.core.Handler<java.lang.Void> endHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private io.vertx.core.Handler<java.lang.Throwable> exceptionHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
private long size;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean lazyCalculateSize;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.file.AsyncFile file;
descriptor: Lio/vertx/core/file/AsyncFile;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.streams.Pipe<io.vertx.core.buffer.Buffer> pipe;
descriptor: Lio/vertx/core/streams/Pipe;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/streams/Pipe<Lio/vertx/core/buffer/Buffer;>;
private boolean cancelled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(io.vertx.core.impl.ContextInternal, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.nio.charset.Charset, );
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/streams/ReadStream;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;J)V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
2: aload 0
aload 2
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.stream:Lio/vertx/core/streams/ReadStream;
3: aload 0
aload 3
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.name:Ljava/lang/String;
4: aload 0
aload 4
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.filename:Ljava/lang/String;
5: aload 0
aload 5
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.contentType:Ljava/lang/String;
6: aload 0
aload 6
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.contentTransferEncoding:Ljava/lang/String;
7: aload 0
aload 7
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.charset:Ljava/nio/charset/Charset;
8: aload 0
lload 8
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.size:J
9: aload 0
lload 8
lconst_0
lcmp
ifne 10
iconst_1
goto 11
StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl io.vertx.core.impl.ContextInternal io.vertx.core.streams.ReadStream java.lang.String java.lang.String java.lang.String java.lang.String java.nio.charset.Charset long
StackMap stack: io.vertx.core.http.impl.HttpServerFileUploadImpl
10: iconst_0
StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl io.vertx.core.impl.ContextInternal io.vertx.core.streams.ReadStream java.lang.String java.lang.String java.lang.String java.lang.String java.nio.charset.Charset long
StackMap stack: io.vertx.core.http.impl.HttpServerFileUploadImpl int
11: putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.lazyCalculateSize:Z
12: aload 2
aload 0
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerFileUploadImpl;)Lio/vertx/core/Handler;
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:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpServerFileUploadImpl.handleData(Lio/vertx/core/buffer/Buffer;)V (7)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.streams.ReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
13: aload 2
aload 0
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerFileUploadImpl;)Lio/vertx/core/Handler;
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:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpServerFileUploadImpl.handleException(Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.streams.ReadStream.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
14: aload 2
aload 0
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerFileUploadImpl;)Lio/vertx/core/Handler;
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:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpServerFileUploadImpl.lambda$2(Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.streams.ReadStream.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
15: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 16 1 context Lio/vertx/core/impl/ContextInternal;
0 16 2 stream Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
0 16 3 name Ljava/lang/String;
0 16 4 filename Ljava/lang/String;
0 16 5 contentType Ljava/lang/String;
0 16 6 contentTransferEncoding Ljava/lang/String;
0 16 7 charset Ljava/nio/charset/Charset;
0 16 8 size J
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;J)V
MethodParameters:
Name Flags
context
stream
name
filename
contentType
contentTransferEncoding
charset
size
private void handleData(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.dataHandler:Lio/vertx/core/Handler;
astore 2
start local 2 2: aload 0
dup
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.size:J
aload 1
invokeinterface io.vertx.core.buffer.Buffer.length:()I
i2l
ladd
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.size:J
3: aload 3
monitorexit
4: goto 7
end local 2 StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl io.vertx.core.buffer.Buffer top io.vertx.core.http.impl.HttpServerFileUploadImpl
StackMap stack: java.lang.Throwable
5: aload 3
monitorexit
6: athrow
start local 2 7: StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl io.vertx.core.buffer.Buffer io.vertx.core.Handler
StackMap stack:
aload 2
ifnull 9
8: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 10 1 data Lio/vertx/core/buffer/Buffer;
2 5 2 handler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
7 10 2 handler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
data
private void handleException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.exceptionHandler:Lio/vertx/core/Handler;
astore 2
start local 2 2: aload 3
monitorexit
3: goto 6
end local 2 StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl java.lang.Throwable top io.vertx.core.http.impl.HttpServerFileUploadImpl
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
start local 2 6: StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl java.lang.Throwable io.vertx.core.Handler
StackMap stack:
aload 2
ifnull 8
7: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 9 1 cause Ljava/lang/Throwable;
2 4 2 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
6 9 2 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
cause
private void handleEnd();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: aload 0
iconst_0
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.lazyCalculateSize:Z
2: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.endHandler:Lio/vertx/core/Handler;
astore 1
start local 1 3: aload 2
monitorexit
4: goto 7
end local 1 StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl top io.vertx.core.http.impl.HttpServerFileUploadImpl
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
start local 1 7: StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl io.vertx.core.Handler
StackMap stack:
aload 1
ifnull 9
8: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
aload 1
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Lio/vertx/core/Handler;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
3 5 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
7 10 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public java.lang.String filename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.filename:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public java.lang.String contentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.contentType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public java.lang.String contentTransferEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.contentTransferEncoding:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public java.lang.String charset();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public synchronized long size();
descriptor: ()J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.size:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public synchronized io.vertx.core.http.HttpServerFileUpload handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerFileUpload;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.dataHandler:Lio/vertx/core/Handler;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;)Lio/vertx/core/http/HttpServerFileUpload;
MethodParameters:
Name Flags
handler
public io.vertx.core.http.HttpServerFileUpload pause();
descriptor: ()Lio/vertx/core/http/HttpServerFileUpload;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.stream:Lio/vertx/core/streams/ReadStream;
invokeinterface io.vertx.core.streams.ReadStream.pause:()Lio/vertx/core/streams/ReadStream;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public io.vertx.core.http.HttpServerFileUpload fetch(long);
descriptor: (J)Lio/vertx/core/http/HttpServerFileUpload;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.stream:Lio/vertx/core/streams/ReadStream;
lload 1
invokeinterface io.vertx.core.streams.ReadStream.fetch:(J)Lio/vertx/core/streams/ReadStream;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 2 1 amount J
MethodParameters:
Name Flags
amount
public io.vertx.core.http.HttpServerFileUpload resume();
descriptor: ()Lio/vertx/core/http/HttpServerFileUpload;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.stream:Lio/vertx/core/streams/ReadStream;
invokeinterface io.vertx.core.streams.ReadStream.resume:()Lio/vertx/core/streams/ReadStream;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public synchronized io.vertx.core.http.HttpServerFileUpload exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerFileUpload;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.exceptionHandler:Lio/vertx/core/Handler;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 2 1 exceptionHandler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/http/HttpServerFileUpload;
MethodParameters:
Name Flags
exceptionHandler
public synchronized io.vertx.core.http.HttpServerFileUpload endHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerFileUpload;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.endHandler:Lio/vertx/core/Handler;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 2 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/http/HttpServerFileUpload;
MethodParameters:
Name Flags
handler
public void streamToFileSystem(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.streamToFileSystem:(Ljava/lang/String;)Lio/vertx/core/Future;
astore 3
start local 3 1: aload 2
ifnull 3
2: aload 3
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: StackMap locals: io.vertx.core.Future
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 4 1 filename Ljava/lang/String;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 4 3 fut Lio/vertx/core/Future<Ljava/lang/Void;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
filename
handler
public io.vertx.core.Future<java.lang.Void> streamToFileSystem(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.pipe:Lio/vertx/core/streams/Pipe;
ifnull 4
2: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
ldc "Already streaming"
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 2
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl
StackMap stack:
aload 0
aload 0
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.pipe:()Lio/vertx/core/streams/Pipe;
iconst_1
invokeinterface io.vertx.core.streams.Pipe.endOnComplete:(Z)Lio/vertx/core/streams/Pipe;
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.pipe:Lio/vertx/core/streams/Pipe;
5: aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.fileSystem:()Lio/vertx/core/file/FileSystem;
astore 2
start local 2 10: aload 2
aload 1
new io.vertx.core.file.OpenOptions
dup
invokespecial io.vertx.core.file.OpenOptions.<init>:()V
invokeinterface io.vertx.core.file.FileSystem.open:(Ljava/lang/String;Lio/vertx/core/file/OpenOptions;)Lio/vertx/core/Future;
astore 3
start local 3 11: aload 3
aload 0
invokedynamic handle(Lio/vertx/core/http/impl/HttpServerFileUploadImpl;)Lio/vertx/core/Handler;
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:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpServerFileUploadImpl.lambda$3(Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.Future.onFailure:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
12: aload 3
aload 0
aload 2
aload 1
invokedynamic apply(Lio/vertx/core/http/impl/HttpServerFileUploadImpl;Lio/vertx/core/file/FileSystem;Ljava/lang/String;)Ljava/util/function/Function;
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:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/core/http/impl/HttpServerFileUploadImpl.lambda$4(Lio/vertx/core/file/FileSystem;Ljava/lang/String;Lio/vertx/core/file/AsyncFile;)Lio/vertx/core/Future; (7)
(Lio/vertx/core/file/AsyncFile;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 13 1 filename Ljava/lang/String;
10 13 2 fs Lio/vertx/core/file/FileSystem;
11 13 3 fut Lio/vertx/core/Future<Lio/vertx/core/file/AsyncFile;>;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
filename
public boolean cancelStreamToFileSystem();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.pipe:Lio/vertx/core/streams/Pipe;
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "Not a streaming upload"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.file:Lio/vertx/core/file/AsyncFile;
ifnull 6
4: aload 1
monitorexit
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.cancelled:Z
7: aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.pipe:Lio/vertx/core/streams/Pipe;
invokeinterface io.vertx.core.streams.Pipe.close:()V
12: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
Exception table:
from to target type
1 5 9 any
6 8 9 any
9 10 9 any
public synchronized boolean isSizeAvailable();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.lazyCalculateSize:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public synchronized io.vertx.core.file.AsyncFile file();
descriptor: ()Lio/vertx/core/file/AsyncFile;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.file:Lio/vertx/core/file/AsyncFile;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
public io.vertx.core.streams.ReadStream pause();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.pause:()Lio/vertx/core/http/HttpServerFileUpload;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream handler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.Handler
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerFileUpload;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream endHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerFileUpload;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream resume();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.resume:()Lio/vertx/core/http/HttpServerFileUpload;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream fetch(long);
descriptor: (J)Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.fetch:(J)Lio/vertx/core/http/HttpServerFileUpload;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerFileUpload;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerFileUpload;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$2(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.http.impl.HttpServerFileUploadImpl.handleEnd:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 1 1 v Ljava/lang/Void;
private void lambda$3(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.pipe:Lio/vertx/core/streams/Pipe;
invokeinterface io.vertx.core.streams.Pipe.close:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 2 1 err Ljava/lang/Throwable;
private io.vertx.core.Future lambda$4(io.vertx.core.file.FileSystem, java.lang.String, io.vertx.core.file.AsyncFile);
descriptor: (Lio/vertx/core/file/FileSystem;Ljava/lang/String;Lio/vertx/core/file/AsyncFile;)Lio/vertx/core/Future;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 3 0: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.pipe:Lio/vertx/core/streams/Pipe;
aload 3
invokeinterface io.vertx.core.streams.Pipe.to:(Lio/vertx/core/streams/WriteStream;)Lio/vertx/core/Future;
astore 4
start local 4 1: aload 4
aload 0
aload 3
aload 1
aload 2
invokedynamic apply(Lio/vertx/core/http/impl/HttpServerFileUploadImpl;Lio/vertx/core/file/AsyncFile;Lio/vertx/core/file/FileSystem;Ljava/lang/String;)Ljava/util/function/Function;
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:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/core/http/impl/HttpServerFileUploadImpl.lambda$5(Lio/vertx/core/file/AsyncFile;Lio/vertx/core/file/FileSystem;Ljava/lang/String;Ljava/lang/Void;)Lio/vertx/core/Future; (7)
(Ljava/lang/Void;)Lio/vertx/core/Future;
2: aload 0
aload 1
aload 2
invokedynamic apply(Lio/vertx/core/http/impl/HttpServerFileUploadImpl;Lio/vertx/core/file/FileSystem;Ljava/lang/String;)Ljava/util/function/Function;
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:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/core/http/impl/HttpServerFileUploadImpl.lambda$6(Lio/vertx/core/file/FileSystem;Ljava/lang/String;Ljava/lang/Throwable;)Lio/vertx/core/Future; (7)
(Ljava/lang/Throwable;)Lio/vertx/core/Future;
3: invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 4 3 f Lio/vertx/core/file/AsyncFile;
1 4 4 to Lio/vertx/core/Future<Ljava/lang/Void;>;
private io.vertx.core.Future lambda$5(io.vertx.core.file.AsyncFile, io.vertx.core.file.FileSystem, java.lang.String, java.lang.Void);
descriptor: (Lio/vertx/core/file/AsyncFile;Lio/vertx/core/file/FileSystem;Ljava/lang/String;Ljava/lang/Void;)Lio/vertx/core/Future;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=6, args_size=5
start local 0 start local 4 0: aload 0
dup
astore 5
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.cancelled:Z
ifne 5
2: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpServerFileUploadImpl.file:Lio/vertx/core/file/AsyncFile;
3: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.succeededFuture:()Lio/vertx/core/Future;
aload 5
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.HttpServerFileUploadImpl
StackMap stack:
aload 2
aload 3
invokeinterface io.vertx.core.file.FileSystem.delete:(Ljava/lang/String;)Lio/vertx/core/Future;
pop
6: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
ldc "Streaming aborted"
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 5
monitorexit
7: areturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
aload 5
monitorexit
9: athrow
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 10 4 v Ljava/lang/Void;
Exception table:
from to target type
1 4 8 any
5 7 8 any
8 9 8 any
private io.vertx.core.Future lambda$6(io.vertx.core.file.FileSystem, java.lang.String, java.lang.Throwable);
descriptor: (Lio/vertx/core/file/FileSystem;Ljava/lang/String;Ljava/lang/Throwable;)Lio/vertx/core/Future;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 3 0: aload 1
aload 2
invokeinterface io.vertx.core.file.FileSystem.delete:(Ljava/lang/String;)Lio/vertx/core/Future;
pop
1: aload 0
getfield io.vertx.core.http.impl.HttpServerFileUploadImpl.context:Lio/vertx/core/impl/ContextInternal;
aload 3
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpServerFileUploadImpl;
0 2 3 err Ljava/lang/Throwable;
}
SourceFile: "HttpServerFileUploadImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles