class io.vertx.ext.web.handler.sockjs.impl.RawWebSocketTransport
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.ext.web.handler.sockjs.impl.RawWebSocketTransport
super_class: java.lang.Object
{
void <init>(io.vertx.core.Vertx, io.vertx.ext.web.Router, io.vertx.core.Handler<io.vertx.ext.web.handler.sockjs.SockJSSocket>);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/Router;Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=3, locals=5, 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: ldc "/websocket"
astore 4
start local 4 2: aload 2
aload 4
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 1
aload 3
invokedynamic handle(Lio/vertx/core/Vertx;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/handler/sockjs/impl/RawWebSocketTransport.lambda$0(Lio/vertx/core/Vertx;Lio/vertx/core/Handler;Lio/vertx/ext/web/RoutingContext;)V (6)
(Lio/vertx/ext/web/RoutingContext;)V
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
3: aload 2
aload 4
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
invokedynamic handle()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/handler/sockjs/impl/RawWebSocketTransport.lambda$1(Lio/vertx/ext/web/RoutingContext;)V (6)
(Lio/vertx/ext/web/RoutingContext;)V
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
4: aload 2
aload 4
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
invokedynamic handle()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/handler/sockjs/impl/RawWebSocketTransport.lambda$2(Lio/vertx/ext/web/RoutingContext;)V (6)
(Lio/vertx/ext/web/RoutingContext;)V
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/web/handler/sockjs/impl/RawWebSocketTransport;
0 6 1 vertx Lio/vertx/core/Vertx;
0 6 2 router Lio/vertx/ext/web/Router;
0 6 3 sockHandler Lio/vertx/core/Handler<Lio/vertx/ext/web/handler/sockjs/SockJSSocket;>;
2 6 4 wsRE Ljava/lang/String;
Signature: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/Router;Lio/vertx/core/Handler<Lio/vertx/ext/web/handler/sockjs/SockJSSocket;>;)V
MethodParameters:
Name Flags
vertx
router
sockHandler
private static void lambda$0(io.vertx.core.Vertx, io.vertx.core.Handler, io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/Handler;Lio/vertx/ext/web/RoutingContext;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=5, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.ext.web.RoutingContext.request:()Lio/vertx/core/http/HttpServerRequest;
invokeinterface io.vertx.core.http.HttpServerRequest.upgrade:()Lio/vertx/core/http/ServerWebSocket;
astore 3
start local 3 1: new io.vertx.ext.web.handler.sockjs.impl.RawWebSocketTransport$RawWSSockJSSocket
dup
aload 0
aload 2
invokeinterface io.vertx.ext.web.RoutingContext.session:()Lio/vertx/ext/web/Session;
aload 2
invokeinterface io.vertx.ext.web.RoutingContext.user:()Lio/vertx/ext/auth/User;
aload 3
invokespecial io.vertx.ext.web.handler.sockjs.impl.RawWebSocketTransport$RawWSSockJSSocket.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/web/Session;Lio/vertx/ext/auth/User;Lio/vertx/core/http/ServerWebSocket;)V
astore 4
start local 4 2: aload 1
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 end local 3 3: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 rc Lio/vertx/ext/web/RoutingContext;
1 3 3 ws Lio/vertx/core/http/ServerWebSocket;
2 3 4 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
private static void lambda$1(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.ext.web.RoutingContext.response:()Lio/vertx/core/http/HttpServerResponse;
sipush 400
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
ldc "Can \"Upgrade\" only to \"WebSocket\"."
invokeinterface io.vertx.core.http.HttpServerResponse.end:(Ljava/lang/String;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 rc Lio/vertx/ext/web/RoutingContext;
private static void lambda$2(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.ext.web.RoutingContext.response:()Lio/vertx/core/http/HttpServerResponse;
ldc "Allow"
ldc "GET"
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
sipush 405
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 rc Lio/vertx/ext/web/RoutingContext;
}
SourceFile: "RawWebSocketTransport.java"
NestMembers:
io.vertx.ext.web.handler.sockjs.impl.RawWebSocketTransport$RawWSSockJSSocket
InnerClasses:
private RawWSSockJSSocket = io.vertx.ext.web.handler.sockjs.impl.RawWebSocketTransport$RawWSSockJSSocket of io.vertx.ext.web.handler.sockjs.impl.RawWebSocketTransport
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles