public abstract class io.vertx.ext.web.impl.RoutingContextImplBase implements io.vertx.ext.web.RoutingContext
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.vertx.ext.web.impl.RoutingContextImplBase
super_class: java.lang.Object
{
static final io.vertx.core.logging.Logger log;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.util.Set<io.vertx.ext.web.impl.RouteImpl> routes;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lio/vertx/ext/web/impl/RouteImpl;>;
protected final java.lang.String mountPoint;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final io.vertx.core.http.HttpServerRequest request;
descriptor: Lio/vertx/core/http/HttpServerRequest;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.util.Iterator<io.vertx.ext.web.impl.RouteImpl> iter;
descriptor: Ljava/util/Iterator;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Iterator<Lio/vertx/ext/web/impl/RouteImpl;>;
protected io.vertx.ext.web.impl.RouteImpl currentRoute;
descriptor: Lio/vertx/ext/web/impl/RouteImpl;
flags: (0x0004) ACC_PROTECTED
protected java.util.concurrent.atomic.AtomicInteger currentRouteNextHandlerIndex;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0004) ACC_PROTECTED
protected java.util.concurrent.atomic.AtomicInteger currentRouteNextFailureHandlerIndex;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0004) ACC_PROTECTED
protected int matchFailure;
descriptor: I
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/ext/web/impl/RoutingContextImplBase;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.String, io.vertx.core.http.HttpServerRequest, java.util.Set<io.vertx.ext.web.impl.RouteImpl>);
descriptor: (Ljava/lang/String;Lio/vertx/core/http/HttpServerRequest;Ljava/util/Set;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.ext.web.impl.RoutingContextImplBase.mountPoint:Ljava/lang/String;
2: aload 0
new io.vertx.ext.web.impl.HttpServerRequestWrapper
dup
aload 2
invokespecial io.vertx.ext.web.impl.HttpServerRequestWrapper.<init>:(Lio/vertx/core/http/HttpServerRequest;)V
putfield io.vertx.ext.web.impl.RoutingContextImplBase.request:Lio/vertx/core/http/HttpServerRequest;
3: aload 0
aload 3
putfield io.vertx.ext.web.impl.RoutingContextImplBase.routes:Ljava/util/Set;
4: aload 0
aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield io.vertx.ext.web.impl.RoutingContextImplBase.iter:Ljava/util/Iterator;
5: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
6: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextFailureHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
7: aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.resetMatchFailure:()V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
0 9 1 mountPoint Ljava/lang/String;
0 9 2 request Lio/vertx/core/http/HttpServerRequest;
0 9 3 routes Ljava/util/Set<Lio/vertx/ext/web/impl/RouteImpl;>;
Signature: (Ljava/lang/String;Lio/vertx/core/http/HttpServerRequest;Ljava/util/Set<Lio/vertx/ext/web/impl/RouteImpl;>;)V
MethodParameters:
Name Flags
mountPoint
request
routes
public java.lang.String mountPoint();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.mountPoint:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
public io.vertx.ext.web.Route currentRoute();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
protected int currentRouteNextHandlerIndex();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
protected int currentRouteNextFailureHandlerIndex();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextFailureHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
protected void restart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.routes:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield io.vertx.ext.web.impl.RoutingContextImplBase.iter:Ljava/util/Iterator;
1: aload 0
aconst_null
putfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
2: aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.next:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
protected boolean iterateNext();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.failed:()Z
istore 1
start local 1 1: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
ifnull 46
2: iload 1
ifne 7
aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
aload 0
invokevirtual io.vertx.ext.web.impl.RouteImpl.hasNextContextHandler:(Lio/vertx/ext/web/impl/RoutingContextImplBase;)Z
ifeq 7
3: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
4: aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.resetMatchFailure:()V
5: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
aload 0
invokevirtual io.vertx.ext.web.impl.RouteImpl.handleContext:(Lio/vertx/ext/web/impl/RoutingContextImplBase;)V
6: iconst_1
ireturn
7: StackMap locals: int
StackMap stack:
iload 1
ifeq 46
aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
aload 0
invokevirtual io.vertx.ext.web.impl.RouteImpl.hasNextFailureHandler:(Lio/vertx/ext/web/impl/RoutingContextImplBase;)Z
ifeq 46
8: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextFailureHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
9: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
aload 0
invokevirtual io.vertx.ext.web.impl.RouteImpl.handleFailure:(Lio/vertx/ext/web/impl/RoutingContextImplBase;)V
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 12: aload 0
aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
iload 1
aload 2
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.handleInHandlerRuntimeFailure:(Lio/vertx/ext/web/impl/RouteImpl;ZLjava/lang/Throwable;)V
13: iconst_1
ireturn
end local 2 14: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.ext.web.impl.RouteImpl
astore 2
start local 2 15: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
16: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextFailureHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
17: aload 2
aload 0
aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.mountPoint:()Ljava/lang/String;
iload 1
invokevirtual io.vertx.ext.web.impl.RouteImpl.matches:(Lio/vertx/ext/web/impl/RoutingContextImplBase;Ljava/lang/String;Z)I
istore 3
start local 3 18: iload 3
ifne 36
19: getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isTraceEnabled:()Z
ifeq 20
getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Route matches: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;)V
20: StackMap locals: io.vertx.ext.web.impl.RouteImpl int
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.resetMatchFailure:()V
21: aload 0
aload 2
putfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
22: getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isTraceEnabled:()Z
ifeq 25
getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Calling the "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
ifeq 23
ldc "failure"
goto 24
StackMap locals: io.vertx.ext.web.impl.RoutingContextImplBase int io.vertx.ext.web.impl.RouteImpl int
StackMap stack: io.vertx.core.logging.Logger java.lang.StringBuilder
23: ldc ""
StackMap locals: io.vertx.ext.web.impl.RoutingContextImplBase int io.vertx.ext.web.impl.RouteImpl int
StackMap stack: io.vertx.core.logging.Logger java.lang.StringBuilder java.lang.String
24: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " handler"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;)V
25: StackMap locals:
StackMap stack:
iload 1
ifeq 29
aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
aload 0
invokevirtual io.vertx.ext.web.impl.RouteImpl.hasNextFailureHandler:(Lio/vertx/ext/web/impl/RoutingContextImplBase;)Z
ifeq 29
26: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextFailureHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
27: aload 2
aload 0
invokevirtual io.vertx.ext.web.impl.RouteImpl.handleFailure:(Lio/vertx/ext/web/impl/RoutingContextImplBase;)V
28: goto 35
StackMap locals:
StackMap stack:
29: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:Lio/vertx/ext/web/impl/RouteImpl;
aload 0
invokevirtual io.vertx.ext.web.impl.RouteImpl.hasNextContextHandler:(Lio/vertx/ext/web/impl/RoutingContextImplBase;)Z
ifeq 46
30: aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.currentRouteNextHandlerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
31: aload 2
aload 0
invokevirtual io.vertx.ext.web.impl.RouteImpl.handleContext:(Lio/vertx/ext/web/impl/RoutingContextImplBase;)V
32: goto 35
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 4
start local 4 34: aload 0
aload 2
iload 1
aload 4
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.handleInHandlerRuntimeFailure:(Lio/vertx/ext/web/impl/RouteImpl;ZLjava/lang/Throwable;)V
end local 4 35: StackMap locals:
StackMap stack:
iconst_1
ireturn
36: StackMap locals:
StackMap stack:
iload 3
sipush 404
if_icmpeq 46
37: aload 0
iload 3
putfield io.vertx.ext.web.impl.RoutingContextImplBase.matchFailure:I
end local 3 38: goto 46
StackMap locals: io.vertx.ext.web.impl.RoutingContextImplBase int io.vertx.ext.web.impl.RouteImpl
StackMap stack: java.lang.Throwable
39: astore 3
start local 3 40: getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isTraceEnabled:()Z
ifeq 41
getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
ldc "IllegalArgumentException thrown during iteration"
aload 3
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;Ljava/lang/Throwable;)V
41: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.response:()Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.ended:()Z
ifne 45
42: aload 0
aload 3
instanceof java.lang.IllegalArgumentException
ifeq 43
sipush 400
goto 44
StackMap locals:
StackMap stack: io.vertx.ext.web.impl.RoutingContextImplBase
43: iconst_m1
StackMap locals: io.vertx.ext.web.impl.RoutingContextImplBase int io.vertx.ext.web.impl.RouteImpl java.lang.Throwable
StackMap stack: io.vertx.ext.web.impl.RoutingContextImplBase int
44: aload 3
aload 2
invokevirtual io.vertx.ext.web.impl.RouteImpl.router:()Lio/vertx/ext/web/impl/RouterImpl;
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.unhandledFailure:(ILjava/lang/Throwable;Lio/vertx/ext/web/impl/RouterImpl;)V
45: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 46: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.impl.RoutingContextImplBase.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
47: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
1 48 1 failed Z
12 14 2 t Ljava/lang/Throwable;
15 46 2 route Lio/vertx/ext/web/impl/RouteImpl;
18 38 3 matchResult I
34 35 4 t Ljava/lang/Throwable;
40 46 3 e Ljava/lang/Throwable;
Exception table:
from to target type
2 6 11 Class java.lang.Throwable
7 10 11 Class java.lang.Throwable
21 32 33 Class java.lang.Throwable
17 35 39 Class java.lang.Throwable
36 38 39 Class java.lang.Throwable
private void handleInHandlerRuntimeFailure(io.vertx.ext.web.impl.RouteImpl, boolean, java.lang.Throwable);
descriptor: (Lio/vertx/ext/web/impl/RouteImpl;ZLjava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isTraceEnabled:()Z
ifeq 1
getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
ldc "Throwable thrown from handler"
aload 3
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;Ljava/lang/Throwable;)V
1: StackMap locals:
StackMap stack:
iload 2
ifne 5
2: getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isTraceEnabled:()Z
ifeq 3
getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
ldc "Failing the routing"
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.fail:(Ljava/lang/Throwable;)V
4: goto 7
5: StackMap locals:
StackMap stack:
getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isTraceEnabled:()Z
ifeq 6
getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
ldc "Failure in handling failure"
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 0
iconst_m1
aload 3
aload 1
invokevirtual io.vertx.ext.web.impl.RouteImpl.router:()Lio/vertx/ext/web/impl/RouterImpl;
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.unhandledFailure:(ILjava/lang/Throwable;Lio/vertx/ext/web/impl/RouterImpl;)V
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
0 8 1 route Lio/vertx/ext/web/impl/RouteImpl;
0 8 2 failed Z
0 8 3 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
route
failed
t
protected void unhandledFailure(int, java.lang.Throwable, io.vertx.ext.web.impl.RouterImpl);
descriptor: (ILjava/lang/Throwable;Lio/vertx/ext/web/impl/RouterImpl;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
iconst_m1
if_icmpeq 2
1: iload 1
goto 5
2: StackMap locals:
StackMap stack:
aload 2
instanceof io.vertx.ext.web.handler.impl.HttpStatusException
ifeq 4
3: aload 2
checkcast io.vertx.ext.web.handler.impl.HttpStatusException
invokevirtual io.vertx.ext.web.handler.impl.HttpStatusException.getStatusCode:()I
goto 5
4: StackMap locals:
StackMap stack:
sipush 500
5: StackMap locals:
StackMap stack: int
istore 4
start local 4 6: aload 3
iload 4
invokevirtual io.vertx.ext.web.impl.RouterImpl.getErrorHandlerByStatusCode:(I)Lio/vertx/core/Handler;
astore 5
start local 5 7: aload 5
ifnull 12
8: aload 5
aload 0
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: goto 12
StackMap locals: io.vertx.ext.web.impl.RoutingContextImplBase int java.lang.Throwable io.vertx.ext.web.impl.RouterImpl int io.vertx.core.Handler
StackMap stack: java.lang.Throwable
10: astore 6
start local 6 11: getstatic io.vertx.ext.web.impl.RoutingContextImplBase.log:Lio/vertx/core/logging/Logger;
ldc "Error in error handler"
aload 6
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 6 12: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.response:()Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.ended:()Z
ifne 20
aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.response:()Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.closed:()Z
ifne 20
13: aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.response:()Lio/vertx/core/http/HttpServerResponse;
iload 4
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
pop
14: goto 19
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
15: pop
16: aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.response:()Lio/vertx/core/http/HttpServerResponse;
17: iload 4
invokestatic io.netty.handler.codec.http.HttpResponseStatus.valueOf:(I)Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.reasonPhrase:()Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusMessage:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
18: iload 4
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
pop
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.response:()Lio/vertx/core/http/HttpServerResponse;
aload 0
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.response:()Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.getStatusMessage:()Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpServerResponse.end:(Ljava/lang/String;)V
20: 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 21 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
0 21 1 statusCode I
0 21 2 failure Ljava/lang/Throwable;
0 21 3 router Lio/vertx/ext/web/impl/RouterImpl;
6 21 4 code I
7 21 5 errorHandler Lio/vertx/core/Handler<Lio/vertx/ext/web/RoutingContext;>;
11 12 6 t Ljava/lang/Throwable;
Exception table:
from to target type
8 9 10 Class java.lang.Throwable
13 14 15 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
statusCode
failure
router
private void resetMatchFailure();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 404
putfield io.vertx.ext.web.impl.RoutingContextImplBase.matchFailure:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RoutingContextImplBase;
}
SourceFile: "RoutingContextImplBase.java"