public class org.eclipse.jetty.http.PreEncodedHttpField extends org.eclipse.jetty.http.HttpField
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.http.PreEncodedHttpField
super_class: org.eclipse.jetty.http.HttpField
{
private static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.eclipse.jetty.http.HttpFieldPreEncoder[] __encoders;
descriptor: [Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final byte[][] _encodedField;
descriptor: [[B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$http$HttpVersion;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=6, args_size=0
0: ldc Lorg/eclipse/jetty/http/PreEncodedHttpField;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.http.PreEncodedHttpField.LOG:Lorg/eclipse/jetty/util/log/Logger;
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 2: ldc Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 1
start local 1 3: goto 10
4: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.http.HttpFieldPreEncoder
astore 2
start local 2 5: aload 2
invokeinterface org.eclipse.jetty.http.HttpFieldPreEncoder.getHttpVersion:()Lorg/eclipse/jetty/http/HttpVersion;
invokestatic org.eclipse.jetty.http.PreEncodedHttpField.index:(Lorg/eclipse/jetty/http/HttpVersion;)I
iflt 10
6: aload 0
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 7: goto 10
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 9: getstatic org.eclipse.jetty.http.PreEncodedHttpField.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
end local 2 10: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: getstatic org.eclipse.jetty.http.PreEncodedHttpField.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "HttpField encoders loaded: {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
12: aload 0
invokeinterface java.util.List.size:()I
istore 2
start local 2 13: iload 2
ifne 14
iconst_1
goto 15
StackMap locals: int
StackMap stack:
14: iload 2
StackMap locals:
StackMap stack: int
15: anewarray org.eclipse.jetty.http.HttpFieldPreEncoder
putstatic org.eclipse.jetty.http.PreEncodedHttpField.__encoders:[Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
16: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 22
StackMap locals: java.util.List java.util.Iterator int top java.util.Iterator
StackMap stack:
17: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.http.HttpFieldPreEncoder
astore 3
start local 3 18: aload 3
invokeinterface org.eclipse.jetty.http.HttpFieldPreEncoder.getHttpVersion:()Lorg/eclipse/jetty/http/HttpVersion;
invokestatic org.eclipse.jetty.http.PreEncodedHttpField.index:(Lorg/eclipse/jetty/http/HttpVersion;)I
istore 5
start local 5 19: getstatic org.eclipse.jetty.http.PreEncodedHttpField.__encoders:[Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
iload 5
aaload
ifnonnull 21
20: getstatic org.eclipse.jetty.http.PreEncodedHttpField.__encoders:[Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
iload 5
aload 3
aastore
goto 22
21: StackMap locals: java.util.List java.util.Iterator int org.eclipse.jetty.http.HttpFieldPreEncoder java.util.Iterator int
StackMap stack:
getstatic org.eclipse.jetty.http.PreEncodedHttpField.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "multiple PreEncoders for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface org.eclipse.jetty.http.HttpFieldPreEncoder.getHttpVersion:()Lorg/eclipse/jetty/http/HttpVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 5 end local 3 22: StackMap locals: java.util.List java.util.Iterator int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
23: getstatic org.eclipse.jetty.http.PreEncodedHttpField.__encoders:[Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
iconst_0
aaload
ifnonnull 25
24: getstatic org.eclipse.jetty.http.PreEncodedHttpField.__encoders:[Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
iconst_0
new org.eclipse.jetty.http.Http1FieldPreEncoder
dup
invokespecial org.eclipse.jetty.http.Http1FieldPreEncoder.<init>:()V
aastore
end local 2 end local 1 end local 0 25: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 25 0 encoders Ljava/util/List<Lorg/eclipse/jetty/http/HttpFieldPreEncoder;>;
3 25 1 iter Ljava/util/Iterator<Lorg/eclipse/jetty/http/HttpFieldPreEncoder;>;
5 7 2 encoder Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
9 10 2 e Ljava/lang/Throwable;
13 25 2 size I
18 22 3 e Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
19 22 5 i I
Exception table:
from to target type
4 7 8 Class java.lang.Error
4 7 8 Class java.lang.RuntimeException
private static int index(org.eclipse.jetty.http.HttpVersion);
descriptor: (Lorg/eclipse/jetty/http/HttpVersion;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.eclipse.jetty.http.PreEncodedHttpField.$SWITCH_TABLE$org$eclipse$jetty$http$HttpVersion:()[I
aload 0
invokevirtual org.eclipse.jetty.http.HttpVersion.ordinal:()I
iaload
tableswitch { // 2 - 4
2: 1
3: 1
4: 2
default: 3
}
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 version Lorg/eclipse/jetty/http/HttpVersion;
MethodParameters:
Name Flags
version
public void (org.eclipse.jetty.http.HttpHeader, java.lang.String, java.lang.String);
descriptor: (Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.eclipse.jetty.http.HttpField.<init>:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
getstatic org.eclipse.jetty.http.PreEncodedHttpField.__encoders:[Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
arraylength
anewarray byte[]
putfield org.eclipse.jetty.http.PreEncodedHttpField._encodedField:[[B
2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: org.eclipse.jetty.http.PreEncodedHttpField org.eclipse.jetty.http.HttpHeader java.lang.String java.lang.String int
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.PreEncodedHttpField._encodedField:[[B
iload 4
getstatic org.eclipse.jetty.http.PreEncodedHttpField.__encoders:[Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
iload 4
aaload
aload 1
aload 2
aload 3
invokeinterface org.eclipse.jetty.http.HttpFieldPreEncoder.getEncodedField:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;Ljava/lang/String;)[B
aastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
getstatic org.eclipse.jetty.http.PreEncodedHttpField.__encoders:[Lorg/eclipse/jetty/http/HttpFieldPreEncoder;
arraylength
if_icmplt 4
end local 4 7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/http/PreEncodedHttpField;
0 8 1 header Lorg/eclipse/jetty/http/HttpHeader;
0 8 2 name Ljava/lang/String;
0 8 3 value Ljava/lang/String;
3 7 4 i I
MethodParameters:
Name Flags
header
name
value
public void (org.eclipse.jetty.http.HttpHeader, java.lang.String);
descriptor: (Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
invokevirtual org.eclipse.jetty.http.HttpHeader.asString:()Ljava/lang/String;
aload 2
invokespecial org.eclipse.jetty.http.PreEncodedHttpField.<init>:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/PreEncodedHttpField;
0 2 1 header Lorg/eclipse/jetty/http/HttpHeader;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
header
value
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokespecial org.eclipse.jetty.http.PreEncodedHttpField.<init>:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/PreEncodedHttpField;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void putTo(java.nio.ByteBuffer, org.eclipse.jetty.http.HttpVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/eclipse/jetty/http/HttpVersion;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.eclipse.jetty.http.PreEncodedHttpField._encodedField:[[B
aload 2
invokestatic org.eclipse.jetty.http.PreEncodedHttpField.index:(Lorg/eclipse/jetty/http/HttpVersion;)I
aaload
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/PreEncodedHttpField;
0 2 1 bufferInFillMode Ljava/nio/ByteBuffer;
0 2 2 version Lorg/eclipse/jetty/http/HttpVersion;
MethodParameters:
Name Flags
bufferInFillMode
version
static int[] $SWITCH_TABLE$org$eclipse$jetty$http$HttpVersion();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.http.PreEncodedHttpField.$SWITCH_TABLE$org$eclipse$jetty$http$HttpVersion:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.http.HttpVersion.values:()[Lorg/eclipse/jetty/http/HttpVersion;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.http.HttpVersion.HTTP_0_9:Lorg/eclipse/jetty/http/HttpVersion;
invokevirtual org.eclipse.jetty.http.HttpVersion.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 org.eclipse.jetty.http.HttpVersion.HTTP_1_0:Lorg/eclipse/jetty/http/HttpVersion;
invokevirtual org.eclipse.jetty.http.HttpVersion.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.http.HttpVersion.HTTP_1_1:Lorg/eclipse/jetty/http/HttpVersion;
invokevirtual org.eclipse.jetty.http.HttpVersion.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.http.HttpVersion.HTTP_2:Lorg/eclipse/jetty/http/HttpVersion;
invokevirtual org.eclipse.jetty.http.HttpVersion.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.eclipse.jetty.http.PreEncodedHttpField.$SWITCH_TABLE$org$eclipse$jetty$http$HttpVersion:[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
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "PreEncodedHttpField.java"