public class io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl implements io.vertx.core.Handler<io.vertx.ext.web.handler.sockjs.SockJSSocket>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl
super_class: java.lang.Object
{
private static final io.vertx.core.logging.Logger log;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Map<io.vertx.ext.web.handler.sockjs.SockJSSocket, io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo> sockInfos;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;>;
private final java.util.List<io.vertx.ext.bridge.PermittedOptions> inboundPermitted;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/ext/bridge/PermittedOptions;>;
private final java.util.List<io.vertx.ext.bridge.PermittedOptions> outboundPermitted;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/ext/bridge/PermittedOptions;>;
private final int maxAddressLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxHandlersPerSocket;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long pingTimeout;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long replyTimeout;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.eventbus.EventBus eb;
descriptor: Lio/vertx/core/eventbus/EventBus;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, io.vertx.core.eventbus.Message> messagesAwaitingReply;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/Message;>;
private final java.util.Map<java.lang.String, java.util.regex.Pattern> compiledREs;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/regex/Pattern;>;
private final io.vertx.core.Handler<io.vertx.ext.web.handler.sockjs.BridgeEvent> bridgeEventHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/Handler<Lio/vertx/ext/web/handler/sockjs/BridgeEvent;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.Vertx, io.vertx.ext.web.handler.sockjs.BridgeOptions, io.vertx.core.Handler<io.vertx.ext.web.handler.sockjs.BridgeEvent>);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/handler/sockjs/BridgeOptions;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.sockInfos:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.messagesAwaitingReply:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.compiledREs:Ljava/util/Map;
4: aload 0
aload 1
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.vertx:Lio/vertx/core/Vertx;
5: aload 0
aload 1
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.eb:Lio/vertx/core/eventbus/EventBus;
6: aload 0
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.getInboundPermitteds:()Ljava/util/List;
ifnonnull 7
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
goto 8
StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl io.vertx.core.Vertx io.vertx.ext.web.handler.sockjs.BridgeOptions io.vertx.core.Handler
StackMap stack: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl
7: aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.getInboundPermitteds:()Ljava/util/List;
StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl io.vertx.core.Vertx io.vertx.ext.web.handler.sockjs.BridgeOptions io.vertx.core.Handler
StackMap stack: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl java.util.List
8: putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.inboundPermitted:Ljava/util/List;
9: aload 0
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.getOutboundPermitteds:()Ljava/util/List;
ifnonnull 10
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
goto 11
StackMap locals:
StackMap stack: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl
10: aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.getOutboundPermitteds:()Ljava/util/List;
StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl io.vertx.core.Vertx io.vertx.ext.web.handler.sockjs.BridgeOptions io.vertx.core.Handler
StackMap stack: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl java.util.List
11: putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.outboundPermitted:Ljava/util/List;
12: aload 0
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.getMaxAddressLength:()I
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.maxAddressLength:I
13: aload 0
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.getMaxHandlersPerSocket:()I
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.maxHandlersPerSocket:I
14: aload 0
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.getPingTimeout:()J
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.pingTimeout:J
15: aload 0
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.BridgeOptions.getReplyTimeout:()J
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyTimeout:J
16: aload 0
aload 3
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.bridgeEventHandler:Lio/vertx/core/Handler;
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 18 1 vertx Lio/vertx/core/Vertx;
0 18 2 options Lio/vertx/ext/web/handler/sockjs/BridgeOptions;
0 18 3 bridgeEventHandler Lio/vertx/core/Handler<Lio/vertx/ext/web/handler/sockjs/BridgeEvent;>;
Signature: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/handler/sockjs/BridgeOptions;Lio/vertx/core/Handler<Lio/vertx/ext/web/handler/sockjs/BridgeEvent;>;)V
MethodParameters:
Name Flags
vertx
options
bridgeEventHandler
private void handleSocketClosed(io.vertx.ext.web.handler.sockjs.SockJSSocket, java.util.Map<java.lang.String, io.vertx.core.eventbus.MessageConsumer>);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
aload 1
invokedynamic accept(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$0(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;)V (7)
(Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
1: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.sockInfos:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
astore 3
start local 3 2: aload 3
ifnull 6
3: aload 3
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.pingInfo:Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$PingInfo;
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.vertx:Lio/vertx/core/Vertx;
aload 4
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo.timerID:J
invokeinterface io.vertx.core.Vertx.cancelTimer:(J)Z
pop
end local 4 6: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
StackMap stack:
aload 0
aload 1
invokedynamic get(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$2(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
7: aconst_null
aconst_null
8: invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 10 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 10 2 registrations Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;
2 10 3 info Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;
4 6 4 pingInfo Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$PingInfo;
Signature: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;)V
MethodParameters:
Name Flags
sock
registrations
private void handleSocketData(io.vertx.ext.web.handler.sockjs.SockJSSocket, io.vertx.core.buffer.Buffer, java.util.Map<java.lang.String, io.vertx.core.eventbus.MessageConsumer>);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/buffer/Buffer;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new io.vertx.core.json.JsonObject
dup
aload 2
invokeinterface io.vertx.core.buffer.Buffer.toString:()Ljava/lang/String;
invokespecial io.vertx.core.json.JsonObject.<init>:(Ljava/lang/String;)V
astore 4
start local 4 1: goto 5
end local 4 StackMap locals:
StackMap stack: io.vertx.core.json.DecodeException
2: pop
3: aload 1
ldc "invalid_json"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
4: return
start local 4 5: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
aload 4
ldc "type"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 6: aload 5
ifnonnull 9
7: aload 1
ldc "missing_type"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
8: return
9: StackMap locals: java.lang.String
StackMap stack:
aload 5
ldc "ping"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
aload 1
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.internalHandlePing:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
11: goto 31
12: StackMap locals:
StackMap stack:
aload 4
ldc "address"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 13: aload 6
ifnonnull 16
14: aload 1
ldc "missing_address"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
15: return
16: StackMap locals: java.lang.String
StackMap stack:
aload 5
dup
astore 7
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 4
-690213213: 17
-235365105: 18
3526536: 19
836015164: 20
default: 29
}
StackMap locals: java.lang.String
StackMap stack:
17: aload 7
ldc "register"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
goto 29
StackMap locals:
StackMap stack:
18: aload 7
ldc "publish"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
goto 29
StackMap locals:
StackMap stack:
19: aload 7
ldc "send"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 29
StackMap locals:
StackMap stack:
20: aload 7
ldc "unregister"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
goto 29
21: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_1
aload 4
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.internalHandleSendOrPub:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;ZLio/vertx/core/json/JsonObject;)V
22: goto 31
23: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
aload 4
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.internalHandleSendOrPub:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;ZLio/vertx/core/json/JsonObject;)V
24: goto 31
25: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 3
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.internalHandleRegister:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;Ljava/util/Map;)V
26: goto 31
27: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 3
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.internalHandleUnregister:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;Ljava/util/Map;)V
28: goto 31
29: StackMap locals:
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Invalid type in incoming message: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
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.error:(Ljava/lang/Object;)V
30: aload 1
ldc "invalid_type"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
end local 6 31: 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 32 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 32 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 32 2 data Lio/vertx/core/buffer/Buffer;
0 32 3 registrations Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;
1 2 4 msg Lio/vertx/core/json/JsonObject;
5 32 4 msg Lio/vertx/core/json/JsonObject;
6 32 5 type Ljava/lang/String;
13 31 6 address Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class io.vertx.core.json.DecodeException
Signature: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/buffer/Buffer;Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;)V
MethodParameters:
Name Flags
sock
data
registrations
private void checkCallHook(java.util.function.Supplier<io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl>, java.lang.Runnable, java.lang.Runnable);
descriptor: (Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.bridgeEventHandler:Lio/vertx/core/Handler;
ifnonnull 4
1: aload 2
ifnull 7
2: aload 2
invokeinterface java.lang.Runnable.run:()V
3: goto 7
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
astore 4
start local 4 5: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.bridgeEventHandler:Lio/vertx/core/Handler;
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
6: aload 4
invokevirtual io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.future:()Lio/vertx/core/Future;
aload 2
aload 3
invokedynamic handle(Ljava/lang/Runnable;Ljava/lang/Runnable;)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/EventBusBridgeImpl.lambda$3(Ljava/lang/Runnable;Ljava/lang/Runnable;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
end local 4 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/handler/sockjs/impl/EventBusBridgeImpl;
0 8 1 eventSupplier Ljava/util/function/Supplier<Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;>;
0 8 2 okAction Ljava/lang/Runnable;
0 8 3 rejectAction Ljava/lang/Runnable;
5 7 4 event Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
Signature: (Ljava/util/function/Supplier<Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;>;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
MethodParameters:
Name Flags
eventSupplier
okAction
rejectAction
private void internalHandleSendOrPub(io.vertx.ext.web.handler.sockjs.SockJSSocket, boolean, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;ZLio/vertx/core/json/JsonObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 2
aload 3
aload 1
invokedynamic get(ZLio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$4(ZLio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
1: aload 0
aload 3
aload 1
iload 2
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Z)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$5(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Z)V (7)
()V
2: aload 1
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$6(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V (6)
()V
3: invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 5 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 5 2 send Z
0 5 3 msg Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
sock
send
msg
private boolean checkMaxHandlers(io.vertx.ext.web.handler.sockjs.SockJSSocket, io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.maxHandlersPerSocket:I
if_icmpge 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
ldc "Refusing to register as max_handlers_per_socket reached already"
invokevirtual io.vertx.core.logging.Logger.warn:(Ljava/lang/Object;)V
3: aload 1
ldc "max_handlers_reached"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 5 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 5 2 info Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;
MethodParameters:
Name Flags
sock
info
private void internalHandleRegister(io.vertx.ext.web.handler.sockjs.SockJSSocket, io.vertx.core.json.JsonObject, java.util.Map<java.lang.String, io.vertx.core.eventbus.MessageConsumer>);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.sockInfos:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
astore 4
start local 4 1: aload 0
aload 1
aload 4
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkMaxHandlers:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;)Z
ifne 3
2: return
3: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
StackMap stack:
aload 0
aload 2
aload 1
invokedynamic get(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$7(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
4: aload 0
aload 2
aload 1
aload 3
aload 4
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$8(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;)V (7)
()V
5: aload 1
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$9(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V (6)
()V
6: invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
7: return
end local 4 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/handler/sockjs/impl/EventBusBridgeImpl;
0 8 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 8 2 rawMsg Lio/vertx/core/json/JsonObject;
0 8 3 registrations Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;
1 8 4 info Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;
Signature: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;)V
MethodParameters:
Name Flags
sock
rawMsg
registrations
private void internalHandleUnregister(io.vertx.ext.web.handler.sockjs.SockJSSocket, io.vertx.core.json.JsonObject, java.util.Map<java.lang.String, io.vertx.core.eventbus.MessageConsumer>);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 1
invokedynamic get(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$12(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
1: aload 0
aload 2
aload 1
aload 3
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$13(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;)V (7)
()V
2: aload 1
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$14(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V (6)
()V
3: invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 5 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 5 2 rawMsg Lio/vertx/core/json/JsonObject;
0 5 3 registrations Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;
Signature: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;)V
MethodParameters:
Name Flags
sock
rawMsg
registrations
private void internalHandlePing(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSSocket.webSession:()Lio/vertx/ext/web/Session;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokeinterface io.vertx.ext.web.Session.setAccessed:()V
3: StackMap locals: io.vertx.ext.web.Session
StackMap stack:
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.sockInfos:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
astore 3
start local 3 4: aload 3
ifnull 7
5: aload 3
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.pingInfo:Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$PingInfo;
invokestatic java.lang.System.currentTimeMillis:()J
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo.lastPing:J
6: aload 0
aload 1
invokedynamic get(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$15(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
aconst_null
aconst_null
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
7: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
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/handler/sockjs/impl/EventBusBridgeImpl;
0 8 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
1 8 2 webSession Lio/vertx/ext/web/Session;
4 8 3 info Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;
MethodParameters:
Name Flags
sock final
public void handle(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic get(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$16(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
1: aload 0
aload 1
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$17(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V (7)
()V
2: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/SockJSSocket.close()V (9 itf)
()V
3: invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 5 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
MethodParameters:
Name Flags
sock final
private void checkAddAccceptedReplyAddress(io.vertx.core.eventbus.Message);
descriptor: (Lio/vertx/core/eventbus/Message;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.eventbus.Message.replyAddress:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.messagesAwaitingReply:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyTimeout:J
aload 0
aload 2
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Ljava/lang/String;)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/EventBusBridgeImpl.lambda$25(Ljava/lang/String;Ljava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setTimer:(JLio/vertx/core/Handler;)J
pop2
4: StackMap locals: java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 5 1 message Lio/vertx/core/eventbus/Message;
1 5 2 replyAddress Ljava/lang/String;
MethodParameters:
Name Flags
message
private void deliverMessage(io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.String, io.vertx.core.eventbus.Message);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/Message;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "type"
ldc "rec"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "address"
aload 2
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "body"
aload 3
invokeinterface io.vertx.core.eventbus.Message.body:()Ljava/lang/Object;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
astore 4
start local 4 1: aload 3
invokeinterface io.vertx.core.eventbus.Message.replyAddress:()Ljava/lang/String;
ifnull 3
2: aload 4
ldc "replyAddress"
aload 3
invokeinterface io.vertx.core.eventbus.Message.replyAddress:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
pop
3: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
aload 3
invokeinterface io.vertx.core.eventbus.Message.headers:()Lio/vertx/core/MultiMap;
ifnull 14
aload 3
invokeinterface io.vertx.core.eventbus.Message.headers:()Lio/vertx/core/MultiMap;
invokeinterface io.vertx.core.MultiMap.isEmpty:()Z
ifne 14
4: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 5
start local 5 5: aload 3
invokeinterface io.vertx.core.eventbus.Message.headers:()Lio/vertx/core/MultiMap;
invokeinterface io.vertx.core.MultiMap.names:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl io.vertx.ext.web.handler.sockjs.SockJSSocket java.lang.String io.vertx.core.eventbus.Message io.vertx.core.json.JsonObject io.vertx.core.json.JsonObject top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 3
invokeinterface io.vertx.core.eventbus.Message.headers:()Lio/vertx/core/MultiMap;
aload 6
invokeinterface io.vertx.core.MultiMap.getAll:(Ljava/lang/String;)Ljava/util/List;
astore 8
start local 8 8: aload 8
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 11
9: aload 5
aload 6
aload 8
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
pop
10: goto 12
11: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl io.vertx.ext.web.handler.sockjs.SockJSSocket java.lang.String io.vertx.core.eventbus.Message io.vertx.core.json.JsonObject io.vertx.core.json.JsonObject java.lang.String java.util.Iterator java.util.List
StackMap stack:
aload 5
aload 6
aload 8
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
end local 8 end local 6 12: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl io.vertx.ext.web.handler.sockjs.SockJSSocket java.lang.String io.vertx.core.eventbus.Message io.vertx.core.json.JsonObject io.vertx.core.json.JsonObject top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
13: aload 4
ldc "headers"
aload 5
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
pop
end local 5 14: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl io.vertx.ext.web.handler.sockjs.SockJSSocket java.lang.String io.vertx.core.eventbus.Message io.vertx.core.json.JsonObject
StackMap stack:
aload 0
aload 4
aload 1
invokedynamic get(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$26(Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
15: aload 1
aload 4
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$27(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;)V (6)
()V
16: invokedynamic run()Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$28()V (6)
()V
17: invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
18: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 19 1 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 19 2 address Ljava/lang/String;
0 19 3 message Lio/vertx/core/eventbus/Message;
1 19 4 envelope Lio/vertx/core/json/JsonObject;
5 14 5 headersCopy Lio/vertx/core/json/JsonObject;
7 12 6 name Ljava/lang/String;
8 12 8 values Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
sock
address
message
private void doSendOrPub(boolean, io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.String, io.vertx.core.json.JsonObject);
descriptor: (ZLio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/json/JsonObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
ldc "body"
invokevirtual io.vertx.core.json.JsonObject.getValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 1: aload 4
ldc "headers"
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
astore 6
start local 6 2: aload 4
ldc "replyAddress"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 3: aload 7
ifnull 7
aload 7
invokevirtual java.lang.String.length:()I
bipush 36
if_icmple 7
4: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
ldc "Will not send message, reply address is > 36 chars"
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;)V
5: aload 2
ldc "invalid_reply_address"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
6: return
7: StackMap locals: java.lang.Object io.vertx.core.json.JsonObject java.lang.String
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isDebugEnabled:()Z
istore 8
start local 8 8: iload 8
ifeq 10
9: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Received msg from client in bridge. address:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " message:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
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.debug:(Ljava/lang/Object;)V
10: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.messagesAwaitingReply:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.eventbus.Message
astore 9
start local 9 11: aload 9
ifnull 14
12: new io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match
dup
iconst_1
invokespecial io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.<init>:(Z)V
astore 10
start local 10 13: goto 15
end local 10 14: StackMap locals: io.vertx.core.eventbus.Message
StackMap stack:
aload 0
iconst_1
aload 3
aload 5
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkMatches:(ZLjava/lang/String;Ljava/lang/Object;)Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
astore 10
start local 10 15: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match
StackMap stack:
aload 10
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.doesMatch:Z
ifeq 29
16: aload 10
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.requiredAuthority:Ljava/lang/String;
ifnull 27
17: aload 2
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSSocket.webUser:()Lio/vertx/ext/auth/User;
astore 11
start local 11 18: aload 11
ifnull 21
19: aload 0
aload 10
aload 11
aload 0
iload 1
aload 3
aload 5
aload 6
aload 2
aload 7
iload 8
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;ZLjava/lang/String;Ljava/lang/Object;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Z)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/EventBusBridgeImpl.lambda$29(ZLjava/lang/String;Ljava/lang/Object;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;ZLio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.authorise:(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;Lio/vertx/ext/auth/User;Lio/vertx/core/Handler;)V
20: goto 32
21: StackMap locals: io.vertx.ext.auth.User
StackMap stack:
aload 2
ldc "not_logged_in"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
22: iload 8
ifeq 32
23: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Inbound message for address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: ldc " rejected because it requires auth and user is not authenticated"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokevirtual io.vertx.core.logging.Logger.debug:(Ljava/lang/Object;)V
end local 11 26: goto 32
27: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
aload 5
aload 6
aload 2
aload 7
aload 9
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkAndSend:(ZLjava/lang/String;Ljava/lang/Object;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/Message;)V
28: goto 32
29: StackMap locals:
StackMap stack:
aload 2
ldc "access_denied"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
30: iload 8
ifeq 32
31: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Inbound message for address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " rejected because there is no match"
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.debug:(Ljava/lang/Object;)V
32: StackMap locals:
StackMap stack:
return
end local 10 end local 9 end local 8 end local 7 end local 6 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 33 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 33 1 send Z
0 33 2 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 33 3 address Ljava/lang/String;
0 33 4 message Lio/vertx/core/json/JsonObject;
1 33 5 body Ljava/lang/Object;
2 33 6 headers Lio/vertx/core/json/JsonObject;
3 33 7 replyAddress Ljava/lang/String;
8 33 8 debug Z
11 33 9 awaitingReply Lio/vertx/core/eventbus/Message;
13 14 10 curMatch Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
15 33 10 curMatch Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
18 26 11 webUser Lio/vertx/ext/auth/User;
MethodParameters:
Name Flags
send
sock
address
message
private void checkAndSend(boolean, java.lang.String, java.lang.Object, io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.String, io.vertx.core.eventbus.Message);
descriptor: (ZLjava/lang/String;Ljava/lang/Object;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/Message;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.sockInfos:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
astore 8
start local 8 1: aload 6
ifnull 3
aload 0
aload 5
aload 8
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkMaxHandlers:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;)Z
ifne 3
2: return
3: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
StackMap stack:
aload 6
ifnull 6
4: aload 0
aload 5
aload 6
aload 8
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;)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/EventBusBridgeImpl.lambda$30(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
astore 9
start local 9 5: goto 7
end local 9 6: StackMap locals:
StackMap stack:
aconst_null
astore 9
start local 9 7: StackMap locals: io.vertx.core.Handler
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isDebugEnabled:()Z
ifeq 9
8: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Forwarding message to address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " on event bus"
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.debug:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
aload 4
ifnull 13
10: new io.vertx.core.http.CaseInsensitiveHeaders
dup
invokespecial io.vertx.core.http.CaseInsensitiveHeaders.<init>:()V
astore 10
start local 10 11: aload 4
aload 10
invokedynamic accept(Lio/vertx/core/MultiMap;)Ljava/util/function/Consumer;
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/EventBusBridgeImpl.lambda$31(Lio/vertx/core/MultiMap;Ljava/util/Map$Entry;)V (6)
(Ljava/util/Map$Entry;)V
invokevirtual io.vertx.core.json.JsonObject.forEach:(Ljava/util/function/Consumer;)V
12: goto 14
end local 10 13: StackMap locals:
StackMap stack:
aconst_null
astore 10
start local 10 14: StackMap locals: io.vertx.core.MultiMap
StackMap stack:
iload 1
ifeq 22
15: aload 7
ifnull 18
16: aload 7
aload 3
new io.vertx.core.eventbus.DeliveryOptions
dup
invokespecial io.vertx.core.eventbus.DeliveryOptions.<init>:()V
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyTimeout:J
invokevirtual io.vertx.core.eventbus.DeliveryOptions.setSendTimeout:(J)Lio/vertx/core/eventbus/DeliveryOptions;
aload 10
invokevirtual io.vertx.core.eventbus.DeliveryOptions.setHeaders:(Lio/vertx/core/MultiMap;)Lio/vertx/core/eventbus/DeliveryOptions;
aload 9
invokeinterface io.vertx.core.eventbus.Message.reply:(Ljava/lang/Object;Lio/vertx/core/eventbus/DeliveryOptions;Lio/vertx/core/Handler;)V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.eb:Lio/vertx/core/eventbus/EventBus;
aload 2
aload 3
new io.vertx.core.eventbus.DeliveryOptions
dup
invokespecial io.vertx.core.eventbus.DeliveryOptions.<init>:()V
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyTimeout:J
invokevirtual io.vertx.core.eventbus.DeliveryOptions.setSendTimeout:(J)Lio/vertx/core/eventbus/DeliveryOptions;
aload 10
invokevirtual io.vertx.core.eventbus.DeliveryOptions.setHeaders:(Lio/vertx/core/MultiMap;)Lio/vertx/core/eventbus/DeliveryOptions;
aload 9
invokeinterface io.vertx.core.eventbus.EventBus.send:(Ljava/lang/String;Ljava/lang/Object;Lio/vertx/core/eventbus/DeliveryOptions;Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/EventBus;
pop
19: StackMap locals:
StackMap stack:
aload 6
ifnull 23
20: aload 8
dup
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
iconst_1
iadd
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
21: goto 23
22: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.eb:Lio/vertx/core/eventbus/EventBus;
aload 2
aload 3
new io.vertx.core.eventbus.DeliveryOptions
dup
invokespecial io.vertx.core.eventbus.DeliveryOptions.<init>:()V
aload 10
invokevirtual io.vertx.core.eventbus.DeliveryOptions.setHeaders:(Lio/vertx/core/MultiMap;)Lio/vertx/core/eventbus/DeliveryOptions;
invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;Lio/vertx/core/eventbus/DeliveryOptions;)Lio/vertx/core/eventbus/EventBus;
pop
23: StackMap locals:
StackMap stack:
return
end local 10 end local 9 end local 8 end local 7 end local 6 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 24 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 24 1 send Z
0 24 2 address Ljava/lang/String;
0 24 3 body Ljava/lang/Object;
0 24 4 headers Lio/vertx/core/json/JsonObject;
0 24 5 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 24 6 replyAddress Ljava/lang/String;
0 24 7 awaitingReply Lio/vertx/core/eventbus/Message;
1 24 8 info Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;
5 6 9 replyHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;>;>;
7 24 9 replyHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;>;>;
11 13 10 mHeaders Lio/vertx/core/MultiMap;
14 24 10 mHeaders Lio/vertx/core/MultiMap;
MethodParameters:
Name Flags
send
address
body
headers
sock
replyAddress
awaitingReply
private void authorise(io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match, io.vertx.ext.auth.User, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>>);
descriptor: (Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;Lio/vertx/ext/auth/User;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.requiredAuthority:Ljava/lang/String;
ifnull 2
1: aload 2
aload 1
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.requiredAuthority:Ljava/lang/String;
aload 3
invokedynamic handle(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/EventBusBridgeImpl.lambda$32(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.ext.auth.User.isAuthorized:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/auth/User;
pop
2: StackMap locals:
StackMap stack:
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/sockjs/impl/EventBusBridgeImpl;
0 3 1 curMatch Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
0 3 2 webUser Lio/vertx/ext/auth/User;
0 3 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;>;
Signature: (Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;Lio/vertx/ext/auth/User;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;>;)V
MethodParameters:
Name Flags
curMatch
webUser
handler
private io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match checkMatches(boolean, java.lang.String, java.lang.Object);
descriptor: (ZLjava/lang/String;Ljava/lang/Object;)Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ifeq 1
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.inboundPermitted:Ljava/util/List;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.outboundPermitted:Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
2: astore 4
start local 4 3: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 21
StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl int java.lang.String java.lang.Object java.util.List top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.ext.bridge.PermittedOptions
astore 5
start local 5 5: aload 5
invokevirtual io.vertx.ext.bridge.PermittedOptions.getAddress:()Ljava/lang/String;
astore 7
start local 7 6: aload 7
ifnonnull 9
7: aload 5
invokevirtual io.vertx.ext.bridge.PermittedOptions.getAddressRegex:()Ljava/lang/String;
astore 8
start local 8 8: goto 10
end local 8 9: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl int java.lang.String java.lang.Object java.util.List io.vertx.ext.bridge.PermittedOptions java.util.Iterator java.lang.String
StackMap stack:
aconst_null
astore 8
start local 8 10: StackMap locals: java.lang.String
StackMap stack:
aload 7
ifnonnull 15
11: aload 8
ifnull 12
aload 0
aload 8
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.regexMatches:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 12
iconst_0
goto 13
StackMap locals:
StackMap stack:
12: iconst_1
StackMap locals:
StackMap stack: int
13: istore 9
start local 9 14: goto 16
end local 9 15: StackMap locals:
StackMap stack:
aload 7
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 9
start local 9 16: StackMap locals: int
StackMap stack:
iload 9
ifeq 21
17: aload 5
invokevirtual io.vertx.ext.bridge.PermittedOptions.getMatch:()Lio/vertx/core/json/JsonObject;
aload 3
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.structureMatches:(Lio/vertx/core/json/JsonObject;Ljava/lang/Object;)Z
istore 10
start local 10 18: iload 10
ifeq 21
19: aload 5
invokevirtual io.vertx.ext.bridge.PermittedOptions.getRequiredAuthority:()Ljava/lang/String;
astore 11
start local 11 20: new io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match
dup
iconst_1
aload 11
invokespecial io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.<init>:(ZLjava/lang/String;)V
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 5 21: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl int java.lang.String java.lang.Object java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
22: new io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match
dup
iconst_0
invokespecial io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.<init>:(Z)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 23 1 inbound Z
0 23 2 address Ljava/lang/String;
0 23 3 body Ljava/lang/Object;
3 23 4 matches Ljava/util/List<Lio/vertx/ext/bridge/PermittedOptions;>;
5 21 5 matchHolder Lio/vertx/ext/bridge/PermittedOptions;
6 21 7 matchAddress Ljava/lang/String;
8 9 8 matchRegex Ljava/lang/String;
10 21 8 matchRegex Ljava/lang/String;
14 15 9 addressOK Z
16 21 9 addressOK Z
18 21 10 matched Z
20 21 11 requiredAuthority Ljava/lang/String;
MethodParameters:
Name Flags
inbound
address
body
private boolean regexMatches(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.compiledREs:Ljava/util/Map;
aload 1
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/util/regex/Pattern.compile(Ljava/lang/String;)Ljava/util/regex/Pattern; (6)
(Ljava/lang/String;)Ljava/util/regex/Pattern;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.regex.Pattern
astore 3
start local 3 1: aload 3
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 4
start local 4 2: aload 4
invokevirtual java.util.regex.Matcher.matches:()Z
ireturn
end local 4 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/sockjs/impl/EventBusBridgeImpl;
0 3 1 matchRegex Ljava/lang/String;
0 3 2 address Ljava/lang/String;
1 3 3 pattern Ljava/util/regex/Pattern;
2 3 4 m Ljava/util/regex/Matcher;
MethodParameters:
Name Flags
matchRegex
address
private static void replyError(io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.String);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "type"
ldc "err"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "body"
aload 1
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual io.vertx.core.json.JsonObject.encode:()Ljava/lang/String;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSSocket.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sock Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
0 3 1 err Ljava/lang/String;
1 3 2 envelope Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
sock
err
private static boolean structureMatches(io.vertx.core.json.JsonObject, java.lang.Object);
descriptor: (Lio/vertx/core/json/JsonObject;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.vertx.core.json.JsonObject
ifeq 15
3: aload 1
checkcast io.vertx.core.json.JsonObject
astore 2
start local 2 4: aload 0
invokevirtual io.vertx.core.json.JsonObject.fieldNames:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: io.vertx.core.json.JsonObject java.lang.Object io.vertx.core.json.JsonObject top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 6: aload 0
aload 3
invokevirtual io.vertx.core.json.JsonObject.getValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 7: aload 2
aload 3
invokevirtual io.vertx.core.json.JsonObject.getValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 6
start local 6 8: aload 5
instanceof io.vertx.core.json.JsonObject
ifeq 11
9: aload 5
checkcast io.vertx.core.json.JsonObject
aload 6
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.structureMatches:(Lio/vertx/core/json/JsonObject;Ljava/lang/Object;)Z
ifne 13
10: iconst_0
ireturn
11: StackMap locals: io.vertx.core.json.JsonObject java.lang.Object io.vertx.core.json.JsonObject java.lang.String java.util.Iterator java.lang.Object java.lang.Object
StackMap stack:
aload 0
aload 3
invokevirtual io.vertx.core.json.JsonObject.getValue:(Ljava/lang/String;)Ljava/lang/Object;
aload 2
aload 3
invokevirtual io.vertx.core.json.JsonObject.getValue:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 13
12: iconst_0
ireturn
end local 6 end local 5 end local 3 13: StackMap locals: io.vertx.core.json.JsonObject java.lang.Object io.vertx.core.json.JsonObject top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
14: iconst_1
ireturn
end local 2 15: StackMap locals: io.vertx.core.json.JsonObject java.lang.Object
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 match Lio/vertx/core/json/JsonObject;
0 16 1 bodyObject Ljava/lang/Object;
4 15 2 body Lio/vertx/core/json/JsonObject;
6 13 3 fieldName Ljava/lang/String;
7 13 5 mv Ljava/lang/Object;
8 13 6 bv Ljava/lang/Object;
MethodParameters:
Name Flags
match
bodyObject
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.ext.web.handler.sockjs.SockJSSocket
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.handle:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.String, io.vertx.core.eventbus.MessageConsumer);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 3
invokeinterface io.vertx.core.eventbus.MessageConsumer.unregister:()V
1: aload 0
aload 3
aload 1
invokedynamic get(Lio/vertx/core/eventbus/MessageConsumer;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$1(Lio/vertx/core/eventbus/MessageConsumer;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
2: aconst_null
aconst_null
3: invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
4: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 5 2 key Ljava/lang/String;
0 5 3 value Lio/vertx/core/eventbus/MessageConsumer;
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$2(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=1, args_size=1
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
getstatic io.vertx.ext.bridge.BridgeEventType.SOCKET_CLOSED:Lio/vertx/ext/bridge/BridgeEventType;
aconst_null
aload 0
invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$3(java.lang.Runnable, java.lang.Runnable, io.vertx.core.AsyncResult);
descriptor: (Ljava/lang/Runnable;Ljava/lang/Runnable;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 10
1: aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 5
2: aload 0
ifnull 11
3: aload 0
invokeinterface java.lang.Runnable.run:()V
4: goto 11
5: StackMap locals:
StackMap stack:
aload 1
ifnull 8
6: aload 1
invokeinterface java.lang.Runnable.run:()V
7: goto 11
8: StackMap locals:
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
ldc "Bridge handler prevented send or pub"
invokevirtual io.vertx.core.logging.Logger.debug:(Ljava/lang/Object;)V
9: goto 11
10: StackMap locals:
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
ldc "Failure in bridge event handler"
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
11: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 12 2 res Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$4(boolean, io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (ZLio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
iload 0
ifeq 1
getstatic io.vertx.ext.bridge.BridgeEventType.SEND:Lio/vertx/ext/bridge/BridgeEventType;
goto 2
StackMap locals: int io.vertx.core.json.JsonObject io.vertx.ext.web.handler.sockjs.SockJSSocket
StackMap stack: new 0 new 0
1: getstatic io.vertx.ext.bridge.BridgeEventType.PUBLISH:Lio/vertx/ext/bridge/BridgeEventType;
StackMap locals: int io.vertx.core.json.JsonObject io.vertx.ext.web.handler.sockjs.SockJSSocket
StackMap stack: new 0 new 0 io.vertx.ext.bridge.BridgeEventType
2: aload 1
aload 2
invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$5(io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket, boolean);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Z)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=4
start local 0 0: aload 1
ldc "address"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 4
2: aload 2
ldc "missing_address"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
iload 3
aload 2
aload 4
aload 1
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.doSendOrPub:(ZLio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/json/JsonObject;)V
end local 4 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
1 5 4 address Ljava/lang/String;
private static void lambda$6(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
ldc "rejected"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$7(io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
getstatic io.vertx.ext.bridge.BridgeEventType.REGISTER:Lio/vertx/ext/bridge/BridgeEventType;
aload 0
aload 1
invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$8(io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket, java.util.Map, io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=10, args_size=5
start local 0 0: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isDebugEnabled:()Z
istore 5
start local 5 1: aload 1
ldc "address"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 2: aload 6
ifnonnull 5
3: aload 2
ldc "missing_address"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
4: return
5: StackMap locals: int java.lang.String
StackMap stack:
aload 6
invokevirtual java.lang.String.length:()I
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.maxAddressLength:I
if_icmple 9
6: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
ldc "Refusing to register as address length > max_address_length"
invokevirtual io.vertx.core.logging.Logger.warn:(Ljava/lang/Object;)V
7: aload 2
ldc "max_address_length_reached"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
8: return
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 6
aconst_null
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkMatches:(ZLjava/lang/String;Ljava/lang/Object;)Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
astore 7
start local 7 10: aload 7
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.doesMatch:Z
ifeq 16
11: aload 0
aload 6
aload 2
iload 5
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Ljava/lang/String;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Z)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/EventBusBridgeImpl.lambda$10(Ljava/lang/String;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;ZLio/vertx/core/eventbus/Message;)V (7)
(Lio/vertx/core/eventbus/Message;)V
astore 8
start local 8 12: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.eb:Lio/vertx/core/eventbus/EventBus;
aload 6
invokeinterface io.vertx.core.eventbus.EventBus.consumer:(Ljava/lang/String;)Lio/vertx/core/eventbus/MessageConsumer;
aload 8
invokeinterface io.vertx.core.eventbus.MessageConsumer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/MessageConsumer;
astore 9
start local 9 13: aload 3
aload 6
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 4
dup
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
iconst_1
iadd
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
end local 9 end local 8 15: goto 19
16: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match
StackMap stack:
iload 5
ifeq 18
17: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Cannot register handler for address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " because there is no inbound match"
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.debug:(Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
aload 2
ldc "access_denied"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
end local 7 end local 6 end local 5 19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
1 19 5 debug Z
2 19 6 address Ljava/lang/String;
10 19 7 match Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
12 15 8 handler Lio/vertx/core/Handler<Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;>;
13 15 9 reg Lio/vertx/core/eventbus/MessageConsumer;
private static void lambda$9(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
ldc "rejected"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$12(io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
getstatic io.vertx.ext.bridge.BridgeEventType.UNREGISTER:Lio/vertx/ext/bridge/BridgeEventType;
aload 0
aload 1
invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$13(io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket, java.util.Map);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=8, args_size=4
start local 0 0: aload 1
ldc "address"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 4
2: aload 2
ldc "missing_address"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
iconst_0
aload 4
aconst_null
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkMatches:(ZLjava/lang/String;Ljava/lang/Object;)Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
astore 5
start local 5 5: aload 5
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.doesMatch:Z
ifeq 12
6: aload 3
aload 4
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.eventbus.MessageConsumer
astore 6
start local 6 7: aload 6
ifnull 15
8: aload 6
invokeinterface io.vertx.core.eventbus.MessageConsumer.unregister:()V
9: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.sockInfos:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
astore 7
start local 7 10: aload 7
dup
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
iconst_1
isub
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
end local 7 end local 6 11: goto 15
12: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isDebugEnabled:()Z
ifeq 14
13: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Cannot unregister handler for address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " because there is no inbound match"
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.debug:(Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
aload 2
ldc "access_denied"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
end local 5 end local 4 15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
1 15 4 address Ljava/lang/String;
5 15 5 match Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
7 11 6 reg Lio/vertx/core/eventbus/MessageConsumer;
10 11 7 info Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;
private static void lambda$14(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
ldc "rejected"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$15(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=1, args_size=1
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
getstatic io.vertx.ext.bridge.BridgeEventType.SOCKET_PING:Lio/vertx/ext/bridge/BridgeEventType;
aconst_null
aload 0
invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$16(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=1, args_size=1
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
getstatic io.vertx.ext.bridge.BridgeEventType.SOCKET_CREATED:Lio/vertx/ext/bridge/BridgeEventType;
aconst_null
aload 0
invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$17(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=5, args_size=2
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 1
aload 0
aload 1
aload 2
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;)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/EventBusBridgeImpl.lambda$19(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSSocket.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
pop
2: aload 1
aload 0
aload 1
aload 2
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;)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/EventBusBridgeImpl.lambda$20(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;Lio/vertx/core/buffer/Buffer;)V (7)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSSocket.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
pop
3: new io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo
dup
invokespecial io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo.<init>:()V
astore 3
start local 3 4: aload 3
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.pingTimeout:J
aload 0
aload 3
aload 1
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$PingInfo;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)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/EventBusBridgeImpl.lambda$21(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$PingInfo;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setPeriodic:(JLio/vertx/core/Handler;)J
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo.timerID:J
5: new io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
dup
invokespecial io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.<init>:()V
astore 4
start local 4 6: aload 4
aload 3
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.pingInfo:Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$PingInfo;
7: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.sockInfos:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 3 end local 2 8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
1 8 2 registrations Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/eventbus/MessageConsumer;>;
4 8 3 pingInfo Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$PingInfo;
6 8 4 sockInfo Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;
private void lambda$25(java.lang.String, java.lang.Long);
descriptor: (Ljava/lang/String;Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.messagesAwaitingReply:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 1 2 tid Ljava/lang/Long;
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$26(io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
getstatic io.vertx.ext.bridge.BridgeEventType.RECEIVE:Lio/vertx/ext/bridge/BridgeEventType;
aload 0
aload 1
invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$27(io.vertx.ext.web.handler.sockjs.SockJSSocket, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/json/JsonObject;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.json.JsonObject.encode:()Ljava/lang/String;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSSocket.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
return
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$28();
descriptor: ()V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
ldc "outbound message rejected by bridge event handler"
invokevirtual io.vertx.core.logging.Logger.debug:(Ljava/lang/Object;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$29(boolean, java.lang.String, java.lang.Object, io.vertx.core.json.JsonObject, io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.String, boolean, io.vertx.core.AsyncResult);
descriptor: (ZLjava/lang/String;Ljava/lang/Object;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;ZLio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=9, args_size=9
start local 0 start local 8 0: aload 8
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
1: aload 8
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 4
2: aload 0
iload 1
aload 2
aload 3
aload 4
aload 5
aload 6
aconst_null
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkAndSend:(ZLjava/lang/String;Ljava/lang/Object;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/Message;)V
3: goto 10
4: StackMap locals:
StackMap stack:
aload 5
ldc "access_denied"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
5: iload 7
ifeq 10
6: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Inbound message for address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " rejected because is not authorised"
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.debug:(Ljava/lang/Object;)V
7: goto 10
8: StackMap locals:
StackMap stack:
aload 5
ldc "auth_error"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
9: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
ldc "Error in performing authorisation"
aload 8
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: StackMap locals:
StackMap stack:
return
end local 8 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 11 8 res Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;
private void lambda$30(io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.String, io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$SockInfo;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 4 0: aload 4
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 4
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.eventbus.Message
astore 5
start local 5 2: aload 0
aload 5
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkAddAccceptedReplyAddress:(Lio/vertx/core/eventbus/Message;)V
3: aload 0
aload 1
aload 2
aload 5
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.deliverMessage:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/Message;)V
end local 5 4: goto 14
5: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
checkcast io.vertx.core.eventbus.ReplyException
astore 5
start local 5 6: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
7: ldc "type"
ldc "err"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
8: ldc "address"
aload 2
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
9: ldc "failureCode"
aload 5
invokevirtual io.vertx.core.eventbus.ReplyException.failureCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
10: ldc "failureType"
aload 5
invokevirtual io.vertx.core.eventbus.ReplyException.failureType:()Lio/vertx/core/eventbus/ReplyFailure;
invokevirtual io.vertx.core.eventbus.ReplyFailure.name:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
11: ldc "message"
aload 5
invokevirtual io.vertx.core.eventbus.ReplyException.getMessage:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
12: astore 6
start local 6 13: aload 1
aload 6
invokevirtual io.vertx.core.json.JsonObject.encode:()Ljava/lang/String;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSSocket.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/ext/web/handler/sockjs/SockJSSocket;
pop
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 3
dup
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
iconst_1
isub
putfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo.handlerCount:I
15: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 16 4 result Lio/vertx/core/AsyncResult<Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;>;
2 4 5 message Lio/vertx/core/eventbus/Message;
6 14 5 cause Lio/vertx/core/eventbus/ReplyException;
13 14 6 envelope Lio/vertx/core/json/JsonObject;
private static void lambda$31(io.vertx.core.MultiMap, java.util.Map$Entry);
descriptor: (Lio/vertx/core/MultiMap;Ljava/util/Map$Entry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.MultiMap.add:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
private static void lambda$32(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 res Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$1(io.vertx.core.eventbus.MessageConsumer, io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/core/eventbus/MessageConsumer;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=2, args_size=2
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
getstatic io.vertx.ext.bridge.BridgeEventType.UNREGISTER:Lio/vertx/ext/bridge/BridgeEventType;
1: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "type"
ldc "unregister"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "address"
aload 0
invokeinterface io.vertx.core.eventbus.MessageConsumer.address:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
aload 1
2: invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
3: areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$10(java.lang.String, io.vertx.ext.web.handler.sockjs.SockJSSocket, boolean, io.vertx.core.eventbus.Message);
descriptor: (Ljava/lang/String;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;ZLio/vertx/core/eventbus/Message;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=6, args_size=5
start local 0 start local 4 0: aload 0
iconst_0
aload 1
aload 4
invokeinterface io.vertx.core.eventbus.Message.body:()Ljava/lang/Object;
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkMatches:(ZLjava/lang/String;Ljava/lang/Object;)Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
astore 5
start local 5 1: aload 5
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.doesMatch:Z
ifeq 8
2: aload 5
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match.requiredAuthority:Ljava/lang/String;
ifnull 5
3: aload 0
aload 5
aload 2
invokeinterface io.vertx.ext.web.handler.sockjs.SockJSSocket.webUser:()Lio/vertx/ext/auth/User;
aload 0
aload 4
aload 2
aload 1
iload 3
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;Lio/vertx/core/eventbus/Message;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Z)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/EventBusBridgeImpl.lambda$11(Lio/vertx/core/eventbus/Message;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;ZLio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.authorise:(Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;Lio/vertx/ext/auth/User;Lio/vertx/core/Handler;)V
4: goto 10
5: StackMap locals: io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match
StackMap stack:
aload 0
aload 4
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkAddAccceptedReplyAddress:(Lio/vertx/core/eventbus/Message;)V
6: aload 0
aload 2
aload 1
aload 4
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.deliverMessage:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/Message;)V
7: goto 10
8: StackMap locals:
StackMap stack:
iload 3
ifeq 10
9: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Outbound message for address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " rejected because there is no inbound match"
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.debug:(Ljava/lang/Object;)V
end local 5 10: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 11 4 msg Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;
1 10 5 curMatch Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$Match;
private void lambda$19(io.vertx.ext.web.handler.sockjs.SockJSSocket, java.util.Map, java.lang.Void);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.handleSocketClosed:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;)V
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 1 3 v Ljava/lang/Void;
private void lambda$20(io.vertx.ext.web.handler.sockjs.SockJSSocket, java.util.Map, io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/util/Map;Lio/vertx/core/buffer/Buffer;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
aload 3
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.handleSocketData:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Lio/vertx/core/buffer/Buffer;Ljava/util/Map;)V
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 1 3 data Lio/vertx/core/buffer/Buffer;
private void lambda$21(io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo, io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.Long);
descriptor: (Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl$PingInfo;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: invokestatic java.lang.System.currentTimeMillis:()J
aload 1
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo.lastPing:J
lsub
aload 0
getfield io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.pingTimeout:J
lcmp
iflt 5
1: aload 0
aload 2
invokedynamic get(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/util/function/Supplier;
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;
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$22(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl; (6)
()Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
2: aload 2
checkcast io.vertx.ext.web.handler.sockjs.impl.SockJSSocketBase
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/impl/SockJSSocketBase;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/SockJSSocketBase.closeAfterSessionExpired()V (5)
()V
3: aload 2
invokedynamic run(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Ljava/lang/Runnable;
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:
()V
io/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl.lambda$24(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V (6)
()V
4: invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkCallHook:(Ljava/util/function/Supplier;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 6 3 id Ljava/lang/Long;
private void lambda$11(io.vertx.core.eventbus.Message, io.vertx.ext.web.handler.sockjs.SockJSSocket, java.lang.String, boolean, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/eventbus/Message;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;ZLio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 5 0: aload 5
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
1: aload 5
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 5
2: aload 0
aload 1
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.checkAddAccceptedReplyAddress:(Lio/vertx/core/eventbus/Message;)V
3: aload 0
aload 2
aload 3
aload 1
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.deliverMessage:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;Lio/vertx/core/eventbus/Message;)V
4: goto 9
5: StackMap locals:
StackMap stack:
iload 4
ifeq 9
6: getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Outbound message for address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " rejected because auth is required and socket is not authed"
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.debug:(Ljava/lang/Object;)V
7: goto 9
8: StackMap locals:
StackMap stack:
getstatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.log:Lio/vertx/core/logging/Logger;
aload 5
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventBusBridgeImpl;
0 10 5 res Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;
private static io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl lambda$22(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)Lio/vertx/ext/web/handler/sockjs/impl/BridgeEventImpl;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=1, args_size=1
0: new io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl
dup
getstatic io.vertx.ext.bridge.BridgeEventType.SOCKET_IDLE:Lio/vertx/ext/bridge/BridgeEventType;
aconst_null
aload 0
invokespecial io.vertx.ext.web.handler.sockjs.impl.BridgeEventImpl.<init>:(Lio/vertx/ext/bridge/BridgeEventType;Lio/vertx/core/json/JsonObject;Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$24(io.vertx.ext.web.handler.sockjs.SockJSSocket);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSSocket;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
ldc "rejected"
invokestatic io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl.replyError:(Lio/vertx/ext/web/handler/sockjs/SockJSSocket;Ljava/lang/String;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/core/Handler<Lio/vertx/ext/web/handler/sockjs/SockJSSocket;>;
SourceFile: "EventBusBridgeImpl.java"
NestMembers:
io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo
InnerClasses:
private Match = io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$Match of io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl
private final PingInfo = io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$PingInfo of io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl
private final SockInfo = io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl$SockInfo of io.vertx.ext.web.handler.sockjs.impl.EventBusBridgeImpl
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map