public final class io.netty.handler.codec.http.websocketx.WebSocketScheme
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http.websocketx.WebSocketScheme
super_class: java.lang.Object
{
public static final io.netty.handler.codec.http.websocketx.WebSocketScheme WS;
descriptor: Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.http.websocketx.WebSocketScheme WSS;
descriptor: Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final int port;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.util.AsciiString name;
descriptor: Lio/netty/util/AsciiString;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new io.netty.handler.codec.http.websocketx.WebSocketScheme
dup
bipush 80
ldc "ws"
invokespecial io.netty.handler.codec.http.websocketx.WebSocketScheme.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.http.websocketx.WebSocketScheme.WS:Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
1: new io.netty.handler.codec.http.websocketx.WebSocketScheme
dup
sipush 443
ldc "wss"
invokespecial io.netty.handler.codec.http.websocketx.WebSocketScheme.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.http.websocketx.WebSocketScheme.WSS:Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield io.netty.handler.codec.http.websocketx.WebSocketScheme.port:I
2: aload 0
aload 2
invokestatic io.netty.util.AsciiString.cached:(Ljava/lang/String;)Lio/netty/util/AsciiString;
putfield io.netty.handler.codec.http.websocketx.WebSocketScheme.name:Lio/netty/util/AsciiString;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
0 4 1 port I
0 4 2 name Ljava/lang/String;
MethodParameters:
Name Flags
port
name
public io.netty.util.AsciiString name();
descriptor: ()Lio/netty/util/AsciiString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketScheme.name:Lio/netty/util/AsciiString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
public int port();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketScheme.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.handler.codec.http.websocketx.WebSocketScheme
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast io.netty.handler.codec.http.websocketx.WebSocketScheme
astore 2
start local 2 3: aload 2
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketScheme.port:()I
aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketScheme.port:I
if_icmpne 4
aload 2
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketScheme.name:()Lio/netty/util/AsciiString;
aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketScheme.name:Lio/netty/util/AsciiString;
invokevirtual io.netty.util.AsciiString.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: io.netty.handler.codec.http.websocketx.WebSocketScheme
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
0 5 1 o Ljava/lang/Object;
3 5 2 other Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketScheme.port:I
bipush 31
imul
aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketScheme.name:Lio/netty/util/AsciiString;
invokevirtual io.netty.util.AsciiString.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketScheme.name:Lio/netty/util/AsciiString;
invokevirtual io.netty.util.AsciiString.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/websocketx/WebSocketScheme;
}
SourceFile: "WebSocketScheme.java"