public final class io.netty.handler.codec.http.HttpScheme
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http.HttpScheme
super_class: java.lang.Object
{
public static final io.netty.handler.codec.http.HttpScheme HTTP;
descriptor: Lio/netty/handler/codec/http/HttpScheme;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.netty.handler.codec.http.HttpScheme HTTPS;
descriptor: Lio/netty/handler/codec/http/HttpScheme;
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.HttpScheme
dup
bipush 80
ldc "http"
invokespecial io.netty.handler.codec.http.HttpScheme.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.http.HttpScheme.HTTP:Lio/netty/handler/codec/http/HttpScheme;
1: new io.netty.handler.codec.http.HttpScheme
dup
sipush 443
ldc "https"
invokespecial io.netty.handler.codec.http.HttpScheme.<init>:(ILjava/lang/String;)V
putstatic io.netty.handler.codec.http.HttpScheme.HTTPS:Lio/netty/handler/codec/http/HttpScheme;
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.HttpScheme.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.HttpScheme.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/HttpScheme;
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.HttpScheme.name:Lio/netty/util/AsciiString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/HttpScheme;
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.HttpScheme.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/HttpScheme;
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.HttpScheme
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast io.netty.handler.codec.http.HttpScheme
astore 2
start local 2 3: aload 2
invokevirtual io.netty.handler.codec.http.HttpScheme.port:()I
aload 0
getfield io.netty.handler.codec.http.HttpScheme.port:I
if_icmpne 4
aload 2
invokevirtual io.netty.handler.codec.http.HttpScheme.name:()Lio/netty/util/AsciiString;
aload 0
getfield io.netty.handler.codec.http.HttpScheme.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.HttpScheme
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/HttpScheme;
0 5 1 o Ljava/lang/Object;
3 5 2 other Lio/netty/handler/codec/http/HttpScheme;
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.HttpScheme.port:I
bipush 31
imul
aload 0
getfield io.netty.handler.codec.http.HttpScheme.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/HttpScheme;
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.HttpScheme.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/HttpScheme;
}
SourceFile: "HttpScheme.java"