class io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport extends io.vertx.ext.web.handler.sockjs.impl.BaseTransport
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport
super_class: io.vertx.ext.web.handler.sockjs.impl.BaseTransport
{
private static final io.vertx.core.logging.Logger log;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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/EventSourceTransport;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport.log:Lio/vertx/core/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(io.vertx.core.Vertx, io.vertx.ext.web.Router, io.vertx.core.shareddata.LocalMap<java.lang.String, io.vertx.ext.web.handler.sockjs.impl.SockJSSession>, io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions, io.vertx.core.Handler<io.vertx.ext.web.handler.sockjs.SockJSSocket>);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/Router;Lio/vertx/core/shareddata/LocalMap;Lio/vertx/ext/web/handler/sockjs/SockJSHandlerOptions;Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 3
aload 4
invokespecial io.vertx.ext.web.handler.sockjs.impl.BaseTransport.<init>:(Lio/vertx/core/Vertx;Lio/vertx/core/shareddata/LocalMap;Lio/vertx/ext/web/handler/sockjs/SockJSHandlerOptions;)V
1: ldc "\\/[^\\/\\.]+\\/([^\\/\\.]+)\\/eventsource"
astore 6
start local 6 2: aload 2
aload 6
invokeinterface io.vertx.ext.web.Router.getWithRegex:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 0
aload 4
aload 5
invokedynamic handle(Lio/vertx/ext/web/handler/sockjs/impl/EventSourceTransport;Lio/vertx/ext/web/handler/sockjs/SockJSHandlerOptions;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/EventSourceTransport.lambda$0(Lio/vertx/ext/web/handler/sockjs/SockJSHandlerOptions;Lio/vertx/core/Handler;Lio/vertx/ext/web/RoutingContext;)V (7)
(Lio/vertx/ext/web/RoutingContext;)V
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
3: return
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 4 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventSourceTransport;
0 4 1 vertx Lio/vertx/core/Vertx;
0 4 2 router Lio/vertx/ext/web/Router;
0 4 3 sessions Lio/vertx/core/shareddata/LocalMap<Ljava/lang/String;Lio/vertx/ext/web/handler/sockjs/impl/SockJSSession;>;
0 4 4 options Lio/vertx/ext/web/handler/sockjs/SockJSHandlerOptions;
0 4 5 sockHandler Lio/vertx/core/Handler<Lio/vertx/ext/web/handler/sockjs/SockJSSocket;>;
2 4 6 eventSourceRE Ljava/lang/String;
Signature: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/Router;Lio/vertx/core/shareddata/LocalMap<Ljava/lang/String;Lio/vertx/ext/web/handler/sockjs/impl/SockJSSession;>;Lio/vertx/ext/web/handler/sockjs/SockJSHandlerOptions;Lio/vertx/core/Handler<Lio/vertx/ext/web/handler/sockjs/SockJSSocket;>;)V
MethodParameters:
Name Flags
vertx
router
sessions
options
sockHandler
private void lambda$0(io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions, io.vertx.core.Handler, io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/handler/sockjs/SockJSHandlerOptions;Lio/vertx/core/Handler;Lio/vertx/ext/web/RoutingContext;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=7, args_size=4
start local 0 start local 3 0: getstatic io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport.log:Lio/vertx/core/logging/Logger;
invokevirtual io.vertx.core.logging.Logger.isTraceEnabled:()Z
ifeq 1
getstatic io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport.log:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "EventSource transport, get: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface io.vertx.ext.web.RoutingContext.request:()Lio/vertx/core/http/HttpServerRequest;
invokeinterface io.vertx.core.http.HttpServerRequest.uri:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.logging.Logger.trace:(Ljava/lang/Object;)V
1: StackMap locals:
StackMap stack:
aload 3
invokeinterface io.vertx.ext.web.RoutingContext.request:()Lio/vertx/core/http/HttpServerRequest;
ldc "param0"
invokeinterface io.vertx.core.http.HttpServerRequest.getParam:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: aload 0
aload 3
aload 1
invokevirtual io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions.getSessionTimeout:()J
aload 1
invokevirtual io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions.getHeartbeatInterval:()J
aload 4
aload 2
invokevirtual io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport.getSession:(Lio/vertx/ext/web/RoutingContext;JJLjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/web/handler/sockjs/impl/SockJSSession;
astore 5
start local 5 3: aload 3
invokeinterface io.vertx.ext.web.RoutingContext.request:()Lio/vertx/core/http/HttpServerRequest;
astore 6
start local 6 4: aload 5
aload 6
new io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport$EventSourceListener
dup
aload 0
aload 1
invokevirtual io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions.getMaxBytesStreaming:()I
aload 3
aload 5
invokespecial io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport$EventSourceListener.<init>:(Lio/vertx/ext/web/handler/sockjs/impl/EventSourceTransport;ILio/vertx/ext/web/RoutingContext;Lio/vertx/ext/web/handler/sockjs/impl/SockJSSession;)V
invokevirtual io.vertx.ext.web.handler.sockjs.impl.SockJSSession.register:(Lio/vertx/core/http/HttpServerRequest;Lio/vertx/ext/web/handler/sockjs/impl/TransportListener;)V
end local 6 end local 5 end local 4 5: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/web/handler/sockjs/impl/EventSourceTransport;
0 6 3 rc Lio/vertx/ext/web/RoutingContext;
2 5 4 sessionID Ljava/lang/String;
3 5 5 session Lio/vertx/ext/web/handler/sockjs/impl/SockJSSession;
4 5 6 req Lio/vertx/core/http/HttpServerRequest;
}
SourceFile: "EventSourceTransport.java"
NestMembers:
io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport$EventSourceListener
InnerClasses:
private EventSourceListener = io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport$EventSourceListener of io.vertx.ext.web.handler.sockjs.impl.EventSourceTransport
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles