public class io.vertx.ext.web.handler.impl.UserHolder implements io.vertx.core.shareddata.impl.ClusterSerializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.web.handler.impl.UserHolder
super_class: java.lang.Object
{
public io.vertx.ext.web.RoutingContext context;
descriptor: Lio/vertx/ext/web/RoutingContext;
flags: (0x0001) ACC_PUBLIC
public io.vertx.ext.auth.User user;
descriptor: Lio/vertx/ext/auth/User;
flags: (0x0001) ACC_PUBLIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/handler/impl/UserHolder;
public void <init>(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.ext.web.handler.impl.UserHolder.context:Lio/vertx/ext/web/RoutingContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/handler/impl/UserHolder;
0 3 1 context Lio/vertx/ext/web/RoutingContext;
MethodParameters:
Name Flags
context
public void writeToBuffer(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.handler.impl.UserHolder.context:Lio/vertx/ext/web/RoutingContext;
ifnull 1
aload 0
getfield io.vertx.ext.web.handler.impl.UserHolder.context:Lio/vertx/ext/web/RoutingContext;
invokeinterface io.vertx.ext.web.RoutingContext.user:()Lio/vertx/ext/auth/User;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield io.vertx.ext.web.handler.impl.UserHolder.user:Lio/vertx/ext/auth/User;
StackMap locals:
StackMap stack: io.vertx.ext.auth.User
2: astore 2
start local 2 3: aload 2
instanceof io.vertx.core.shareddata.impl.ClusterSerializable
ifeq 14
4: aload 1
iconst_1
invokeinterface io.vertx.core.buffer.Buffer.appendByte:(B)Lio/vertx/core/buffer/Buffer;
pop
5: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot serialize "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: io.vertx.ext.auth.User java.lang.String
StackMap stack:
aload 3
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 4
start local 4 9: aload 1
aload 4
arraylength
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
10: aload 1
aload 4
invokeinterface io.vertx.core.buffer.Buffer.appendBytes:([B)Lio/vertx/core/buffer/Buffer;
pop
11: aload 2
checkcast io.vertx.core.shareddata.impl.ClusterSerializable
astore 5
start local 5 12: aload 5
aload 1
invokeinterface io.vertx.core.shareddata.impl.ClusterSerializable.writeToBuffer:(Lio/vertx/core/buffer/Buffer;)V
end local 5 end local 4 end local 3 13: goto 15
14: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokeinterface io.vertx.core.buffer.Buffer.appendByte:(B)Lio/vertx/core/buffer/Buffer;
pop
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/ext/web/handler/impl/UserHolder;
0 16 1 buffer Lio/vertx/core/buffer/Buffer;
3 16 2 user Lio/vertx/ext/auth/User;
6 13 3 className Ljava/lang/String;
9 13 4 bytes [B
12 13 5 cs Lio/vertx/core/shareddata/impl/ClusterSerializable;
MethodParameters:
Name Flags
buffer
public int readFromBuffer(int, io.vertx.core.buffer.Buffer);
descriptor: (ILio/vertx/core/buffer/Buffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iload 1
iinc 1 1
invokeinterface io.vertx.core.buffer.Buffer.getByte:(I)B
istore 3
start local 3 1: iload 3
iconst_1
if_icmpne 16
2: aload 2
iload 1
invokeinterface io.vertx.core.buffer.Buffer.getInt:(I)I
istore 4
start local 4 3: iinc 1 4
4: aload 2
iload 1
iload 1
iload 4
iadd
invokeinterface io.vertx.core.buffer.Buffer.getBytes:(II)[B
astore 5
start local 5 5: iload 1
iload 4
iadd
istore 1
6: new java.lang.String
dup
aload 5
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
astore 6
start local 6 7: invokestatic io.vertx.ext.web.impl.Utils.getClassLoader:()Ljava/lang/ClassLoader;
aload 6
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 7
start local 7 8: ldc Lio/vertx/core/shareddata/impl/ClusterSerializable;
aload 7
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 10
9: new java.lang.ClassCastException
dup
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not ClusterSerializable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: io.vertx.ext.web.handler.impl.UserHolder int io.vertx.core.buffer.Buffer int int byte[] java.lang.String java.lang.Class
StackMap stack:
aload 7
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.shareddata.impl.ClusterSerializable
astore 8
start local 8 11: aload 8
iload 1
aload 2
invokeinterface io.vertx.core.shareddata.impl.ClusterSerializable.readFromBuffer:(ILio/vertx/core/buffer/Buffer;)I
istore 1
12: aload 0
aload 8
checkcast io.vertx.ext.auth.User
putfield io.vertx.ext.web.handler.impl.UserHolder.user:Lio/vertx/ext/auth/User;
end local 8 end local 7 13: goto 17
StackMap locals: io.vertx.ext.web.handler.impl.UserHolder int io.vertx.core.buffer.Buffer int int byte[] java.lang.String
StackMap stack: java.lang.Exception
14: astore 7
start local 7 15: new io.vertx.core.VertxException
dup
aload 7
invokespecial io.vertx.core.VertxException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 end local 5 end local 4 16: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.vertx.ext.web.handler.impl.UserHolder.user:Lio/vertx/ext/auth/User;
17: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/ext/web/handler/impl/UserHolder;
0 18 1 pos I
0 18 2 buffer Lio/vertx/core/buffer/Buffer;
1 18 3 b B
3 16 4 len I
5 16 5 bytes [B
7 16 6 className Ljava/lang/String;
8 13 7 clazz Ljava/lang/Class<*>;
11 13 8 obj Lio/vertx/core/shareddata/impl/ClusterSerializable;
15 16 7 e Ljava/lang/Exception;
Exception table:
from to target type
7 13 14 Class java.lang.Exception
MethodParameters:
Name Flags
pos
buffer
}
SourceFile: "UserHolder.java"