public class examples.Examples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.Examples
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // examples.Examples this
0: .line 13
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // examples.Examples this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/Examples;
public void serviceAndSockJS(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 // examples.Examples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 16
new examples.SomeDatabaseServiceImpl
dup
invokespecial examples.SomeDatabaseServiceImpl.<init>:()V
astore 2 /* service */
start local 2 // examples.SomeDatabaseService service
1: .line 17
ldc Lexamples/SomeDatabaseService;
aload 1 /* vertx */
aload 2 /* service */
2: .line 18
ldc "database-service-address"
3: .line 17
invokestatic io.vertx.serviceproxy.ProxyHelper.registerService:(Ljava/lang/Class;Lio/vertx/core/Vertx;Ljava/lang/Object;Ljava/lang/String;)Lio/vertx/core/eventbus/MessageConsumer;
pop
4: .line 21
aload 1 /* vertx */
invokestatic io.vertx.ext.web.Router.router:(Lio/vertx/core/Vertx;)Lio/vertx/ext/web/Router;
astore 3 /* router */
start local 3 // io.vertx.ext.web.Router router
5: .line 23
new io.vertx.ext.web.handler.sockjs.BridgeOptions
dup
invokespecial io.vertx.ext.web.handler.sockjs.BridgeOptions.<init>:()V
6: .line 24
new io.vertx.ext.web.handler.sockjs.PermittedOptions
dup
invokespecial io.vertx.ext.web.handler.sockjs.PermittedOptions.<init>:()V
7: .line 25
ldc "database-service-address"
invokevirtual io.vertx.ext.web.handler.sockjs.PermittedOptions.setAddress:(Ljava/lang/String;)Lio/vertx/ext/bridge/PermittedOptions;
8: .line 24
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.addInboundPermitted:(Lio/vertx/ext/bridge/PermittedOptions;)Lio/vertx/ext/web/handler/sockjs/BridgeOptions;
9: .line 26
new io.vertx.ext.web.handler.sockjs.PermittedOptions
dup
invokespecial io.vertx.ext.web.handler.sockjs.PermittedOptions.<init>:()V
10: .line 27
ldc "database-service-address"
invokevirtual io.vertx.ext.web.handler.sockjs.PermittedOptions.setAddress:(Ljava/lang/String;)Lio/vertx/ext/bridge/PermittedOptions;
11: .line 26
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.addOutboundPermitted:(Lio/vertx/ext/bridge/PermittedOptions;)Lio/vertx/ext/web/handler/sockjs/BridgeOptions;
12: .line 23
astore 4 /* opts */
start local 4 // io.vertx.ext.web.handler.sockjs.BridgeOptions opts
13: .line 30
aload 1 /* vertx */
invokestatic io.vertx.ext.web.handler.sockjs.SockJSHandler.create:(Lio/vertx/core/Vertx;)Lio/vertx/ext/web/handler/sockjs/SockJSHandler;
aload 4 /* opts */
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSHandler.bridge:(Lio/vertx/ext/web/handler/sockjs/BridgeOptions;)Lio/vertx/ext/web/handler/sockjs/SockJSHandler;
astore 5 /* ebHandler */
start local 5 // io.vertx.ext.web.handler.sockjs.SockJSHandler ebHandler
14: .line 31
aload 3 /* router */
ldc "/eventbus/*"
invokeinterface io.vertx.ext.web.Router.route:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 5 /* ebHandler */
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
15: .line 33
aload 1 /* vertx */
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
aload 3 /* router */
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic handle(Lio/vertx/ext/web/Router;)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/Router.accept(Lio/vertx/core/http/HttpServerRequest;)V (9 itf)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
sipush 8080
invokeinterface io.vertx.core.http.HttpServer.listen:(I)Lio/vertx/core/http/HttpServer;
pop
16: .line 34
return
end local 5 // io.vertx.ext.web.handler.sockjs.SockJSHandler ebHandler
end local 4 // io.vertx.ext.web.handler.sockjs.BridgeOptions opts
end local 3 // io.vertx.ext.web.Router router
end local 2 // examples.SomeDatabaseService service
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.Examples this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lexamples/Examples;
0 17 1 vertx Lio/vertx/core/Vertx;
1 17 2 service Lexamples/SomeDatabaseService;
5 17 3 router Lio/vertx/ext/web/Router;
13 17 4 opts Lio/vertx/ext/web/handler/sockjs/BridgeOptions;
14 17 5 ebHandler Lio/vertx/ext/web/handler/sockjs/SockJSHandler;
MethodParameters:
Name Flags
vertx
}
SourceFile: "Examples.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles