public final class org.eclipse.jetty.http.HttpScheme extends java.lang.Enum<org.eclipse.jetty.http.HttpScheme>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.eclipse.jetty.http.HttpScheme
super_class: java.lang.Enum
{
public static final org.eclipse.jetty.http.HttpScheme HTTP;
descriptor: Lorg/eclipse/jetty/http/HttpScheme;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.eclipse.jetty.http.HttpScheme HTTPS;
descriptor: Lorg/eclipse/jetty/http/HttpScheme;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.eclipse.jetty.http.HttpScheme WS;
descriptor: Lorg/eclipse/jetty/http/HttpScheme;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.eclipse.jetty.http.HttpScheme WSS;
descriptor: Lorg/eclipse/jetty/http/HttpScheme;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.eclipse.jetty.util.Index<org.eclipse.jetty.http.HttpScheme> CACHE;
descriptor: Lorg/eclipse/jetty/util/Index;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/eclipse/jetty/util/Index<Lorg/eclipse/jetty/http/HttpScheme;>;
private final java.lang.String _string;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer _buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _defaultPort;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.eclipse.jetty.http.HttpScheme[] ENUM$VALUES;
descriptor: [Lorg/eclipse/jetty/http/HttpScheme;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new org.eclipse.jetty.http.HttpScheme
dup
ldc "HTTP"
iconst_0
ldc "http"
bipush 80
invokespecial org.eclipse.jetty.http.HttpScheme.<init>:(Ljava/lang/String;ILjava/lang/String;I)V
putstatic org.eclipse.jetty.http.HttpScheme.HTTP:Lorg/eclipse/jetty/http/HttpScheme;
1: new org.eclipse.jetty.http.HttpScheme
dup
ldc "HTTPS"
iconst_1
ldc "https"
sipush 443
invokespecial org.eclipse.jetty.http.HttpScheme.<init>:(Ljava/lang/String;ILjava/lang/String;I)V
putstatic org.eclipse.jetty.http.HttpScheme.HTTPS:Lorg/eclipse/jetty/http/HttpScheme;
2: new org.eclipse.jetty.http.HttpScheme
dup
ldc "WS"
iconst_2
ldc "ws"
bipush 80
invokespecial org.eclipse.jetty.http.HttpScheme.<init>:(Ljava/lang/String;ILjava/lang/String;I)V
putstatic org.eclipse.jetty.http.HttpScheme.WS:Lorg/eclipse/jetty/http/HttpScheme;
3: new org.eclipse.jetty.http.HttpScheme
dup
ldc "WSS"
iconst_3
ldc "wss"
sipush 443
invokespecial org.eclipse.jetty.http.HttpScheme.<init>:(Ljava/lang/String;ILjava/lang/String;I)V
putstatic org.eclipse.jetty.http.HttpScheme.WSS:Lorg/eclipse/jetty/http/HttpScheme;
iconst_4
anewarray org.eclipse.jetty.http.HttpScheme
dup
iconst_0
getstatic org.eclipse.jetty.http.HttpScheme.HTTP:Lorg/eclipse/jetty/http/HttpScheme;
aastore
dup
iconst_1
getstatic org.eclipse.jetty.http.HttpScheme.HTTPS:Lorg/eclipse/jetty/http/HttpScheme;
aastore
dup
iconst_2
getstatic org.eclipse.jetty.http.HttpScheme.WS:Lorg/eclipse/jetty/http/HttpScheme;
aastore
dup
iconst_3
getstatic org.eclipse.jetty.http.HttpScheme.WSS:Lorg/eclipse/jetty/http/HttpScheme;
aastore
putstatic org.eclipse.jetty.http.HttpScheme.ENUM$VALUES:[Lorg/eclipse/jetty/http/HttpScheme;
4: new org.eclipse.jetty.util.Index$Builder
dup
invokespecial org.eclipse.jetty.util.Index$Builder.<init>:()V
5: iconst_0
invokevirtual org.eclipse.jetty.util.Index$Builder.caseSensitive:(Z)Lorg/eclipse/jetty/util/Index$Builder;
6: invokestatic org.eclipse.jetty.http.HttpScheme.values:()[Lorg/eclipse/jetty/http/HttpScheme;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/eclipse/jetty/http/HttpScheme.asString()Ljava/lang/String; (5)
(Lorg/eclipse/jetty/http/HttpScheme;)Ljava/lang/String;
invokevirtual org.eclipse.jetty.util.Index$Builder.withAll:([Ljava/lang/Object;Ljava/util/function/Function;)Lorg/eclipse/jetty/util/Index$Builder;
7: invokevirtual org.eclipse.jetty.util.Index$Builder.build:()Lorg/eclipse/jetty/util/Index;
8: putstatic org.eclipse.jetty.http.HttpScheme.CACHE:Lorg/eclipse/jetty/util/Index;
9: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, java.lang.String, int);
descriptor: (Ljava/lang/String;ILjava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 start local 3 start local 4 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
aload 3
putfield org.eclipse.jetty.http.HttpScheme._string:Ljava/lang/String;
2: aload 0
aload 3
invokestatic org.eclipse.jetty.util.BufferUtil.toBuffer:(Ljava/lang/String;)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.http.HttpScheme._buffer:Ljava/nio/ByteBuffer;
3: aload 0
iload 4
putfield org.eclipse.jetty.http.HttpScheme._defaultPort:I
4: return
end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/http/HttpScheme;
0 5 3 s Ljava/lang/String;
0 5 4 port I
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
s
port
public java.nio.ByteBuffer asByteBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpScheme._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpScheme;
public boolean is(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.http.HttpScheme._string:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpScheme;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public java.lang.String asString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpScheme._string:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpScheme;
public int getDefaultPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpScheme._defaultPort:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpScheme;
public int normalizePort(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.eclipse.jetty.http.HttpScheme._defaultPort:I
if_icmpne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iload 1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/http/HttpScheme;
0 3 1 port I
MethodParameters:
Name Flags
port
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 org.eclipse.jetty.http.HttpScheme._string:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpScheme;
public static int getDefaultPort(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.eclipse.jetty.http.HttpScheme.CACHE:Lorg/eclipse/jetty/util/Index;
aload 0
invokeinterface org.eclipse.jetty.util.Index.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.jetty.http.HttpScheme
StackMap locals:
StackMap stack: org.eclipse.jetty.http.HttpScheme
2: astore 1
start local 1 3: aload 1
ifnonnull 4
getstatic org.eclipse.jetty.http.HttpScheme.HTTP:Lorg/eclipse/jetty/http/HttpScheme;
invokevirtual org.eclipse.jetty.http.HttpScheme.getDefaultPort:()I
goto 5
StackMap locals: org.eclipse.jetty.http.HttpScheme
StackMap stack:
4: aload 1
invokevirtual org.eclipse.jetty.http.HttpScheme.getDefaultPort:()I
StackMap locals:
StackMap stack: int
5: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 scheme Ljava/lang/String;
3 6 1 httpScheme Lorg/eclipse/jetty/http/HttpScheme;
MethodParameters:
Name Flags
scheme
public static int normalizePort(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.eclipse.jetty.http.HttpScheme.CACHE:Lorg/eclipse/jetty/util/Index;
aload 0
invokeinterface org.eclipse.jetty.util.Index.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.jetty.http.HttpScheme
StackMap locals:
StackMap stack: org.eclipse.jetty.http.HttpScheme
2: astore 2
start local 2 3: aload 2
ifnonnull 4
iload 1
goto 5
StackMap locals: org.eclipse.jetty.http.HttpScheme
StackMap stack:
4: aload 2
iload 1
invokevirtual org.eclipse.jetty.http.HttpScheme.normalizePort:(I)I
StackMap locals:
StackMap stack: int
5: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 scheme Ljava/lang/String;
0 6 1 port I
3 6 2 httpScheme Lorg/eclipse/jetty/http/HttpScheme;
MethodParameters:
Name Flags
scheme
port
public static org.eclipse.jetty.http.HttpScheme[] values();
descriptor: ()[Lorg/eclipse/jetty/http/HttpScheme;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.eclipse.jetty.http.HttpScheme.ENUM$VALUES:[Lorg/eclipse/jetty/http/HttpScheme;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.eclipse.jetty.http.HttpScheme
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.eclipse.jetty.http.HttpScheme valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/http/HttpScheme;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/eclipse/jetty/http/HttpScheme;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.eclipse.jetty.http.HttpScheme
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/eclipse/jetty/http/HttpScheme;>;
SourceFile: "HttpScheme.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Builder = org.eclipse.jetty.util.Index$Builder of org.eclipse.jetty.util.Index