public class io.vertx.ext.auth.impl.ChainAuthImpl implements io.vertx.ext.auth.ChainAuth
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.auth.impl.ChainAuthImpl
super_class: java.lang.Object
{
private final java.util.List<io.vertx.ext.auth.AuthProvider> providers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/ext/auth/AuthProvider;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.ext.auth.impl.ChainAuthImpl.providers:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/auth/impl/ChainAuthImpl;
public io.vertx.ext.auth.ChainAuth append(io.vertx.ext.auth.AuthProvider);
descriptor: (Lio/vertx/ext/auth/AuthProvider;)Lio/vertx/ext/auth/ChainAuth;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.auth.impl.ChainAuthImpl.providers:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/impl/ChainAuthImpl;
0 2 1 other Lio/vertx/ext/auth/AuthProvider;
MethodParameters:
Name Flags
other
public boolean remove(io.vertx.ext.auth.AuthProvider);
descriptor: (Lio/vertx/ext/auth/AuthProvider;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.auth.impl.ChainAuthImpl.providers:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/impl/ChainAuthImpl;
0 1 1 other Lio/vertx/ext/auth/AuthProvider;
MethodParameters:
Name Flags
other
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.auth.impl.ChainAuthImpl.providers:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/impl/ChainAuthImpl;
public void authenticate(io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.User>>);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
aload 1
aload 2
invokevirtual io.vertx.ext.auth.impl.ChainAuthImpl.iterate:(ILio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/impl/ChainAuthImpl;
0 2 1 authInfo Lio/vertx/core/json/JsonObject;
0 2 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/User;>;>;
Signature: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/User;>;>;)V
MethodParameters:
Name Flags
authInfo final
resultHandler final
private void iterate(int, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.User>>);
descriptor: (ILio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
aload 0
getfield io.vertx.ext.auth.impl.ChainAuthImpl.providers:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
1: aload 3
ldc "No more providers in the auth chain."
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.auth.impl.ChainAuthImpl.providers:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.vertx.ext.auth.AuthProvider
aload 2
aload 0
aload 3
iload 1
aload 2
invokedynamic handle(Lio/vertx/ext/auth/impl/ChainAuthImpl;Lio/vertx/core/Handler;ILio/vertx/core/json/JsonObject;)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/auth/impl/ChainAuthImpl.lambda$0(Lio/vertx/core/Handler;ILio/vertx/core/json/JsonObject;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.ext.auth.AuthProvider.authenticate:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/auth/impl/ChainAuthImpl;
0 5 1 idx I
0 5 2 authInfo Lio/vertx/core/json/JsonObject;
0 5 3 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/User;>;>;
Signature: (ILio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/User;>;>;)V
MethodParameters:
Name Flags
idx final
authInfo final
resultHandler final
private void lambda$0(io.vertx.core.Handler, int, io.vertx.core.json.JsonObject, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;ILio/vertx/core/json/JsonObject;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 4 0: aload 4
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 1
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 2
iconst_1
iadd
aload 3
aload 1
invokevirtual io.vertx.ext.auth.impl.ChainAuthImpl.iterate:(ILio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/auth/impl/ChainAuthImpl;
0 5 4 res Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/User;>;
}
SourceFile: "ChainAuthImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles