public class io.vertx.ext.web.handler.impl.UserSessionHandlerImpl implements io.vertx.ext.web.handler.UserSessionHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.web.handler.impl.UserSessionHandlerImpl
super_class: java.lang.Object
{
private static final java.lang.String SESSION_USER_HOLDER_KEY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "__vertx.userHolder"
private final io.vertx.ext.auth.AuthProvider authProvider;
descriptor: Lio/vertx/ext/auth/AuthProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.ext.auth.AuthProvider);
descriptor: (Lio/vertx/ext/auth/AuthProvider;)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.UserSessionHandlerImpl.authProvider:Lio/vertx/ext/auth/AuthProvider;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/handler/impl/UserSessionHandlerImpl;
0 3 1 authProvider Lio/vertx/ext/auth/AuthProvider;
MethodParameters:
Name Flags
authProvider
public void handle(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.ext.web.RoutingContext.session:()Lio/vertx/ext/web/Session;
astore 2
start local 2 1: aload 2
ifnull 19
2: aconst_null
astore 3
start local 3 3: aload 2
ldc "__vertx.userHolder"
invokeinterface io.vertx.ext.web.Session.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast io.vertx.ext.web.handler.impl.UserHolder
astore 4
start local 4 4: aload 4
ifnull 16
5: aload 4
getfield io.vertx.ext.web.handler.impl.UserHolder.context:Lio/vertx/ext/web/RoutingContext;
astore 5
start local 5 6: aload 5
ifnull 9
7: aload 5
invokeinterface io.vertx.ext.web.RoutingContext.user:()Lio/vertx/ext/auth/User;
astore 3
8: goto 14
StackMap locals: io.vertx.ext.web.handler.impl.UserSessionHandlerImpl io.vertx.ext.web.RoutingContext io.vertx.ext.web.Session io.vertx.ext.auth.User io.vertx.ext.web.handler.impl.UserHolder io.vertx.ext.web.RoutingContext
StackMap stack:
9: aload 4
getfield io.vertx.ext.web.handler.impl.UserHolder.user:Lio/vertx/ext/auth/User;
ifnull 14
10: aload 4
getfield io.vertx.ext.web.handler.impl.UserHolder.user:Lio/vertx/ext/auth/User;
astore 3
11: aload 3
aload 0
getfield io.vertx.ext.web.handler.impl.UserSessionHandlerImpl.authProvider:Lio/vertx/ext/auth/AuthProvider;
invokeinterface io.vertx.ext.auth.User.setAuthProvider:(Lio/vertx/ext/auth/AuthProvider;)V
12: aload 4
aload 1
putfield io.vertx.ext.web.handler.impl.UserHolder.context:Lio/vertx/ext/web/RoutingContext;
13: aload 4
aconst_null
putfield io.vertx.ext.web.handler.impl.UserHolder.user:Lio/vertx/ext/auth/User;
14: StackMap locals:
StackMap stack:
aload 4
aload 1
putfield io.vertx.ext.web.handler.impl.UserHolder.context:Lio/vertx/ext/web/RoutingContext;
end local 5 15: goto 17
16: StackMap locals:
StackMap stack:
aload 1
aload 1
aload 2
invokedynamic handle(Lio/vertx/ext/web/RoutingContext;Lio/vertx/ext/web/Session;)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/web/handler/impl/UserSessionHandlerImpl.lambda$0(Lio/vertx/ext/web/RoutingContext;Lio/vertx/ext/web/Session;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.ext.web.RoutingContext.addHeadersEndHandler:(Lio/vertx/core/Handler;)I
pop
17: StackMap locals:
StackMap stack:
aload 3
ifnull 19
18: aload 1
aload 3
invokeinterface io.vertx.ext.web.RoutingContext.setUser:(Lio/vertx/ext/auth/User;)V
end local 4 end local 3 19: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.ext.web.RoutingContext.next:()V
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/ext/web/handler/impl/UserSessionHandlerImpl;
0 21 1 routingContext Lio/vertx/ext/web/RoutingContext;
1 21 2 session Lio/vertx/ext/web/Session;
3 19 3 user Lio/vertx/ext/auth/User;
4 19 4 holder Lio/vertx/ext/web/handler/impl/UserHolder;
6 15 5 prevContext Lio/vertx/ext/web/RoutingContext;
MethodParameters:
Name Flags
routingContext
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.ext.web.RoutingContext
invokevirtual io.vertx.ext.web.handler.impl.UserSessionHandlerImpl.handle:(Lio/vertx/ext/web/RoutingContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0(io.vertx.ext.web.RoutingContext, io.vertx.ext.web.Session, java.lang.Void);
descriptor: (Lio/vertx/ext/web/RoutingContext;Lio/vertx/ext/web/Session;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 2 0: aload 0
invokeinterface io.vertx.ext.web.RoutingContext.user:()Lio/vertx/ext/auth/User;
ifnull 2
1: aload 1
ldc "__vertx.userHolder"
new io.vertx.ext.web.handler.impl.UserHolder
dup
aload 0
invokespecial io.vertx.ext.web.handler.impl.UserHolder.<init>:(Lio/vertx/ext/web/RoutingContext;)V
invokeinterface io.vertx.ext.web.Session.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/ext/web/Session;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 v Ljava/lang/Void;
}
SourceFile: "UserSessionHandlerImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
java.lang.Deprecated()