class
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.Http1HeaderParser
super_class: java.lang.Object
{
private static final char ;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 13
private static final char ;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private static final char ;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 9
private static final char ;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private java.lang.StringBuilder ;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private jdk.incubator.http.HttpHeaders ;
descriptor: Ljdk/incubator/http/HttpHeaders;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.util.List<java.lang.String>> ;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
private jdk.incubator.http.Http1HeaderParser$State ;
descriptor: Ljdk/incubator/http/Http1HeaderParser$State;
flags: (0x0002) ACC_PRIVATE
static final boolean ;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] ;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/incubator/http/Http1HeaderParser;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.incubator.http.Http1HeaderParser.privateMap:Ljava/util/Map;
3: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/Http1HeaderParser;
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1HeaderParser.statusLine:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1HeaderParser;
int ();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1HeaderParser.responseCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1HeaderParser;
jdk.incubator.http.HttpHeaders ();
descriptor: ()Ljdk/incubator/http/HttpHeaders;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.FINISHED:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.incubator.http.Http1HeaderParser.headers:Ljdk/incubator/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/Http1HeaderParser;
boolean (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "null input"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: goto 22
2: StackMap locals:
StackMap stack:
invokestatic jdk.incubator.http.Http1HeaderParser.$SWITCH_TABLE$jdk$incubator$http$Http1HeaderParser$State:()[I
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
iaload
tableswitch { // 1 - 9
1: 3
2: 5
3: 7
4: 9
5: 11
6: 13
7: 13
8: 15
9: 17
default: 19
}
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.readResumeStatusLine:(Ljava/nio/ByteBuffer;)V
4: goto 22
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.readStatusLineFeed:(Ljava/nio/ByteBuffer;)V
6: goto 22
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.maybeStartHeaders:(Ljava/nio/ByteBuffer;)V
8: goto 22
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.maybeEndHeaders:(Ljava/nio/ByteBuffer;)V
10: goto 22
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.readResumeHeader:(Ljava/nio/ByteBuffer;)V
12: goto 22
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.resumeOrLF:(Ljava/nio/ByteBuffer;)V
14: goto 22
15: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.resumeOrSecondCR:(Ljava/nio/ByteBuffer;)V
16: goto 22
17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.resumeOrEndHeaders:(Ljava/nio/ByteBuffer;)V
18: goto 22
19: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
20: new java.lang.StringBuilder
dup
ldc "Unexpected state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 23
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.FINISHED:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpne 2
23: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.FINISHED:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpne 24
iconst_1
ireturn
StackMap locals:
StackMap stack:
24: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/incubator/http/Http1HeaderParser;
0 25 1 input Ljava/nio/ByteBuffer;
Exceptions:
throws java.net.ProtocolException
MethodParameters:
Name Flags
input
private void (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 3
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 4
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
dup
istore 2
bipush 13
if_icmpne 2
4: StackMap locals:
StackMap stack:
iload 2
bipush 13
if_icmpne 6
5: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE_FOUND_CR:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/Http1HeaderParser;
0 7 1 input Ljava/nio/ByteBuffer;
1 7 2 c C
MethodParameters:
Name Flags
input
private void (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
istore 2
start local 2 1: iload 2
bipush 10
if_icmpeq 5
2: aload 0
ldc "Bad trailing char, \"%s\", when parsing status-line, \"%s\""
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: iload 2
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
iconst_1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
4: invokevirtual jdk.incubator.http.Http1HeaderParser.protocolException:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/net/ProtocolException;
athrow
5: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.incubator.http.Http1HeaderParser.statusLine:Ljava/lang/String;
6: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
7: aload 0
getfield jdk.incubator.http.Http1HeaderParser.statusLine:Ljava/lang/String;
ldc "HTTP/1."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 9
8: aload 0
ldc "Invalid status line: \"%s\""
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.incubator.http.Http1HeaderParser.statusLine:Ljava/lang/String;
aastore
invokevirtual jdk.incubator.http.Http1HeaderParser.protocolException:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/net/ProtocolException;
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.statusLine:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
bipush 12
if_icmpge 11
10: aload 0
ldc "Invalid status line: \"%s\""
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.incubator.http.Http1HeaderParser.statusLine:Ljava/lang/String;
aastore
invokevirtual jdk.incubator.http.Http1HeaderParser.protocolException:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/net/ProtocolException;
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.incubator.http.Http1HeaderParser.statusLine:Ljava/lang/String;
bipush 9
bipush 12
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield jdk.incubator.http.Http1HeaderParser.responseCode:I
12: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE_END:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/incubator/http/Http1HeaderParser;
0 14 1 input Ljava/nio/ByteBuffer;
1 14 2 c C
Exceptions:
throws java.net.ProtocolException
MethodParameters:
Name Flags
input
private void (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE_END:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 2
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
istore 2
start local 2 3: iload 2
bipush 13
if_icmpne 6
4: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE_END_CR:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
5: goto 8
6: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/Http1HeaderParser;
0 9 1 input Ljava/nio/ByteBuffer;
3 9 2 c C
MethodParameters:
Name Flags
input
private void (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE_END_CR:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 2
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
istore 2
start local 2 3: iload 2
bipush 10
if_icmpne 8
4: aload 0
aload 0
getfield jdk.incubator.http.Http1HeaderParser.privateMap:Ljava/util/Map;
invokestatic jdk.incubator.http.ImmutableHeaders.of:(Ljava/util/Map;)Ljdk/incubator/http/ImmutableHeaders;
putfield jdk.incubator.http.Http1HeaderParser.headers:Ljdk/incubator/http/HttpHeaders;
5: aload 0
aconst_null
putfield jdk.incubator.http.Http1HeaderParser.privateMap:Ljava/util/Map;
6: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.FINISHED:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
7: goto 9
8: StackMap locals: int
StackMap stack:
aload 0
ldc "Unexpected \"%s\", after status-line CR"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
invokevirtual jdk.incubator.http.Http1HeaderParser.protocolException:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/net/ProtocolException;
athrow
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/http/Http1HeaderParser;
0 10 1 input Ljava/nio/ByteBuffer;
3 10 2 c C
Exceptions:
throws java.net.ProtocolException
MethodParameters:
Name Flags
input
private void (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 12
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
istore 2
start local 2 3: iload 2
bipush 13
if_icmpne 6
4: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
5: goto 13
6: StackMap locals: int
StackMap stack:
iload 2
bipush 10
if_icmpne 9
7: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_LF:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
8: goto 13
9: StackMap locals:
StackMap stack:
iload 2
bipush 9
if_icmpne 11
10: bipush 32
istore 2
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 2 12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/incubator/http/Http1HeaderParser;
0 14 1 input Ljava/nio/ByteBuffer;
3 12 2 c C
MethodParameters:
Name Flags
input
private void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpne 4
3: return
4: StackMap locals: int
StackMap stack:
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 7
6: return
7: StackMap locals: java.lang.String
StackMap stack:
aload 1
iload 2
iconst_1
iadd
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
start local 4 8: aload 0
getfield jdk.incubator.http.Http1HeaderParser.privateMap:Ljava/util/Map;
aload 3
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
9: 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;
jdk/incubator/http/Http1HeaderParser.lambda$0(Ljava/lang/String;)Ljava/util/List; (6)
(Ljava/lang/String;)Ljava/util/List;
10: invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.List
11: aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/incubator/http/Http1HeaderParser;
0 13 1 headerString Ljava/lang/String;
2 13 2 idx I
5 13 3 name Ljava/lang/String;
8 13 4 value Ljava/lang/String;
MethodParameters:
Name Flags
headerString
private void (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpeq 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_LF:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
istore 2
start local 2 2: iload 2
bipush 10
if_icmpne 5
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpne 5
3: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR_LF:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
4: goto 12
StackMap locals: int
StackMap stack:
5: iload 2
bipush 32
if_icmpeq 6
iload 2
bipush 9
if_icmpne 9
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
8: goto 12
9: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
10: aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/incubator/http/Http1HeaderParser;
0 13 1 input Ljava/nio/ByteBuffer;
2 13 2 c C
MethodParameters:
Name Flags
input
private void (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR_LF:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
istore 2
start local 2 2: iload 2
bipush 13
if_icmpne 9
3: aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 7
4: aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 5: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
6: aload 0
aload 3
invokevirtual jdk.incubator.http.Http1HeaderParser.addHeaderFromString:(Ljava/lang/String;)V
end local 3 7: StackMap locals: int
StackMap stack:
aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR_LF_CR:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
8: goto 20
StackMap locals:
StackMap stack:
9: iload 2
bipush 32
if_icmpeq 10
iload 2
bipush 9
if_icmpne 14
10: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 11
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifne 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
13: goto 20
14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 18
15: aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 16: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
17: aload 0
aload 3
invokevirtual jdk.incubator.http.Http1HeaderParser.addHeaderFromString:(Ljava/lang/String;)V
end local 3 18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1HeaderParser.sb:Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
19: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/incubator/http/Http1HeaderParser;
0 21 1 input Ljava/nio/ByteBuffer;
2 21 2 c C
5 7 3 headerString Ljava/lang/String;
16 18 3 headerString Ljava/lang/String;
MethodParameters:
Name Flags
input
private void (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1HeaderParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR_LF_CR:Ljdk/incubator/http/Http1HeaderParser$State;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
istore 2
start local 2 2: iload 2
bipush 10
if_icmpne 7
3: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.FINISHED:Ljdk/incubator/http/Http1HeaderParser$State;
putfield jdk.incubator.http.Http1HeaderParser.state:Ljdk/incubator/http/Http1HeaderParser$State;
4: aload 0
aload 0
getfield jdk.incubator.http.Http1HeaderParser.privateMap:Ljava/util/Map;
invokestatic jdk.incubator.http.ImmutableHeaders.of:(Ljava/util/Map;)Ljdk/incubator/http/ImmutableHeaders;
putfield jdk.incubator.http.Http1HeaderParser.headers:Ljdk/incubator/http/HttpHeaders;
5: aload 0
aconst_null
putfield jdk.incubator.http.Http1HeaderParser.privateMap:Ljava/util/Map;
6: goto 8
7: StackMap locals: int
StackMap stack:
aload 0
ldc "Unexpected \"%s\", after CR LF CR"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
invokevirtual jdk.incubator.http.Http1HeaderParser.protocolException:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/net/ProtocolException;
athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/Http1HeaderParser;
0 9 1 input Ljava/nio/ByteBuffer;
2 9 2 c C
Exceptions:
throws java.net.ProtocolException
MethodParameters:
Name Flags
input
private java.net.ProtocolException (java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/net/ProtocolException;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.net.ProtocolException
dup
aload 1
aload 2
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1HeaderParser;
0 1 1 format Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
format
args
static int[] ();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.incubator.http.Http1HeaderParser.$SWITCH_TABLE$jdk$incubator$http$Http1HeaderParser$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.incubator.http.Http1HeaderParser$State.values:()[Ljdk/incubator/http/Http1HeaderParser$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.FINISHED:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
bipush 10
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
iconst_5
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR_LF:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
bipush 8
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_CR_LF_CR:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
bipush 9
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.HEADER_FOUND_LF:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
bipush 7
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
iconst_1
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE_END:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
iconst_3
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE_END_CR:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
iconst_4
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic jdk.incubator.http.Http1HeaderParser$State.STATUS_LINE_FOUND_CR:Ljdk/incubator/http/Http1HeaderParser$State;
invokevirtual jdk.incubator.http.Http1HeaderParser$State.ordinal:()I
iconst_2
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
dup
putstatic jdk.incubator.http.Http1HeaderParser.$SWITCH_TABLE$jdk$incubator$http$Http1HeaderParser$State:[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
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
private static java.util.List (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 k Ljava/lang/String;
}
SourceFile: "Http1HeaderParser.java"
NestMembers:
jdk.incubator.http.Http1HeaderParser$State
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final State = jdk.incubator.http.Http1HeaderParser$State of jdk.incubator.http.Http1HeaderParser