class io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream implements io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream
super_class: java.lang.Object
{
private final io.vertx.core.Context context;
descriptor: Lio/vertx/core/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 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 final boolean cacheInMemory;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.buffer.Buffer cachedBuffer;
descriptor: Lio/vertx/core/buffer/Buffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean cacheInFile;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String cachedFilePath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.vertx.core.file.AsyncFile cachedFile;
descriptor: Lio/vertx/core/file/AsyncFile;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String cacheFilePrefix;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "_vertx_mail_attach_"
private static final java.lang.String cachFileSuffix;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ".data"
private final int size;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 57
private io.vertx.core.buffer.Buffer streamBuffer;
descriptor: Lio/vertx/core/buffer/Buffer;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler;
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 boolean caching;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.concurrent.atomic.AtomicBoolean streamEnded;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final io.vertx.ext.mail.mailencoder.AttachmentPart this$0;
descriptor: Lio/vertx/ext/mail/mailencoder/AttachmentPart;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(io.vertx.core.Context, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>, );
descriptor: (Lio/vertx/ext/mail/mailencoder/AttachmentPart;Lio/vertx/core/Context;Lio/vertx/core/streams/ReadStream;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 57
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.size:I
2: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamEnded:Ljava/util/concurrent/atomic/AtomicBoolean;
3: aload 3
ldc "ReadStream cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
4: aload 0
aload 3
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
5: aload 0
aload 2
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
6: aload 0
invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
7: iload 4
ifeq 19
8: getstatic io.vertx.ext.mail.mailencoder.AttachmentPart.CACHE_IN_FILE:Z
ifeq 14
9: aload 0
iconst_1
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
10: aload 0
aload 2
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
ldc "_vertx_mail_attach_"
ldc ".data"
invokeinterface io.vertx.core.file.FileSystem.createTempFileBlocking:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
11: aload 0
iconst_0
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
12: aload 0
aconst_null
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
13: goto 23
14: StackMap locals: io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream io.vertx.ext.mail.mailencoder.AttachmentPart io.vertx.core.Context io.vertx.core.streams.ReadStream int
StackMap stack:
aload 0
iconst_0
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
15: aload 0
aconst_null
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
16: aload 0
iconst_1
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
17: aload 0
invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
18: goto 23
19: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
20: aload 0
aconst_null
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
21: aload 0
iconst_0
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
22: aload 0
aconst_null
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
23: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 24 2 context Lio/vertx/core/Context;
0 24 3 stream Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
0 24 4 tryReset Z
Signature: (Lio/vertx/core/Context;Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;Z)V
MethodParameters:
Name Flags
this$0 final
context
stream
tryReset
public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
aload 1
invokeinterface io.vertx.core.streams.ReadStream.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
2: aload 0
aload 1
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:Lio/vertx/core/Handler;
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 4 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
MethodParameters:
Name Flags
handler
public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
aconst_null
invokeinterface io.vertx.core.streams.ReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
2: aload 0
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:Lio/vertx/core/Handler;
4: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
aload 0
invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;)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/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$0(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
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 6 1 handler Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
handler
private synchronized io.vertx.core.Future<java.lang.Void> cacheBuffer(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.caching:Z
1: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 2: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
ifeq 6
3: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
aload 1
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
4: aload 2
invokeinterface io.vertx.core.Promise.complete:()V
5: goto 11
6: StackMap locals: io.vertx.core.Promise
StackMap stack:
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
ifnonnull 10
7: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
new io.vertx.core.file.OpenOptions
dup
invokespecial io.vertx.core.file.OpenOptions.<init>:()V
iconst_1
invokevirtual io.vertx.core.file.OpenOptions.setAppend:(Z)Lio/vertx/core/file/OpenOptions;
invokeinterface io.vertx.core.file.FileSystem.open:(Ljava/lang/String;Lio/vertx/core/file/OpenOptions;)Lio/vertx/core/Future;
8: aload 0
aload 1
aload 2
invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;)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/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$2(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
aload 1
aload 2
invokeinterface io.vertx.core.file.AsyncFile.write:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 12 1 buffer Lio/vertx/core/buffer/Buffer;
2 12 2 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
buffer
private synchronized void checkEnd();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamEnded:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 16
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.caching:Z
ifne 16
1: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
ifeq 6
2: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
getfield io.vertx.ext.mail.mailencoder.AttachmentPart.attachment:Lio/vertx/ext/mail/MailAttachment;
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
invokeinterface io.vertx.ext.mail.MailAttachment.setStream:(Lio/vertx/core/streams/ReadStream;)Lio/vertx/ext/mail/MailAttachment;
pop
3: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
putfield io.vertx.ext.mail.mailencoder.AttachmentPart.cachedFilePath:Ljava/lang/String;
4: aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
aconst_null
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
5: goto 16
StackMap locals:
StackMap stack:
6: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
ifeq 10
7: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
invokestatic io.vertx.ext.mail.mailencoder.Utils.base64:([B)Ljava/lang/String;
putfield io.vertx.ext.mail.mailencoder.AttachmentPart.part:Ljava/lang/String;
8: aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
aconst_null
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
9: goto 16
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
getfield io.vertx.ext.mail.mailencoder.AttachmentPart.cachedFilePath:Ljava/lang/String;
ifnull 15
11: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
getfield io.vertx.ext.mail.mailencoder.AttachmentPart.cachedFilePath:Ljava/lang/String;
astore 1
start local 1 12: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
aconst_null
putfield io.vertx.ext.mail.mailencoder.AttachmentPart.cachedFilePath:Ljava/lang/String;
13: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
aload 1
invokeinterface io.vertx.core.file.FileSystem.delete:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 0
aload 1
invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;Ljava/lang/String;)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/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$4(Ljava/lang/String;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
end local 1 14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
aconst_null
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
12 14 1 tmpPath Ljava/lang/String;
public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream pause();
descriptor: ()Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.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/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream resume();
descriptor: ()Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.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/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream fetch(long);
descriptor: (J)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.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/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 2 1 amount J
MethodParameters:
Name Flags
amount
public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream endHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
aconst_null
invokeinterface io.vertx.core.streams.ReadStream.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
2: aload 0
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
4: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
aload 0
invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;)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/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$5(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
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 6 1 endHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
endHandler
private <T> void handleEventInContext(io.vertx.core.Handler<T>, );
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
1: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
aload 1
aload 2
invokedynamic handle(Lio/vertx/core/Handler;Ljava/lang/Object;)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/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$6(Lio/vertx/core/Handler;Ljava/lang/Object;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 3 1 handler Lio/vertx/core/Handler<TT;>;
0 3 2 t TT;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Handler<TT;>;TT;)V
MethodParameters:
Name Flags
handler
t
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.ext.mail.mailencoder.AttachmentPart$BodyReadStream.pause:()Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
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.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
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.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
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.ext.mail.mailencoder.AttachmentPart$BodyReadStream.resume:()Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
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.ext.mail.mailencoder.AttachmentPart$BodyReadStream.fetch:(J)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
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.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
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.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamEnded:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 3
1: aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:Lio/vertx/core/Handler;
new java.lang.IllegalStateException
dup
ldc "Stream has been closed, no more reading."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
aload 1
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 4: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 10
7: StackMap locals: io.vertx.core.buffer.Buffer io.vertx.core.buffer.Buffer int
StackMap stack:
aload 2
iload 4
iload 4
bipush 57
iadd
invokeinterface io.vertx.core.buffer.Buffer.getBytes:(II)[B
invokestatic io.vertx.ext.mail.mailencoder.Utils.base64:([B)Ljava/lang/String;
astore 5
start local 5 8: aload 3
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
9: iinc 4 57
end local 5 10: StackMap locals:
StackMap stack:
iload 4
bipush 57
iadd
aload 2
invokeinterface io.vertx.core.buffer.Buffer.length:()I
if_icmplt 7
11: aload 0
aload 2
iload 4
aload 2
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokeinterface io.vertx.core.buffer.Buffer.getBuffer:(II)Lio/vertx/core/buffer/Buffer;
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
12: aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:Lio/vertx/core/Handler;
aload 3
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
13: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
ifne 14
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
ifeq 15
14: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
aload 0
invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;)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/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$1(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
end local 4 end local 3 end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 16 1 b Lio/vertx/core/buffer/Buffer;
4 15 2 buffer Lio/vertx/core/buffer/Buffer;
5 15 3 bufferToSent Lio/vertx/core/buffer/Buffer;
6 15 4 start I
8 10 5 theLine Ljava/lang/String;
private void lambda$2(io.vertx.core.buffer.Buffer, io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 3 0: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
aload 0
aload 3
aload 1
aload 2
invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;Lio/vertx/core/AsyncResult;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;)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/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$3(Lio/vertx/core/AsyncResult;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
1: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 2 3 c Lio/vertx/core/AsyncResult<Lio/vertx/core/file/AsyncFile;>;
private void lambda$4(java.lang.String, io.vertx.core.AsyncResult);
descriptor: (Ljava/lang/String;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
aconst_null
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
2: goto 5
3: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.deleteOnExit:()V
4: aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:Lio/vertx/core/Handler;
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 6 2 deleteCacheFile Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$5(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamEnded:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.length:()I
ifle 6
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:Lio/vertx/core/Handler;
ifnull 6
3: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
invokestatic io.vertx.ext.mail.mailencoder.Utils.base64:([B)Ljava/lang/String;
astore 2
start local 2 4: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
astore 3
start local 3 5: aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:Lio/vertx/core/Handler;
aload 3
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.checkEnd:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 8 1 v Ljava/lang/Void;
4 6 2 theLine Ljava/lang/String;
5 6 3 buffer Lio/vertx/core/buffer/Buffer;
private static void lambda$6(io.vertx.core.Handler, java.lang.Object, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Object;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 h Ljava/lang/Void;
private void lambda$1(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
iconst_0
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.caching:Z
2: aload 1
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 4
3: aload 0
aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:Lio/vertx/core/Handler;
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
4: StackMap locals: io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream
StackMap stack:
aload 0
invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.checkEnd:()V
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:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 10 1 r Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
Exception table:
from to target type
1 6 7 any
7 8 7 any
private void lambda$3(io.vertx.core.AsyncResult, io.vertx.core.buffer.Buffer, io.vertx.core.Promise, java.lang.Void);
descriptor: (Lio/vertx/core/AsyncResult;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 4 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
1: aload 0
dup
astore 5
monitorenter
2: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.file.AsyncFile
putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
3: aload 0
getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
aload 2
aload 3
invokeinterface io.vertx.core.file.AsyncFile.write:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
4: aload 5
monitorexit
5: goto 9
StackMap locals: io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream io.vertx.core.AsyncResult io.vertx.core.buffer.Buffer io.vertx.core.Promise java.lang.Void io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream
StackMap stack: java.lang.Throwable
6: aload 5
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 3
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
9: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
0 10 4 h Ljava/lang/Void;
Exception table:
from to target type
2 5 6 any
6 7 6 any
}
Signature: Ljava/lang/Object;Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
SourceFile: "AttachmentPart.java"
NestHost: io.vertx.ext.mail.mailencoder.AttachmentPart
InnerClasses:
private BodyReadStream = io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream of io.vertx.ext.mail.mailencoder.AttachmentPart
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles