public final class org.eclipse.jetty.http.HttpCompliance implements org.eclipse.jetty.http.ComplianceViolation$Mode
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.jetty.http.HttpCompliance
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String VIOLATIONS_ATTR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.eclipse.jetty.http.compliance.violations"
public static final org.eclipse.jetty.http.HttpCompliance RFC7230;
descriptor: Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.eclipse.jetty.http.HttpCompliance RFC2616;
descriptor: Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.eclipse.jetty.http.HttpCompliance LEGACY;
descriptor: Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.eclipse.jetty.http.HttpCompliance RFC2616_LEGACY;
descriptor: Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.eclipse.jetty.http.HttpCompliance RFC7230_LEGACY;
descriptor: Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.util.List<org.eclipse.jetty.http.HttpCompliance> KNOWN_MODES;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/eclipse/jetty/http/HttpCompliance;>;
private static final java.util.concurrent.atomic.AtomicInteger __custom;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String _name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<org.eclipse.jetty.http.HttpCompliance$Violation> _violations;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/http/HttpParser;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.http.HttpCompliance.LOG:Lorg/slf4j/Logger;
1: new org.eclipse.jetty.http.HttpCompliance
dup
ldc "RFC7230"
ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
invokespecial org.eclipse.jetty.http.HttpCompliance.<init>:(Ljava/lang/String;Ljava/util/Set;)V
putstatic org.eclipse.jetty.http.HttpCompliance.RFC7230:Lorg/eclipse/jetty/http/HttpCompliance;
2: new org.eclipse.jetty.http.HttpCompliance
dup
ldc "RFC2616"
getstatic org.eclipse.jetty.http.HttpCompliance$Violation.HTTP_0_9:Lorg/eclipse/jetty/http/HttpCompliance$Violation;
getstatic org.eclipse.jetty.http.HttpCompliance$Violation.MULTILINE_FIELD_VALUE:Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
invokespecial org.eclipse.jetty.http.HttpCompliance.<init>:(Ljava/lang/String;Ljava/util/Set;)V
putstatic org.eclipse.jetty.http.HttpCompliance.RFC2616:Lorg/eclipse/jetty/http/HttpCompliance;
3: new org.eclipse.jetty.http.HttpCompliance
dup
ldc "LEGACY"
getstatic org.eclipse.jetty.http.HttpCompliance$Violation.CASE_INSENSITIVE_METHOD:Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.EnumSet.complementOf:(Ljava/util/EnumSet;)Ljava/util/EnumSet;
invokespecial org.eclipse.jetty.http.HttpCompliance.<init>:(Ljava/lang/String;Ljava/util/Set;)V
putstatic org.eclipse.jetty.http.HttpCompliance.LEGACY:Lorg/eclipse/jetty/http/HttpCompliance;
4: getstatic org.eclipse.jetty.http.HttpCompliance.RFC2616:Lorg/eclipse/jetty/http/HttpCompliance;
ldc "RFC2616_LEGACY"
iconst_4
anewarray org.eclipse.jetty.http.HttpCompliance$Violation
dup
iconst_0
5: getstatic org.eclipse.jetty.http.HttpCompliance$Violation.CASE_INSENSITIVE_METHOD:Lorg/eclipse/jetty/http/HttpCompliance$Violation;
aastore
dup
iconst_1
6: getstatic org.eclipse.jetty.http.HttpCompliance$Violation.NO_COLON_AFTER_FIELD_NAME:Lorg/eclipse/jetty/http/HttpCompliance$Violation;
aastore
dup
iconst_2
7: getstatic org.eclipse.jetty.http.HttpCompliance$Violation.TRANSFER_ENCODING_WITH_CONTENT_LENGTH:Lorg/eclipse/jetty/http/HttpCompliance$Violation;
aastore
dup
iconst_3
8: getstatic org.eclipse.jetty.http.HttpCompliance$Violation.MULTIPLE_CONTENT_LENGTHS:Lorg/eclipse/jetty/http/HttpCompliance$Violation;
aastore
9: invokevirtual org.eclipse.jetty.http.HttpCompliance.with:(Ljava/lang/String;[Lorg/eclipse/jetty/http/HttpCompliance$Violation;)Lorg/eclipse/jetty/http/HttpCompliance;
putstatic org.eclipse.jetty.http.HttpCompliance.RFC2616_LEGACY:Lorg/eclipse/jetty/http/HttpCompliance;
10: getstatic org.eclipse.jetty.http.HttpCompliance.RFC7230:Lorg/eclipse/jetty/http/HttpCompliance;
ldc "RFC7230_LEGACY"
iconst_1
anewarray org.eclipse.jetty.http.HttpCompliance$Violation
dup
iconst_0
getstatic org.eclipse.jetty.http.HttpCompliance$Violation.CASE_INSENSITIVE_METHOD:Lorg/eclipse/jetty/http/HttpCompliance$Violation;
aastore
invokevirtual org.eclipse.jetty.http.HttpCompliance.with:(Ljava/lang/String;[Lorg/eclipse/jetty/http/HttpCompliance$Violation;)Lorg/eclipse/jetty/http/HttpCompliance;
putstatic org.eclipse.jetty.http.HttpCompliance.RFC7230_LEGACY:Lorg/eclipse/jetty/http/HttpCompliance;
11: iconst_5
anewarray org.eclipse.jetty.http.HttpCompliance
dup
iconst_0
getstatic org.eclipse.jetty.http.HttpCompliance.RFC7230:Lorg/eclipse/jetty/http/HttpCompliance;
aastore
dup
iconst_1
getstatic org.eclipse.jetty.http.HttpCompliance.RFC2616:Lorg/eclipse/jetty/http/HttpCompliance;
aastore
dup
iconst_2
getstatic org.eclipse.jetty.http.HttpCompliance.LEGACY:Lorg/eclipse/jetty/http/HttpCompliance;
aastore
dup
iconst_3
getstatic org.eclipse.jetty.http.HttpCompliance.RFC2616_LEGACY:Lorg/eclipse/jetty/http/HttpCompliance;
aastore
dup
iconst_4
getstatic org.eclipse.jetty.http.HttpCompliance.RFC7230_LEGACY:Lorg/eclipse/jetty/http/HttpCompliance;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putstatic org.eclipse.jetty.http.HttpCompliance.KNOWN_MODES:Ljava/util/List;
12: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putstatic org.eclipse.jetty.http.HttpCompliance.__custom:Ljava/util/concurrent/atomic/AtomicInteger;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.eclipse.jetty.http.HttpCompliance valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic org.eclipse.jetty.http.HttpCompliance.KNOWN_MODES:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: java.lang.String top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.http.HttpCompliance
astore 1
start local 1 2: aload 1
invokevirtual org.eclipse.jetty.http.HttpCompliance.getName:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
2 4 1 compliance Lorg/eclipse/jetty/http/HttpCompliance;
MethodParameters:
Name Flags
name
public static org.eclipse.jetty.http.HttpCompliance from(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
ldc "\\s*,\\s*"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 1: aload 2
iconst_0
aaload
dup
astore 3
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
42: 2
48: 3
default: 8
}
StackMap locals: java.lang.String top java.lang.String[] java.lang.String
StackMap stack:
2: aload 3
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 8
StackMap locals:
StackMap stack:
3: aload 3
ldc "0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 8
4: StackMap locals:
StackMap stack:
ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
astore 1
start local 1 5: goto 13
end local 1 6: StackMap locals:
StackMap stack:
ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
astore 1
start local 1 7: goto 13
end local 1 8: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
invokestatic org.eclipse.jetty.http.HttpCompliance.valueOf:(Ljava/lang/String;)Lorg/eclipse/jetty/http/HttpCompliance;
astore 4
start local 4 9: aload 4
ifnonnull 12
10: ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
astore 1
start local 1 11: goto 13
end local 1 12: StackMap locals: org.eclipse.jetty.http.HttpCompliance
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.http.HttpCompliance.getAllowed:()Ljava/util/Set;
invokestatic org.eclipse.jetty.http.HttpCompliance.copyOf:(Ljava/util/Set;)Ljava/util/Set;
astore 1
end local 4 start local 1 13: StackMap locals: java.lang.String java.util.Set java.lang.String[]
StackMap stack:
iconst_1
istore 4
start local 4 14: goto 27
15: StackMap locals: java.lang.String java.util.Set java.lang.String[] top int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 16: aload 5
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 6
start local 6 17: iload 6
ifeq 19
18: aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
19: StackMap locals: java.lang.String int
StackMap stack:
aload 5
invokestatic org.eclipse.jetty.http.HttpCompliance$Violation.valueOf:(Ljava/lang/String;)Lorg/eclipse/jetty/http/HttpCompliance$Violation;
astore 7
start local 7 20: aload 7
ifnonnull 23
21: getstatic org.eclipse.jetty.http.HttpCompliance.LOG:Lorg/slf4j/Logger;
ldc "Unknown section '{}' in HttpCompliance spec: {}"
aload 5
aload 0
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
22: goto 26
23: StackMap locals: org.eclipse.jetty.http.HttpCompliance$Violation
StackMap stack:
iload 6
ifeq 25
24: aload 1
aload 7
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
goto 26
25: StackMap locals:
StackMap stack:
aload 1
aload 7
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 5 26: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
aload 2
arraylength
if_icmplt 15
end local 4 28: new org.eclipse.jetty.http.HttpCompliance
dup
new java.lang.StringBuilder
dup
ldc "CUSTOM"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.eclipse.jetty.http.HttpCompliance.__custom:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.eclipse.jetty.http.HttpCompliance.<init>:(Ljava/lang/String;Ljava/util/Set;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 spec Ljava/lang/String;
5 6 1 sections Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
7 8 1 sections Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
11 12 1 sections Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
13 29 1 sections Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
1 29 2 elements [Ljava/lang/String;
9 13 4 mode Lorg/eclipse/jetty/http/HttpCompliance;
14 28 4 i I
16 26 5 element Ljava/lang/String;
17 26 6 exclude Z
20 26 7 section Lorg/eclipse/jetty/http/HttpCompliance$Violation;
MethodParameters:
Name Flags
spec
private void <init>(java.lang.String, java.util.Set<org.eclipse.jetty.http.HttpCompliance$Violation>);
descriptor: (Ljava/lang/String;Ljava/util/Set;)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 2
invokestatic java.util.Objects.nonNull:(Ljava/lang/Object;)Z
pop
2: aload 0
aload 1
putfield org.eclipse.jetty.http.HttpCompliance._name:Ljava/lang/String;
3: aload 0
aload 2
invokeinterface java.util.Set.isEmpty:()Z
ifeq 4
ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
goto 5
StackMap locals: org.eclipse.jetty.http.HttpCompliance java.lang.String java.util.Set
StackMap stack: org.eclipse.jetty.http.HttpCompliance
4: aload 2
invokestatic org.eclipse.jetty.http.HttpCompliance.copyOf:(Ljava/util/Set;)Ljava/util/Set;
StackMap locals: org.eclipse.jetty.http.HttpCompliance java.lang.String java.util.Set
StackMap stack: org.eclipse.jetty.http.HttpCompliance java.util.Set
5: invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
putfield org.eclipse.jetty.http.HttpCompliance._violations:Ljava/util/Set;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/http/HttpCompliance;
0 7 1 name Ljava/lang/String;
0 7 2 violations Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
Signature: (Ljava/lang/String;Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;)V
MethodParameters:
Name Flags
name
violations
public boolean allows(org.eclipse.jetty.http.ComplianceViolation);
descriptor: (Lorg/eclipse/jetty/http/ComplianceViolation;)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.HttpCompliance._violations:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCompliance;
0 1 1 violation Lorg/eclipse/jetty/http/ComplianceViolation;
MethodParameters:
Name Flags
violation
public java.lang.String getName();
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.HttpCompliance._name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCompliance;
public java.util.Set<org.eclipse.jetty.http.HttpCompliance$Violation> getAllowed();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCompliance._violations:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCompliance;
Signature: ()Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
public java.util.Set<org.eclipse.jetty.http.HttpCompliance$Violation> getKnown();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCompliance;
Signature: ()Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
public org.eclipse.jetty.http.HttpCompliance with(java.lang.String, org.eclipse.jetty.http.HttpCompliance$Violation[]);
descriptor: (Ljava/lang/String;[Lorg/eclipse/jetty/http/HttpCompliance$Violation;)Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jetty.http.HttpCompliance._violations:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 1
ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.http.HttpCompliance._violations:Ljava/util/Set;
invokestatic org.eclipse.jetty.http.HttpCompliance.copyOf:(Ljava/util/Set;)Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
2: astore 3
start local 3 3: aload 3
aload 2
invokestatic org.eclipse.jetty.http.HttpCompliance.copyOf:([Lorg/eclipse/jetty/http/HttpCompliance$Violation;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
4: new org.eclipse.jetty.http.HttpCompliance
dup
aload 1
aload 3
invokespecial org.eclipse.jetty.http.HttpCompliance.<init>:(Ljava/lang/String;Ljava/util/Set;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/http/HttpCompliance;
0 5 1 name Ljava/lang/String;
0 5 2 violations [Lorg/eclipse/jetty/http/HttpCompliance$Violation;
3 5 3 union Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
MethodParameters:
Name Flags
name
violations
public org.eclipse.jetty.http.HttpCompliance without(java.lang.String, org.eclipse.jetty.http.HttpCompliance$Violation[]);
descriptor: (Ljava/lang/String;[Lorg/eclipse/jetty/http/HttpCompliance$Violation;)Lorg/eclipse/jetty/http/HttpCompliance;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jetty.http.HttpCompliance._violations:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 1
ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.http.HttpCompliance._violations:Ljava/util/Set;
invokestatic org.eclipse.jetty.http.HttpCompliance.copyOf:(Ljava/util/Set;)Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
2: astore 3
start local 3 3: aload 3
aload 2
invokestatic org.eclipse.jetty.http.HttpCompliance.copyOf:([Lorg/eclipse/jetty/http/HttpCompliance$Violation;)Ljava/util/Set;
invokeinterface java.util.Set.removeAll:(Ljava/util/Collection;)Z
pop
4: new org.eclipse.jetty.http.HttpCompliance
dup
aload 1
aload 3
invokespecial org.eclipse.jetty.http.HttpCompliance.<init>:(Ljava/lang/String;Ljava/util/Set;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/http/HttpCompliance;
0 5 1 name Ljava/lang/String;
0 5 2 violations [Lorg/eclipse/jetty/http/HttpCompliance$Violation;
3 5 3 remainder Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
MethodParameters:
Name Flags
name
violations
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.http.HttpCompliance._name:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.http.HttpCompliance._violations:Ljava/util/Set;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCompliance;
private static java.util.Set<org.eclipse.jetty.http.HttpCompliance$Violation> copyOf(org.eclipse.jetty.http.HttpCompliance$Violation[]);
descriptor: ([Lorg/eclipse/jetty/http/HttpCompliance$Violation;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 violations [Lorg/eclipse/jetty/http/HttpCompliance$Violation;
Signature: ([Lorg/eclipse/jetty/http/HttpCompliance$Violation;)Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
MethodParameters:
Name Flags
violations
private static java.util.Set<org.eclipse.jetty.http.HttpCompliance$Violation> copyOf(java.util.Set<org.eclipse.jetty.http.HttpCompliance$Violation>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Set.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
ldc Lorg/eclipse/jetty/http/HttpCompliance$Violation;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 violations Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
Signature: (Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;)Ljava/util/Set<Lorg/eclipse/jetty/http/HttpCompliance$Violation;>;
MethodParameters:
Name Flags
violations
}
SourceFile: "HttpCompliance.java"
NestMembers:
org.eclipse.jetty.http.HttpCompliance$Violation
InnerClasses:
public abstract Mode = org.eclipse.jetty.http.ComplianceViolation$Mode of org.eclipse.jetty.http.ComplianceViolation
public final Violation = org.eclipse.jetty.http.HttpCompliance$Violation of org.eclipse.jetty.http.HttpCompliance