public final class org.eclipse.jetty.http.Syntax
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.jetty.http.Syntax
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/Syntax;
public static void requireValidRFC2616Token(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ldc "msg cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
ifnonnull 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 4: iload 2
ifne 6
5: return
6: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 7: goto 19
8: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 9: iload 4
bipush 31
if_icmple 10
iload 4
bipush 127
if_icmpne 11
10: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": RFC2616 tokens may not contain control characters"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
iload 4
bipush 40
if_icmpeq 15
iload 4
bipush 41
if_icmpeq 15
iload 4
bipush 60
if_icmpeq 15
iload 4
bipush 62
if_icmpeq 15
iload 4
bipush 64
if_icmpeq 15
12: iload 4
bipush 44
if_icmpeq 15
iload 4
bipush 59
if_icmpeq 15
iload 4
bipush 58
if_icmpeq 15
iload 4
bipush 92
if_icmpeq 15
iload 4
bipush 34
if_icmpeq 15
13: iload 4
bipush 47
if_icmpeq 15
iload 4
bipush 91
if_icmpeq 15
iload 4
bipush 93
if_icmpeq 15
iload 4
bipush 63
if_icmpeq 15
iload 4
bipush 61
if_icmpeq 15
14: iload 4
bipush 123
if_icmpeq 15
iload 4
bipush 125
if_icmpeq 15
iload 4
bipush 32
if_icmpne 16
15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": RFC2616 tokens may not contain separator character: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iload 4
sipush 128
if_icmplt 18
17: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": RFC2616 tokens characters restricted to US-ASCII: 0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 18: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
19: iload 3
iload 2
if_icmplt 8
end local 3 20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 value Ljava/lang/String;
0 21 1 msg Ljava/lang/String;
4 21 2 valueLen I
7 20 3 i I
9 18 4 c C
MethodParameters:
Name Flags
value
msg
public static void requireValidRFC6265CookieValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 3: iload 1
ifne 5
4: return
5: StackMap locals: int
StackMap stack:
iconst_0
istore 2
start local 2 6: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 23
7: iload 1
iconst_1
if_icmple 8
aload 0
iload 1
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpeq 9
8: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "RFC6265 Cookie values must have balanced DQUOTES (if used)"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iinc 2 1
10: iinc 1 -1
11: goto 23
12: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 13: iload 3
bipush 31
if_icmple 14
iload 3
bipush 127
if_icmpne 15
14: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "RFC6265 Cookie values may not contain control characters"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
iload 3
bipush 32
if_icmpeq 19
16: iload 3
bipush 34
if_icmpeq 19
17: iload 3
bipush 59
if_icmpeq 19
18: iload 3
bipush 92
if_icmpne 20
19: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "RFC6265 Cookie values may not contain character: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
iload 3
sipush 128
if_icmplt 22
21: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "RFC6265 Cookie values characters restricted to US-ASCII: 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 22: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
23: iload 2
iload 1
if_icmplt 12
24: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 value Ljava/lang/String;
3 25 1 valueLen I
6 25 2 i I
13 22 3 c C
MethodParameters:
Name Flags
value
}
SourceFile: "Syntax.java"