abstract class io.vertx.ext.web.handler.impl.AuthorizationAuthHandler extends io.vertx.ext.web.handler.impl.AuthHandlerImpl
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: io.vertx.ext.web.handler.impl.AuthorizationAuthHandler
super_class: io.vertx.ext.web.handler.impl.AuthHandlerImpl
{
protected final io.vertx.ext.web.handler.impl.AuthorizationAuthHandler$Type type;
descriptor: Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
void <init>(io.vertx.ext.auth.AuthProvider, io.vertx.ext.web.handler.impl.AuthorizationAuthHandler$Type);
descriptor: (Lio/vertx/ext/auth/AuthProvider;Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial io.vertx.ext.web.handler.impl.AuthHandlerImpl.<init>:(Lio/vertx/ext/auth/AuthProvider;)V
1: aload 0
aload 2
putfield io.vertx.ext.web.handler.impl.AuthorizationAuthHandler.type:Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler;
0 3 1 authProvider Lio/vertx/ext/auth/AuthProvider;
0 3 2 type Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;
MethodParameters:
Name Flags
authProvider
type
void <init>(io.vertx.ext.auth.AuthProvider, java.lang.String, io.vertx.ext.web.handler.impl.AuthorizationAuthHandler$Type);
descriptor: (Lio/vertx/ext/auth/AuthProvider;Ljava/lang/String;Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial io.vertx.ext.web.handler.impl.AuthHandlerImpl.<init>:(Lio/vertx/ext/auth/AuthProvider;Ljava/lang/String;)V
1: aload 0
aload 3
putfield io.vertx.ext.web.handler.impl.AuthorizationAuthHandler.type:Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler;
0 3 1 authProvider Lio/vertx/ext/auth/AuthProvider;
0 3 2 realm Ljava/lang/String;
0 3 3 type Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;
MethodParameters:
Name Flags
authProvider
realm
type
protected final void parseAuthorization(io.vertx.ext.web.RoutingContext, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>>);
descriptor: (Lio/vertx/ext/web/RoutingContext;ZLio/vertx/core/Handler;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface io.vertx.ext.web.RoutingContext.request:()Lio/vertx/core/http/HttpServerRequest;
astore 4
start local 4 1: aload 4
invokeinterface io.vertx.core.http.HttpServerRequest.headers:()Lio/vertx/core/MultiMap;
getstatic io.vertx.core.http.HttpHeaders.AUTHORIZATION:Ljava/lang/CharSequence;
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 5
start local 5 2: aload 5
ifnonnull 8
3: iload 2
ifeq 6
4: aload 3
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: goto 7
6: StackMap locals: io.vertx.core.http.HttpServerRequest java.lang.String
StackMap stack:
aload 3
getstatic io.vertx.ext.web.handler.impl.AuthorizationAuthHandler.UNAUTHORIZED:Lio/vertx/ext/web/handler/impl/HttpStatusException;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aload 5
bipush 32
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 9: iload 6
ifgt 12
10: aload 3
getstatic io.vertx.ext.web.handler.impl.AuthorizationAuthHandler.BAD_REQUEST:Lio/vertx/ext/web/handler/impl/HttpStatusException;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
11: return
12: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.ext.web.handler.impl.AuthorizationAuthHandler.type:Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;
aload 5
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual io.vertx.ext.web.handler.impl.AuthorizationAuthHandler$Type.is:(Ljava/lang/String;)Z
ifne 15
13: aload 3
getstatic io.vertx.ext.web.handler.impl.AuthorizationAuthHandler.UNAUTHORIZED:Lio/vertx/ext/web/handler/impl/HttpStatusException;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
14: return
15: StackMap locals:
StackMap stack:
aload 3
aload 5
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 6 16: goto 19
StackMap locals: io.vertx.ext.web.handler.impl.AuthorizationAuthHandler io.vertx.ext.web.RoutingContext int io.vertx.core.Handler io.vertx.core.http.HttpServerRequest java.lang.String
StackMap stack: java.lang.RuntimeException
17: astore 6
start local 6 18: aload 3
aload 6
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 6 19: StackMap locals:
StackMap stack:
return
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 20 0 this Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler;
0 20 1 ctx Lio/vertx/ext/web/RoutingContext;
0 20 2 optional Z
0 20 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;
1 20 4 request Lio/vertx/core/http/HttpServerRequest;
2 20 5 authorization Ljava/lang/String;
9 16 6 idx I
18 19 6 e Ljava/lang/RuntimeException;
Exception table:
from to target type
8 11 17 Class java.lang.RuntimeException
12 14 17 Class java.lang.RuntimeException
15 16 17 Class java.lang.RuntimeException
Signature: (Lio/vertx/ext/web/RoutingContext;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
ctx
optional
handler
}
SourceFile: "AuthorizationAuthHandler.java"
NestMembers:
io.vertx.ext.web.handler.impl.AuthorizationAuthHandler$Type
InnerClasses:
final Type = io.vertx.ext.web.handler.impl.AuthorizationAuthHandler$Type of io.vertx.ext.web.handler.impl.AuthorizationAuthHandler