public class io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
private static final java.lang.String XML;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "<cross-domain-policy><allow-access-from domain=\"*\" to-ports=\"*\" /></cross-domain-policy>"
private io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState state;
descriptor: Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$io$vertx$core$http$impl$cgbystrom$FlashPolicyHandler$ParseState;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
1: aload 0
getstatic io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState.MAGIC1:Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
putfield io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler.state:Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler;
public void channelRead(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast io.netty.buffer.ByteBuf
astore 3
start local 3 1: aload 3
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
istore 4
start local 4 2: invokestatic io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler.$SWITCH_TABLE$io$vertx$core$http$impl$cgbystrom$FlashPolicyHandler$ParseState:()[I
aload 0
getfield io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler.state:Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
invokevirtual io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 3
2: 11
default: 19
}
3: StackMap locals: io.netty.buffer.ByteBuf int
StackMap stack:
aload 3
invokevirtual io.netty.buffer.ByteBuf.isReadable:()Z
ifne 5
4: return
5: StackMap locals:
StackMap stack:
aload 3
iload 4
iinc 4 1
invokevirtual io.netty.buffer.ByteBuf.getUnsignedByte:(I)S
istore 5
start local 5 6: aload 0
getstatic io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState.MAGIC2:Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
putfield io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler.state:Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
7: iload 5
bipush 60
if_icmpeq 11
8: aload 1
aload 3
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
9: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0
invokeinterface io.netty.channel.ChannelPipeline.remove:(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
10: return
end local 5 11: StackMap locals:
StackMap stack:
aload 3
invokevirtual io.netty.buffer.ByteBuf.isReadable:()Z
ifne 13
12: return
13: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual io.netty.buffer.ByteBuf.getUnsignedByte:(I)S
istore 6
start local 6 14: iload 6
bipush 112
if_icmpeq 18
15: aload 1
aload 3
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
16: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0
invokeinterface io.netty.channel.ChannelPipeline.remove:(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
17: goto 19
18: StackMap locals: io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.buffer.ByteBuf int top int
StackMap stack:
aload 1
ldc "<cross-domain-policy><allow-access-from domain=\"*\" to-ports=\"*\" /></cross-domain-policy>"
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.netty.buffer.Unpooled.copiedBuffer:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf;
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
getstatic io.netty.channel.ChannelFutureListener.CLOSE:Lio/netty/channel/ChannelFutureListener;
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
end local 6 19: StackMap locals: io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.buffer.ByteBuf int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler;
0 20 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 20 2 msg Ljava/lang/Object;
1 20 3 buffer Lio/netty/buffer/ByteBuf;
2 20 4 index I
6 11 5 magic1 I
14 19 6 magic2 I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
static int[] $SWITCH_TABLE$io$vertx$core$http$impl$cgbystrom$FlashPolicyHandler$ParseState();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler.$SWITCH_TABLE$io$vertx$core$http$impl$cgbystrom$FlashPolicyHandler$ParseState:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState.values:()[Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState.MAGIC1:Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
invokevirtual io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState.MAGIC2:Lio/vertx/core/http/impl/cgbystrom/FlashPolicyHandler$ParseState;
invokevirtual io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
dup
putstatic io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler.$SWITCH_TABLE$io$vertx$core$http$impl$cgbystrom$FlashPolicyHandler$ParseState:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
}
SourceFile: "FlashPolicyHandler.java"
NestMembers:
io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState
InnerClasses:
final ParseState = io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler$ParseState of io.vertx.core.http.impl.cgbystrom.FlashPolicyHandler