public class io.vertx.ext.stomp.DefaultBeginHandler implements io.vertx.core.Handler<io.vertx.ext.stomp.ServerFrame>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.stomp.DefaultBeginHandler
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/stomp/DefaultBeginHandler;
public void handle(io.vertx.ext.stomp.ServerFrame);
descriptor: (Lio/vertx/ext/stomp/ServerFrame;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.ext.stomp.ServerFrame.frame:()Lio/vertx/ext/stomp/Frame;
astore 2
start local 2 1: aload 1
invokeinterface io.vertx.ext.stomp.ServerFrame.connection:()Lio/vertx/ext/stomp/StompServerConnection;
astore 3
start local 3 2: aload 2
ldc "transaction"
invokevirtual io.vertx.ext.stomp.Frame.getHeader:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 4
ifnonnull 7
4: ldc "Missing transaction id"
invokestatic io.vertx.ext.stomp.utils.Headers.create:()Lio/vertx/ext/stomp/utils/Headers;
ldc "BEGIN frames must contain the 'transaction' header."
invokestatic io.vertx.ext.stomp.Frames.createErrorFrame:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Lio/vertx/ext/stomp/Frame;
astore 5
start local 5 5: aload 3
aload 5
invokeinterface io.vertx.ext.stomp.StompServerConnection.write:(Lio/vertx/ext/stomp/Frame;)Lio/vertx/ext/stomp/StompServerConnection;
invokeinterface io.vertx.ext.stomp.StompServerConnection.close:()V
6: return
end local 5 7: StackMap locals: io.vertx.ext.stomp.Frame io.vertx.ext.stomp.StompServerConnection java.lang.String
StackMap stack:
invokestatic io.vertx.ext.stomp.impl.Transactions.instance:()Lio/vertx/ext/stomp/impl/Transactions;
aload 3
aload 4
invokevirtual io.vertx.ext.stomp.impl.Transactions.registerTransaction:(Lio/vertx/ext/stomp/StompServerConnection;Ljava/lang/String;)Z
ifne 14
8: ldc "Already existing transaction"
iconst_2
anewarray java.lang.String
dup
iconst_0
9: ldc "transaction"
aastore
dup
iconst_1
aload 4
aastore
invokestatic io.vertx.ext.stomp.utils.Headers.create:([Ljava/lang/String;)Lio/vertx/ext/stomp/utils/Headers;
10: ldc "A transaction using the same id is still active."
11: invokestatic io.vertx.ext.stomp.Frames.createErrorFrame:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Lio/vertx/ext/stomp/Frame;
astore 5
start local 5 12: aload 3
aload 5
invokeinterface io.vertx.ext.stomp.StompServerConnection.write:(Lio/vertx/ext/stomp/Frame;)Lio/vertx/ext/stomp/StompServerConnection;
invokeinterface io.vertx.ext.stomp.StompServerConnection.close:()V
13: return
end local 5 14: StackMap locals:
StackMap stack:
aload 2
aload 3
invokestatic io.vertx.ext.stomp.Frames.handleReceipt:(Lio/vertx/ext/stomp/Frame;Lio/vertx/ext/stomp/StompServerConnection;)V
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/ext/stomp/DefaultBeginHandler;
0 16 1 serverFrame Lio/vertx/ext/stomp/ServerFrame;
1 16 2 frame Lio/vertx/ext/stomp/Frame;
2 16 3 connection Lio/vertx/ext/stomp/StompServerConnection;
3 16 4 txId Ljava/lang/String;
5 7 5 error Lio/vertx/ext/stomp/Frame;
12 14 5 error Lio/vertx/ext/stomp/Frame;
MethodParameters:
Name Flags
serverFrame
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.stomp.ServerFrame
invokevirtual io.vertx.ext.stomp.DefaultBeginHandler.handle:(Lio/vertx/ext/stomp/ServerFrame;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/core/Handler<Lio/vertx/ext/stomp/ServerFrame;>;
SourceFile: "DefaultBeginHandler.java"