public class io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder extends io.netty.handler.codec.MessageToMessageEncoder<io.netty.handler.codec.http.websocketx.WebSocketFrame> implements io.netty.handler.codec.http.websocketx.WebSocketFrameEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder
super_class: io.netty.handler.codec.MessageToMessageEncoder
{
private static final io.netty.buffer.ByteBuf _0X00;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.buffer.ByteBuf _0XFF;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.buffer.ByteBuf _0XFF_0X00;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_1
iconst_1
invokestatic io.netty.buffer.Unpooled.directBuffer:(II)Lio/netty/buffer/ByteBuf;
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
1: invokestatic io.netty.buffer.Unpooled.unreleasableBuffer:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
putstatic io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder._0X00:Lio/netty/buffer/ByteBuf;
2: iconst_1
iconst_1
invokestatic io.netty.buffer.Unpooled.directBuffer:(II)Lio/netty/buffer/ByteBuf;
iconst_m1
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
3: invokestatic io.netty.buffer.Unpooled.unreleasableBuffer:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
putstatic io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder._0XFF:Lio/netty/buffer/ByteBuf;
4: iconst_2
iconst_2
invokestatic io.netty.buffer.Unpooled.directBuffer:(II)Lio/netty/buffer/ByteBuf;
iconst_m1
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
5: invokestatic io.netty.buffer.Unpooled.unreleasableBuffer:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
putstatic io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder._0XFF_0X00:Lio/netty/buffer/ByteBuf;
6: return
LocalVariableTable:
Start End Slot Name Signature
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/http/websocketx/WebSocket00FrameEncoder;
protected void encode(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.websocketx.WebSocketFrame, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/websocketx/WebSocketFrame;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
instanceof io.netty.handler.codec.http.websocketx.TextWebSocketFrame
ifeq 6
1: aload 2
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketFrame.content:()Lio/netty/buffer/ByteBuf;
astore 4
start local 4 2: aload 3
getstatic io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder._0X00:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.duplicate:()Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 3
aload 4
invokevirtual io.netty.buffer.ByteBuf.retain:()Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 3
getstatic io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder._0XFF:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.duplicate:()Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 5: goto 44
StackMap locals:
StackMap stack:
6: aload 2
instanceof io.netty.handler.codec.http.websocketx.CloseWebSocketFrame
ifeq 9
7: aload 3
getstatic io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder._0XFF_0X00:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.duplicate:()Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: goto 44
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketFrame.content:()Lio/netty/buffer/ByteBuf;
astore 4
start local 4 10: aload 4
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
istore 5
start local 5 11: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
iconst_5
invokeinterface io.netty.buffer.ByteBufAllocator.buffer:(I)Lio/netty/buffer/ByteBuf;
astore 6
start local 6 12: iconst_1
istore 7
start local 7 13: aload 6
bipush -128
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
14: iload 5
bipush 28
iushr
bipush 127
iand
istore 8
start local 8 15: iload 5
bipush 14
iushr
bipush 127
iand
istore 9
start local 9 16: iload 5
bipush 7
iushr
bipush 127
iand
istore 10
start local 10 17: iload 5
bipush 127
iand
istore 11
start local 11 18: iload 8
ifne 30
19: iload 9
ifne 26
20: iload 10
ifne 23
21: aload 6
iload 11
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
22: goto 34
23: StackMap locals: io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.websocketx.WebSocketFrame java.util.List io.netty.buffer.ByteBuf int io.netty.buffer.ByteBuf int int int int int
StackMap stack:
aload 6
iload 10
sipush 128
ior
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
24: aload 6
iload 11
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
25: goto 34
26: StackMap locals:
StackMap stack:
aload 6
iload 9
sipush 128
ior
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
27: aload 6
iload 10
sipush 128
ior
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
28: aload 6
iload 11
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
29: goto 34
30: StackMap locals:
StackMap stack:
aload 6
iload 8
sipush 128
ior
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
31: aload 6
iload 9
sipush 128
ior
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
32: aload 6
iload 10
sipush 128
ior
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
33: aload 6
iload 11
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
34: StackMap locals:
StackMap stack:
aload 3
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
35: aload 3
aload 4
invokevirtual io.netty.buffer.ByteBuf.retain:()Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
36: iconst_0
istore 7
end local 11 end local 10 end local 9 end local 8 37: goto 42
StackMap locals: io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.websocketx.WebSocketFrame java.util.List io.netty.buffer.ByteBuf int io.netty.buffer.ByteBuf int
StackMap stack: java.lang.Throwable
38: astore 12
39: iload 7
ifeq 41
40: aload 6
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
41: StackMap locals: io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.websocketx.WebSocketFrame java.util.List io.netty.buffer.ByteBuf int io.netty.buffer.ByteBuf int top top top top java.lang.Throwable
StackMap stack:
aload 12
athrow
42: StackMap locals: io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.websocketx.WebSocketFrame java.util.List io.netty.buffer.ByteBuf int io.netty.buffer.ByteBuf int
StackMap stack:
iload 7
ifeq 44
43: aload 6
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
end local 7 end local 6 end local 5 end local 4 44: StackMap locals: io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.websocketx.WebSocketFrame java.util.List
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lio/netty/handler/codec/http/websocketx/WebSocket00FrameEncoder;
0 45 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 45 2 msg Lio/netty/handler/codec/http/websocketx/WebSocketFrame;
0 45 3 out Ljava/util/List<Ljava/lang/Object;>;
2 5 4 data Lio/netty/buffer/ByteBuf;
10 44 4 data Lio/netty/buffer/ByteBuf;
11 44 5 dataLen I
12 44 6 buf Lio/netty/buffer/ByteBuf;
13 44 7 release Z
15 37 8 b1 I
16 37 9 b2 I
17 37 10 b3 I
18 37 11 b4 I
Exception table:
from to target type
13 38 38 any
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/websocketx/WebSocketFrame;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
msg
out
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.http.websocketx.WebSocketFrame
aload 3
invokevirtual io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder.encode:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/websocketx/WebSocketFrame;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/http/websocketx/WebSocketFrame;>;Lio/netty/handler/codec/http/websocketx/WebSocketFrameEncoder;
SourceFile: "WebSocket00FrameEncoder.java"
InnerClasses:
public abstract Sharable = io.netty.channel.ChannelHandler$Sharable of io.netty.channel.ChannelHandler
RuntimeVisibleAnnotations:
io.netty.channel.ChannelHandler$Sharable()