public class io.undertow.server.handlers.form.FormParserFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.server.handlers.form.FormParserFactory
super_class: java.lang.Object
{
private static final io.undertow.util.AttachmentKey<io.undertow.server.handlers.form.FormDataParser> ATTACHMENT_KEY;
descriptor: Lio/undertow/util/AttachmentKey;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/undertow/util/AttachmentKey<Lio/undertow/server/handlers/form/FormDataParser;>;
private final io.undertow.server.handlers.form.FormParserFactory$ParserDefinition[] parserDefinitions;
descriptor: [Lio/undertow/server/handlers/form/FormParserFactory$ParserDefinition;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/undertow/server/handlers/form/FormDataParser;
invokestatic io.undertow.util.AttachmentKey.create:(Ljava/lang/Class;)Lio/undertow/util/AttachmentKey;
putstatic io.undertow.server.handlers.form.FormParserFactory.ATTACHMENT_KEY:Lio/undertow/util/AttachmentKey;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.List<io.undertow.server.handlers.form.FormParserFactory$ParserDefinition>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray io.undertow.server.handlers.form.FormParserFactory$ParserDefinition
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast io.undertow.server.handlers.form.FormParserFactory$ParserDefinition[]
putfield io.undertow.server.handlers.form.FormParserFactory.parserDefinitions:[Lio/undertow/server/handlers/form/FormParserFactory$ParserDefinition;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/undertow/server/handlers/form/FormParserFactory;
0 3 1 parserDefinitions Ljava/util/List<Lio/undertow/server/handlers/form/FormParserFactory$ParserDefinition;>;
Signature: (Ljava/util/List<Lio/undertow/server/handlers/form/FormParserFactory$ParserDefinition;>;)V
MethodParameters:
Name Flags
parserDefinitions final
public io.undertow.server.handlers.form.FormDataParser createParser(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)Lio/undertow/server/handlers/form/FormDataParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getstatic io.undertow.server.handlers.form.FormParserFactory.ATTACHMENT_KEY:Lio/undertow/util/AttachmentKey;
invokevirtual io.undertow.server.HttpServerExchange.getAttachment:(Lio/undertow/util/AttachmentKey;)Ljava/lang/Object;
checkcast io.undertow.server.handlers.form.FormDataParser
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: io.undertow.server.handlers.form.FormDataParser
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 10
5: StackMap locals: int
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormParserFactory.parserDefinitions:[Lio/undertow/server/handlers/form/FormParserFactory$ParserDefinition;
iload 3
aaload
aload 1
invokeinterface io.undertow.server.handlers.form.FormParserFactory$ParserDefinition.create:(Lio/undertow/server/HttpServerExchange;)Lio/undertow/server/handlers/form/FormDataParser;
astore 4
start local 4 6: aload 4
ifnull 9
7: aload 1
getstatic io.undertow.server.handlers.form.FormParserFactory.ATTACHMENT_KEY:Lio/undertow/util/AttachmentKey;
aload 4
invokevirtual io.undertow.server.HttpServerExchange.putAttachment:(Lio/undertow/util/AttachmentKey;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 4
areturn
end local 4 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 0
getfield io.undertow.server.handlers.form.FormParserFactory.parserDefinitions:[Lio/undertow/server/handlers/form/FormParserFactory$ParserDefinition;
arraylength
if_icmplt 5
end local 3 11: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/undertow/server/handlers/form/FormParserFactory;
0 12 1 exchange Lio/undertow/server/HttpServerExchange;
1 12 2 existing Lio/undertow/server/handlers/form/FormDataParser;
4 11 3 i I
6 9 4 parser Lio/undertow/server/handlers/form/FormDataParser;
MethodParameters:
Name Flags
exchange final
public static io.undertow.server.handlers.form.FormParserFactory$Builder builder();
descriptor: ()Lio/undertow/server/handlers/form/FormParserFactory$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
invokestatic io.undertow.server.handlers.form.FormParserFactory.builder:(Z)Lio/undertow/server/handlers/form/FormParserFactory$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.undertow.server.handlers.form.FormParserFactory$Builder builder(boolean);
descriptor: (Z)Lio/undertow/server/handlers/form/FormParserFactory$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new io.undertow.server.handlers.form.FormParserFactory$Builder
dup
invokespecial io.undertow.server.handlers.form.FormParserFactory$Builder.<init>:()V
astore 1
start local 1 1: iload 0
ifeq 3
2: aload 1
iconst_2
anewarray io.undertow.server.handlers.form.FormParserFactory$ParserDefinition
dup
iconst_0
new io.undertow.server.handlers.form.FormEncodedDataDefinition
dup
invokespecial io.undertow.server.handlers.form.FormEncodedDataDefinition.<init>:()V
aastore
dup
iconst_1
new io.undertow.server.handlers.form.MultiPartParserDefinition
dup
invokespecial io.undertow.server.handlers.form.MultiPartParserDefinition.<init>:()V
aastore
invokevirtual io.undertow.server.handlers.form.FormParserFactory$Builder.addParsers:([Lio/undertow/server/handlers/form/FormParserFactory$ParserDefinition;)Lio/undertow/server/handlers/form/FormParserFactory$Builder;
pop
3: StackMap locals: io.undertow.server.handlers.form.FormParserFactory$Builder
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 includeDefault Z
1 4 1 builder Lio/undertow/server/handlers/form/FormParserFactory$Builder;
MethodParameters:
Name Flags
includeDefault
}
SourceFile: "FormParserFactory.java"
NestMembers:
io.undertow.server.handlers.form.FormParserFactory$Builder io.undertow.server.handlers.form.FormParserFactory$ParserDefinition
InnerClasses:
public Builder = io.undertow.server.handlers.form.FormParserFactory$Builder of io.undertow.server.handlers.form.FormParserFactory
public abstract ParserDefinition = io.undertow.server.handlers.form.FormParserFactory$ParserDefinition of io.undertow.server.handlers.form.FormParserFactory