public class io.vertx.ext.web.impl.RouterImpl implements io.vertx.ext.web.Router
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.web.impl.RouterImpl
super_class: java.lang.Object
{
private static final io.vertx.core.impl.logging.Logger log;
descriptor: Lio/vertx/core/impl/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile io.vertx.ext.web.impl.RouterState state;
descriptor: Lio/vertx/ext/web/impl/RouterState;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/ext/web/impl/RouterImpl;
invokestatic io.vertx.core.impl.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/impl/logging/Logger;
putstatic io.vertx.ext.web.impl.RouterImpl.log:Lio/vertx/core/impl/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.impl.RouterImpl.vertx:Lio/vertx/core/Vertx;
2: aload 0
new io.vertx.ext.web.impl.RouterState
dup
aload 0
invokespecial io.vertx.ext.web.impl.RouterState.<init>:(Lio/vertx/ext/web/impl/RouterImpl;)V
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 4 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void handle(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.vertx.ext.web.impl.RouterImpl.log:Lio/vertx/core/impl/logging/Logger;
invokeinterface io.vertx.core.impl.logging.Logger.isTraceEnabled:()Z
ifeq 2
1: getstatic io.vertx.ext.web.impl.RouterImpl.log:Lio/vertx/core/impl/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Router: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " accepting request "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.method:()Lio/vertx/core/http/HttpMethod;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.absoluteURI:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.impl.logging.Logger.trace:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
new io.vertx.ext.web.impl.RoutingContextImpl
dup
aconst_null
aload 0
aload 1
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getRoutes:()Ljava/util/Set;
invokespecial io.vertx.ext.web.impl.RoutingContextImpl.<init>:(Ljava/lang/String;Lio/vertx/ext/web/impl/RouterImpl;Lio/vertx/core/http/HttpServerRequest;Ljava/util/Set;)V
invokevirtual io.vertx.ext.web.impl.RoutingContextImpl.next:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 4 1 request Lio/vertx/core/http/HttpServerRequest;
MethodParameters:
Name Flags
request
public synchronized io.vertx.ext.web.Route route();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.incrementOrderSequence:()Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: new io.vertx.ext.web.impl.RouteImpl
dup
aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getOrderSequence:()I
invokespecial io.vertx.ext.web.impl.RouteImpl.<init>:(Lio/vertx/ext/web/impl/RouterImpl;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
public synchronized io.vertx.ext.web.Route route(io.vertx.core.http.HttpMethod, java.lang.String);
descriptor: (Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.incrementOrderSequence:()Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: new io.vertx.ext.web.impl.RouteImpl
dup
aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getOrderSequence:()I
aload 1
aload 2
invokespecial io.vertx.ext.web.impl.RouteImpl.<init>:(Lio/vertx/ext/web/impl/RouterImpl;ILio/vertx/core/http/HttpMethod;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 2 1 method Lio/vertx/core/http/HttpMethod;
0 2 2 path Ljava/lang/String;
MethodParameters:
Name Flags
method
path
public synchronized io.vertx.ext.web.Route route(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.incrementOrderSequence:()Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: new io.vertx.ext.web.impl.RouteImpl
dup
aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getOrderSequence:()I
aload 1
invokespecial io.vertx.ext.web.impl.RouteImpl.<init>:(Lio/vertx/ext/web/impl/RouterImpl;ILjava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 2 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public synchronized io.vertx.ext.web.Route routeWithRegex(io.vertx.core.http.HttpMethod, java.lang.String);
descriptor: (Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.incrementOrderSequence:()Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: new io.vertx.ext.web.impl.RouteImpl
dup
aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getOrderSequence:()I
aload 1
aload 2
iconst_1
invokespecial io.vertx.ext.web.impl.RouteImpl.<init>:(Lio/vertx/ext/web/impl/RouterImpl;ILio/vertx/core/http/HttpMethod;Ljava/lang/String;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 2 1 method Lio/vertx/core/http/HttpMethod;
0 2 2 regex Ljava/lang/String;
MethodParameters:
Name Flags
method
regex
public synchronized io.vertx.ext.web.Route routeWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.incrementOrderSequence:()Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: new io.vertx.ext.web.impl.RouteImpl
dup
aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getOrderSequence:()I
aload 1
iconst_1
invokespecial io.vertx.ext.web.impl.RouteImpl.<init>:(Lio/vertx/ext/web/impl/RouterImpl;ILjava/lang/String;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 2 1 regex Ljava/lang/String;
MethodParameters:
Name Flags
regex
public io.vertx.ext.web.Route get();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route get(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route getWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route head();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.HEAD:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route head(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.HEAD:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route headWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.HEAD:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route options();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.OPTIONS:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route options(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.OPTIONS:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route optionsWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.OPTIONS:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route put();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.PUT:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route put(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.PUT:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route putWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.PUT:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route post();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.POST:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route post(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.POST:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route postWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.POST:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route delete();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.DELETE:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route delete(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.DELETE:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route deleteWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.DELETE:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route trace();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.TRACE:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route trace(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.TRACE:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route traceWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.TRACE:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route connect();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.CONNECT:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route connect(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.CONNECT:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route connectWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.CONNECT:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route patch();
descriptor: ()Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.PATCH:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route patch(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.HttpMethod.PATCH:Lio/vertx/core/http/HttpMethod;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public io.vertx.ext.web.Route patchWithRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:()Lio/vertx/ext/web/Route;
getstatic io.vertx.core.http.HttpMethod.PATCH:Lio/vertx/core/http/HttpMethod;
invokeinterface io.vertx.ext.web.Route.method:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/ext/web/Route;
aload 1
invokeinterface io.vertx.ext.web.Route.pathRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public java.util.List<io.vertx.ext.web.Route> getRoutes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getRoutes:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
Signature: ()Ljava/util/List<Lio/vertx/ext/web/Route;>;
public synchronized io.vertx.ext.web.Router clear();
descriptor: ()Lio/vertx/ext/web/Router;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.clearRoutes:()Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
public void handleContext(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.ext.web.impl.RoutingContextWrapper
dup
aload 0
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.getAndCheckRoutePath:(Lio/vertx/ext/web/RoutingContext;)Ljava/lang/String;
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getRoutes:()Ljava/util/Set;
aload 1
invokespecial io.vertx.ext.web.impl.RoutingContextWrapper.<init>:(Ljava/lang/String;Ljava/util/Set;Lio/vertx/ext/web/RoutingContext;)V
invokevirtual io.vertx.ext.web.impl.RoutingContextWrapper.next:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 2 1 ctx Lio/vertx/ext/web/RoutingContext;
MethodParameters:
Name Flags
ctx
public void handleFailure(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.ext.web.impl.RoutingContextWrapper
dup
aload 0
aload 1
invokevirtual io.vertx.ext.web.impl.RouterImpl.getAndCheckRoutePath:(Lio/vertx/ext/web/RoutingContext;)Ljava/lang/String;
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getRoutes:()Ljava/util/Set;
aload 1
invokespecial io.vertx.ext.web.impl.RoutingContextWrapper.<init>:(Ljava/lang/String;Ljava/util/Set;Lio/vertx/ext/web/RoutingContext;)V
invokevirtual io.vertx.ext.web.impl.RoutingContextWrapper.next:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 2 1 ctx Lio/vertx/ext/web/RoutingContext;
MethodParameters:
Name Flags
ctx
public synchronized io.vertx.ext.web.Router modifiedHandler(io.vertx.core.Handler<io.vertx.ext.web.Router>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/web/Router;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getModifiedHandler:()Lio/vertx/core/Handler;
ifnonnull 3
1: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterState.setModifiedHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getModifiedHandler:()Lio/vertx/core/Handler;
astore 2
start local 2 4: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
aload 2
aload 1
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/Handler;)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/impl/RouterImpl.lambda$0(Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/ext/web/Router;)V (6)
(Lio/vertx/ext/web/Router;)V
invokevirtual io.vertx.ext.web.impl.RouterState.setModifiedHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
end local 2 5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 6 1 handler Lio/vertx/core/Handler<Lio/vertx/ext/web/Router;>;
4 5 2 previousHandler Lio/vertx/core/Handler<Lio/vertx/ext/web/Router;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/ext/web/Router;>;)Lio/vertx/ext/web/Router;
MethodParameters:
Name Flags
handler
public synchronized io.vertx.ext.web.Router (io.vertx.ext.web.AllowForwardHeaders);
descriptor: (Lio/vertx/ext/web/AllowForwardHeaders;)Lio/vertx/ext/web/Router;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterState.setAllowForward:(Lio/vertx/ext/web/AllowForwardHeaders;)Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 2 1 allowForwardHeaders Lio/vertx/ext/web/AllowForwardHeaders;
MethodParameters:
Name Flags
allowForwardHeaders
public io.vertx.ext.web.AllowForwardHeaders ();
descriptor: ()Lio/vertx/ext/web/AllowForwardHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getAllowForward:()Lio/vertx/ext/web/AllowForwardHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
public io.vertx.ext.web.Route mountSubRouter(java.lang.String, io.vertx.ext.web.Router);
descriptor: (Ljava/lang/String;Lio/vertx/ext/web/Router;)Lio/vertx/ext/web/Route;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Don't include * when mounting a sub router"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.ext.web.impl.RouterImpl.route:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
3: aload 2
invokeinterface io.vertx.ext.web.Route.subRouter:(Lio/vertx/ext/web/Router;)Lio/vertx/ext/web/Route;
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 5 1 mountPoint Ljava/lang/String;
0 5 2 subRouter Lio/vertx/ext/web/Router;
MethodParameters:
Name Flags
mountPoint
subRouter
public synchronized io.vertx.ext.web.Router errorHandler(int, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>);
descriptor: (ILio/vertx/core/Handler;)Lio/vertx/ext/web/Router;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
iload 1
aload 2
invokevirtual io.vertx.ext.web.impl.RouterState.putErrorHandler:(ILio/vertx/core/Handler;)Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 2 1 statusCode I
0 2 2 errorHandler Lio/vertx/core/Handler<Lio/vertx/ext/web/RoutingContext;>;
Signature: (ILio/vertx/core/Handler<Lio/vertx/ext/web/RoutingContext;>;)Lio/vertx/ext/web/Router;
MethodParameters:
Name Flags
statusCode
errorHandler
synchronized void add(io.vertx.ext.web.impl.RouteImpl);
descriptor: (Lio/vertx/ext/web/impl/RouteImpl;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterState.addRoute:(Lio/vertx/ext/web/impl/RouteImpl;)Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getModifiedHandler:()Lio/vertx/core/Handler;
ifnull 3
2: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getModifiedHandler:()Lio/vertx/core/Handler;
aload 0
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 4 1 route Lio/vertx/ext/web/impl/RouteImpl;
MethodParameters:
Name Flags
route
synchronized void remove(io.vertx.ext.web.impl.RouteImpl);
descriptor: (Lio/vertx/ext/web/impl/RouteImpl;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
aload 1
invokevirtual io.vertx.ext.web.impl.RouterState.removeRoute:(Lio/vertx/ext/web/impl/RouteImpl;)Lio/vertx/ext/web/impl/RouterState;
putfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
1: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getModifiedHandler:()Lio/vertx/core/Handler;
ifnull 3
2: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getModifiedHandler:()Lio/vertx/core/Handler;
aload 0
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 4 1 route Lio/vertx/ext/web/impl/RouteImpl;
MethodParameters:
Name Flags
route
io.vertx.core.Vertx vertx();
descriptor: ()Lio/vertx/core/Vertx;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.vertx:Lio/vertx/core/Vertx;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
java.util.Iterator<io.vertx.ext.web.impl.RouteImpl> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual io.vertx.ext.web.impl.RouterState.getRoutes:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
Signature: ()Ljava/util/Iterator<Lio/vertx/ext/web/impl/RouteImpl;>;
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getErrorHandlerByStatusCode(int);
descriptor: (I)Lio/vertx/core/Handler;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
iload 1
invokevirtual io.vertx.ext.web.impl.RouterState.getErrorHandler:(I)Lio/vertx/core/Handler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 1 1 statusCode I
Signature: (I)Lio/vertx/core/Handler<Lio/vertx/ext/web/RoutingContext;>;
MethodParameters:
Name Flags
statusCode
private java.lang.String getAndCheckRoutePath(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
checkcast io.vertx.ext.web.impl.RoutingContextImplBase
astore 2
start local 2 1: aload 2
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.currentRoute:()Lio/vertx/ext/web/Route;
astore 3
start local 3 2: aload 3
invokeinterface io.vertx.ext.web.Route.isRegexPath:()Z
ifne 6
3: aload 3
invokeinterface io.vertx.ext.web.Route.getPath:()Ljava/lang/String;
ifnonnull 5
4: ldc "/"
areturn
5: StackMap locals: io.vertx.ext.web.impl.RoutingContextImplBase io.vertx.ext.web.Route
StackMap stack:
aload 3
invokeinterface io.vertx.ext.web.Route.getPath:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 2
getfield io.vertx.ext.web.impl.RoutingContextImplBase.matchRest:I
iconst_m1
if_icmpeq 10
7: aload 2
getfield io.vertx.ext.web.impl.RoutingContextImplBase.matchNormalized:Z
ifeq 9
8: aload 2
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.normalizedPath:()Ljava/lang/String;
iconst_0
aload 2
getfield io.vertx.ext.web.impl.RoutingContextImplBase.matchRest:I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.ext.web.impl.RoutingContextImplBase.request:()Lio/vertx/core/http/HttpServerRequest;
invokeinterface io.vertx.core.http.HttpServerRequest.path:()Ljava/lang/String;
iconst_0
aload 2
getfield io.vertx.ext.web.impl.RoutingContextImplBase.matchRest:I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Sub routers must be mounted on paths (constant or parameterized)"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/web/impl/RouterImpl;
0 11 1 routingContext Lio/vertx/ext/web/RoutingContext;
1 11 2 ctx Lio/vertx/ext/web/impl/RoutingContextImplBase;
2 11 3 route Lio/vertx/ext/web/Route;
MethodParameters:
Name Flags
routingContext
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "RouterImpl@"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc "{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "vertx="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.vertx:Lio/vertx/core/Vertx;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ", state="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.ext.web.impl.RouterImpl.state:Lio/vertx/ext/web/impl/RouterState;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/web/impl/RouterImpl;
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.core.http.HttpServerRequest
invokevirtual io.vertx.ext.web.impl.RouterImpl.handle:(Lio/vertx/core/http/HttpServerRequest;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0(io.vertx.core.Handler, io.vertx.core.Handler, io.vertx.ext.web.Router);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/Handler;Lio/vertx/ext/web/Router;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 2 0: aload 0
aload 2
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.RuntimeException
2: astore 3
start local 3 3: getstatic io.vertx.ext.web.impl.RouterImpl.log:Lio/vertx/core/impl/logging/Logger;
ldc "Router modified notification failed"
aload 3
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.RuntimeException
6: astore 3
start local 3 7: getstatic io.vertx.ext.web.impl.RouterImpl.log:Lio/vertx/core/impl/logging/Logger;
ldc "Router modified notification failed"
aload 3
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 9 2 router Lio/vertx/ext/web/Router;
3 4 3 e Ljava/lang/RuntimeException;
7 8 3 e Ljava/lang/RuntimeException;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
4 5 6 Class java.lang.RuntimeException
}
SourceFile: "RouterImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles