public class io.netty.handler.codec.stomp.StompSubframeEncoder extends io.netty.handler.codec.MessageToMessageEncoder<io.netty.handler.codec.stomp.StompSubframe>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.stomp.StompSubframeEncoder
super_class: io.netty.handler.codec.MessageToMessageEncoder
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.handler.codec.MessageToMessageEncoder.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/stomp/StompSubframeEncoder;
protected void encode(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.stomp.StompSubframe, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/stomp/StompSubframe;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
instanceof io.netty.handler.codec.stomp.StompFrame
ifeq 7
1: aload 2
checkcast io.netty.handler.codec.stomp.StompFrame
astore 4
start local 4 2: aload 4
aload 1
invokestatic io.netty.handler.codec.stomp.StompSubframeEncoder.encodeFrame:(Lio/netty/handler/codec/stomp/StompHeadersSubframe;Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf;
astore 5
start local 5 3: aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 4
aload 1
invokestatic io.netty.handler.codec.stomp.StompSubframeEncoder.encodeContent:(Lio/netty/handler/codec/stomp/StompContentSubframe;Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf;
astore 6
start local 6 5: aload 3
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 end local 4 6: goto 16
StackMap locals:
StackMap stack:
7: aload 2
instanceof io.netty.handler.codec.stomp.StompHeadersSubframe
ifeq 12
8: aload 2
checkcast io.netty.handler.codec.stomp.StompHeadersSubframe
astore 4
start local 4 9: aload 4
aload 1
invokestatic io.netty.handler.codec.stomp.StompSubframeEncoder.encodeFrame:(Lio/netty/handler/codec/stomp/StompHeadersSubframe;Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf;
astore 5
start local 5 10: aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 11: goto 16
StackMap locals:
StackMap stack:
12: aload 2
instanceof io.netty.handler.codec.stomp.StompContentSubframe
ifeq 16
13: aload 2
checkcast io.netty.handler.codec.stomp.StompContentSubframe
astore 4
start local 4 14: aload 4
aload 1
invokestatic io.netty.handler.codec.stomp.StompSubframeEncoder.encodeContent:(Lio/netty/handler/codec/stomp/StompContentSubframe;Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf;
astore 5
start local 5 15: aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/netty/handler/codec/stomp/StompSubframeEncoder;
0 17 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 17 2 msg Lio/netty/handler/codec/stomp/StompSubframe;
0 17 3 out Ljava/util/List<Ljava/lang/Object;>;
2 6 4 frame Lio/netty/handler/codec/stomp/StompFrame;
3 6 5 frameBuf Lio/netty/buffer/ByteBuf;
5 6 6 contentBuf Lio/netty/buffer/ByteBuf;
9 11 4 frame Lio/netty/handler/codec/stomp/StompHeadersSubframe;
10 11 5 buf Lio/netty/buffer/ByteBuf;
14 16 4 stompContentSubframe Lio/netty/handler/codec/stomp/StompContentSubframe;
15 16 5 buf Lio/netty/buffer/ByteBuf;
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/stomp/StompSubframe;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
msg
out
private static io.netty.buffer.ByteBuf encodeContent(io.netty.handler.codec.stomp.StompContentSubframe, io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/handler/codec/stomp/StompContentSubframe;Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
instanceof io.netty.handler.codec.stomp.LastStompContentSubframe
ifeq 5
1: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
aload 0
invokeinterface io.netty.handler.codec.stomp.StompContentSubframe.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
iconst_1
iadd
invokeinterface io.netty.buffer.ByteBufAllocator.buffer:(I)Lio/netty/buffer/ByteBuf;
astore 2
start local 2 2: aload 2
aload 0
invokeinterface io.netty.handler.codec.stomp.StompContentSubframe.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.writeBytes:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
pop
3: aload 2
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
4: aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.netty.handler.codec.stomp.StompContentSubframe.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.retain:()Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 content Lio/netty/handler/codec/stomp/StompContentSubframe;
0 6 1 ctx Lio/netty/channel/ChannelHandlerContext;
2 5 2 buf Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
content
ctx
private static io.netty.buffer.ByteBuf encodeFrame(io.netty.handler.codec.stomp.StompHeadersSubframe, io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/handler/codec/stomp/StompHeadersSubframe;Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.buffer:()Lio/netty/buffer/ByteBuf;
astore 2
start local 2 1: aload 2
aload 0
invokeinterface io.netty.handler.codec.stomp.StompHeadersSubframe.command:()Lio/netty/handler/codec/stomp/StompCommand;
invokevirtual io.netty.handler.codec.stomp.StompCommand.toString:()Ljava/lang/String;
getstatic io.netty.util.CharsetUtil.US_ASCII:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.writeCharSequence:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
pop
2: aload 2
bipush 10
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
3: new io.netty.handler.codec.AsciiHeadersEncoder
dup
aload 2
getstatic io.netty.handler.codec.AsciiHeadersEncoder$SeparatorType.COLON:Lio/netty/handler/codec/AsciiHeadersEncoder$SeparatorType;
getstatic io.netty.handler.codec.AsciiHeadersEncoder$NewlineType.LF:Lio/netty/handler/codec/AsciiHeadersEncoder$NewlineType;
invokespecial io.netty.handler.codec.AsciiHeadersEncoder.<init>:(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/AsciiHeadersEncoder$SeparatorType;Lio/netty/handler/codec/AsciiHeadersEncoder$NewlineType;)V
astore 3
start local 3 4: aload 0
invokeinterface io.netty.handler.codec.stomp.StompHeadersSubframe.headers:()Lio/netty/handler/codec/stomp/StompHeaders;
invokeinterface io.netty.handler.codec.stomp.StompHeaders.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: io.netty.handler.codec.stomp.StompHeadersSubframe io.netty.channel.ChannelHandlerContext io.netty.buffer.ByteBuf io.netty.handler.codec.AsciiHeadersEncoder top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 6: aload 3
aload 4
invokevirtual io.netty.handler.codec.AsciiHeadersEncoder.encode:(Ljava/util/Map$Entry;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 2
bipush 10
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
9: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 frame Lio/netty/handler/codec/stomp/StompHeadersSubframe;
0 10 1 ctx Lio/netty/channel/ChannelHandlerContext;
1 10 2 buf Lio/netty/buffer/ByteBuf;
4 10 3 headersEncoder Lio/netty/handler/codec/AsciiHeadersEncoder;
6 7 4 entry Ljava/util/Map$Entry<Ljava/lang/CharSequence;Ljava/lang/CharSequence;>;
MethodParameters:
Name Flags
frame
ctx
protected void encode(io.netty.channel.ChannelHandlerContext, java.lang.Object, java.util.List);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast io.netty.handler.codec.stomp.StompSubframe
aload 3
invokevirtual io.netty.handler.codec.stomp.StompSubframeEncoder.encode:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/stomp/StompSubframe;Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lio/netty/handler/codec/MessageToMessageEncoder<Lio/netty/handler/codec/stomp/StompSubframe;>;
SourceFile: "StompSubframeEncoder.java"
InnerClasses:
public final NewlineType = io.netty.handler.codec.AsciiHeadersEncoder$NewlineType of io.netty.handler.codec.AsciiHeadersEncoder
public final SeparatorType = io.netty.handler.codec.AsciiHeadersEncoder$SeparatorType of io.netty.handler.codec.AsciiHeadersEncoder
public abstract Entry = java.util.Map$Entry of java.util.Map