public class io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper
super_class: java.lang.Object
{
private static final java.nio.charset.Charset UTF8;
descriptor: Ljava/nio/charset/Charset;
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 "UTF-8"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
putstatic io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper.UTF8:Ljava/nio/charset/Charset;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/eventbus/bridge/tcp/impl/protocol/FrameHelper;
public static void sendFrame(java.lang.String, java.lang.String, java.lang.String, io.vertx.core.json.JsonObject, java.lang.Boolean, io.vertx.core.json.JsonObject, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Ljava/lang/Boolean;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "type"
aload 0
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
astore 7
start local 7 1: aload 1
ifnull 3
2: aload 7
ldc "address"
aload 1
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
3: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
aload 2
ifnull 5
4: aload 7
ldc "replyAddress"
aload 2
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
5: StackMap locals:
StackMap stack:
aload 3
ifnull 7
6: aload 7
ldc "headers"
aload 3
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
7: StackMap locals:
StackMap stack:
aload 5
ifnull 9
8: aload 7
ldc "body"
aload 5
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
9: StackMap locals:
StackMap stack:
aload 4
ifnull 11
10: aload 7
ldc "send"
aload 4
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
11: StackMap locals:
StackMap stack:
aload 7
aload 6
invokestatic io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper.writeFrame:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
12: return
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 13 0 type Ljava/lang/String;
0 13 1 address Ljava/lang/String;
0 13 2 replyAddress Ljava/lang/String;
0 13 3 headers Lio/vertx/core/json/JsonObject;
0 13 4 send Ljava/lang/Boolean;
0 13 5 body Lio/vertx/core/json/JsonObject;
0 13 6 handler Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
1 13 7 payload Lio/vertx/core/json/JsonObject;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Ljava/lang/Boolean;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;)V
MethodParameters:
Name Flags
type
address
replyAddress
headers
send
body
handler
public static void sendFrame(java.lang.String, java.lang.String, java.lang.String, io.vertx.core.json.JsonObject, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
aload 3
aload 4
invokestatic io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper.sendFrame:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Ljava/lang/Boolean;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Ljava/lang/String;
0 2 1 address Ljava/lang/String;
0 2 2 replyAddress Ljava/lang/String;
0 2 3 body Lio/vertx/core/json/JsonObject;
0 2 4 handler Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;)V
MethodParameters:
Name Flags
type
address
replyAddress
body
handler
public static void sendFrame(java.lang.String, java.lang.String, io.vertx.core.json.JsonObject, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aconst_null
aconst_null
aconst_null
aload 2
aload 3
invokestatic io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper.sendFrame:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Ljava/lang/Boolean;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Ljava/lang/String;
0 2 1 address Ljava/lang/String;
0 2 2 body Lio/vertx/core/json/JsonObject;
0 2 3 handler Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
Signature: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;)V
MethodParameters:
Name Flags
type
address
body
handler
public static void sendFrame(java.lang.String, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>);
descriptor: (Ljava/lang/String;Lio/vertx/core/streams/WriteStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aload 1
invokestatic io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper.sendFrame:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Ljava/lang/Boolean;Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Ljava/lang/String;
0 2 1 handler Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
Signature: (Ljava/lang/String;Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;)V
MethodParameters:
Name Flags
type
handler
public static void sendErrFrame(java.lang.String, java.lang.String, io.vertx.core.eventbus.ReplyException, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/eventbus/ReplyException;Lio/vertx/core/streams/WriteStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, 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
1: ldc "type"
ldc "err"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
2: ldc "address"
aload 1
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
3: ldc "sourceAddress"
aload 0
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: ldc "failureCode"
aload 2
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/Object;)Lio/vertx/core/json/JsonObject;
5: ldc "failureType"
aload 2
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/Object;)Lio/vertx/core/json/JsonObject;
6: ldc "message"
aload 2
invokevirtual io.vertx.core.eventbus.ReplyException.getMessage:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
7: astore 4
start local 4 8: aload 4
aload 3
invokestatic io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper.writeFrame:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 address Ljava/lang/String;
0 10 1 replyAddress Ljava/lang/String;
0 10 2 failure Lio/vertx/core/eventbus/ReplyException;
0 10 3 handler Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
8 10 4 payload Lio/vertx/core/json/JsonObject;
Signature: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/eventbus/ReplyException;Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;)V
MethodParameters:
Name Flags
address
replyAddress
failure
handler
public static void sendErrFrame(java.lang.String, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>);
descriptor: (Ljava/lang/String;Lio/vertx/core/streams/WriteStream;)V
flags: (0x0009) ACC_PUBLIC, 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
1: ldc "type"
ldc "err"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
2: ldc "message"
aload 0
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
3: astore 2
start local 2 4: aload 2
aload 1
invokestatic io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper.writeFrame:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 message Ljava/lang/String;
0 6 1 handler Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
4 6 2 payload Lio/vertx/core/json/JsonObject;
Signature: (Ljava/lang/String;Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;)V
MethodParameters:
Name Flags
message
handler
public static void writeFrame(io.vertx.core.json.JsonObject, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.json.JsonObject.encode:()Ljava/lang/String;
getstatic io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper.UTF8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 2
start local 2 1: aload 1
invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
aload 2
arraylength
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
aload 2
invokeinterface io.vertx.core.buffer.Buffer.appendBytes:([B)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.streams.WriteStream.write:(Ljava/lang/Object;)Lio/vertx/core/Future;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 payload Lio/vertx/core/json/JsonObject;
0 3 1 handler Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
1 3 2 data [B
Signature: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;)V
MethodParameters:
Name Flags
payload
handler
}
SourceFile: "FrameHelper.java"