public class io.undertow.server.handlers.form.MultiPartParserDefinition implements io.undertow.server.handlers.form.FormParserFactory$ParserDefinition<io.undertow.server.handlers.form.MultiPartParserDefinition>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.server.handlers.form.MultiPartParserDefinition
super_class: java.lang.Object
{
public static final java.lang.String MULTIPART_FORM_DATA;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "multipart/form-data"
private java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0002) ACC_PRIVATE
private java.nio.file.Path tempFileLocation;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private java.lang.String defaultEncoding;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private long maxIndividualFileSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.displayName:()Ljava/lang/String;
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.defaultEncoding:Ljava/lang/String;
2: aload 0
ldc -1
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.maxIndividualFileSize:J
3: aload 0
ldc "java.io.tmpdir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.tempFileLocation:Ljava/nio/file/Path;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
public void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
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
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.displayName:()Ljava/lang/String;
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.defaultEncoding:Ljava/lang/String;
2: aload 0
ldc -1
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.maxIndividualFileSize:J
3: aload 0
aload 1
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.tempFileLocation:Ljava/nio/file/Path;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
0 5 1 tempDir Ljava/nio/file/Path;
MethodParameters:
Name Flags
tempDir final
public io.undertow.server.handlers.form.FormDataParser create(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)Lio/undertow/server/handlers/form/FormDataParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.undertow.server.HttpServerExchange.getRequestHeaders:()Lio/undertow/util/HeaderMap;
getstatic io.undertow.util.Headers.CONTENT_TYPE:Lio/undertow/util/HttpString;
invokevirtual io.undertow.util.HeaderMap.getFirst:(Lio/undertow/util/HttpString;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 13
aload 2
ldc "multipart/form-data"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
2: aload 2
ldc "boundary"
invokestatic io.undertow.util.Headers.extractQuotedValueFromHeader:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 3: aload 3
ifnonnull 6
4: getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
ldc "Could not find boundary in multipart request with ContentType: %s, multipart data will not be available"
aload 2
invokeinterface io.undertow.UndertowLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
5: aconst_null
areturn
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
new io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler
dup
aload 0
aload 1
aload 3
aload 0
getfield io.undertow.server.handlers.form.MultiPartParserDefinition.maxIndividualFileSize:J
aload 0
getfield io.undertow.server.handlers.form.MultiPartParserDefinition.defaultEncoding:Ljava/lang/String;
invokespecial io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler.<init>:(Lio/undertow/server/handlers/form/MultiPartParserDefinition;Lio/undertow/server/HttpServerExchange;Ljava/lang/String;JLjava/lang/String;)V
astore 4
start local 4 7: aload 1
new io.undertow.server.handlers.form.MultiPartParserDefinition$1
dup
aload 0
aload 4
invokespecial io.undertow.server.handlers.form.MultiPartParserDefinition$1.<init>:(Lio/undertow/server/handlers/form/MultiPartParserDefinition;Lio/undertow/server/handlers/form/MultiPartParserDefinition$MultiPartUploadHandler;)V
invokevirtual io.undertow.server.HttpServerExchange.addExchangeCompleteListener:(Lio/undertow/server/ExchangeCompletionListener;)Lio/undertow/server/HttpServerExchange;
pop
8: aload 1
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokevirtual io.undertow.server.ServerConnection.getUndertowOptions:()Lorg/xnio/OptionMap;
getstatic io.undertow.UndertowOptions.MULTIPART_MAX_ENTITY_SIZE:Lorg/xnio/Option;
invokevirtual org.xnio.OptionMap.get:(Lorg/xnio/Option;)Ljava/lang/Object;
checkcast java.lang.Long
astore 5
start local 5 9: aload 5
ifnull 11
10: aload 1
aload 5
invokevirtual java.lang.Long.longValue:()J
invokevirtual io.undertow.server.HttpServerExchange.setMaxEntitySize:(J)Lio/undertow/server/HttpServerExchange;
pop
11: StackMap locals: io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler java.lang.Long
StackMap stack:
getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
ldc "Created multipart parser for %s"
aload 1
invokeinterface io.undertow.UndertowLogger.tracef:(Ljava/lang/String;Ljava/lang/Object;)V
12: aload 4
areturn
end local 5 end local 4 end local 3 13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
0 14 1 exchange Lio/undertow/server/HttpServerExchange;
1 14 2 mimeType Ljava/lang/String;
3 13 3 boundary Ljava/lang/String;
7 13 4 parser Lio/undertow/server/handlers/form/MultiPartParserDefinition$MultiPartUploadHandler;
9 13 5 sizeLimit Ljava/lang/Long;
MethodParameters:
Name Flags
exchange final
public java.util.concurrent.Executor getExecutor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.server.handlers.form.MultiPartParserDefinition.executor:Ljava/util/concurrent/Executor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
public io.undertow.server.handlers.form.MultiPartParserDefinition setExecutor(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Lio/undertow/server/handlers/form/MultiPartParserDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.executor:Ljava/util/concurrent/Executor;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
0 2 1 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
executor final
public java.nio.file.Path getTempFileLocation();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.server.handlers.form.MultiPartParserDefinition.tempFileLocation:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
public io.undertow.server.handlers.form.MultiPartParserDefinition setTempFileLocation(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Lio/undertow/server/handlers/form/MultiPartParserDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.tempFileLocation:Ljava/nio/file/Path;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
0 2 1 tempFileLocation Ljava/nio/file/Path;
MethodParameters:
Name Flags
tempFileLocation
public java.lang.String getDefaultEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.server.handlers.form.MultiPartParserDefinition.defaultEncoding:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
public io.undertow.server.handlers.form.MultiPartParserDefinition setDefaultEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/undertow/server/handlers/form/MultiPartParserDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.defaultEncoding:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
0 2 1 defaultEncoding Ljava/lang/String;
MethodParameters:
Name Flags
defaultEncoding final
public long getMaxIndividualFileSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.server.handlers.form.MultiPartParserDefinition.maxIndividualFileSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
public void setMaxIndividualFileSize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield io.undertow.server.handlers.form.MultiPartParserDefinition.maxIndividualFileSize:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/server/handlers/form/MultiPartParserDefinition;
0 2 1 maxIndividualFileSize J
MethodParameters:
Name Flags
maxIndividualFileSize final
public java.lang.Object setDefaultEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.undertow.server.handlers.form.MultiPartParserDefinition.setDefaultEncoding:(Ljava/lang/String;)Lio/undertow/server/handlers/form/MultiPartParserDefinition;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/undertow/server/handlers/form/FormParserFactory$ParserDefinition<Lio/undertow/server/handlers/form/MultiPartParserDefinition;>;
SourceFile: "MultiPartParserDefinition.java"
NestMembers:
io.undertow.server.handlers.form.MultiPartParserDefinition$1 io.undertow.server.handlers.form.MultiPartParserDefinition$FileTooLargeException io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler$1 io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler$NonBlockingParseTask io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler$NonBlockingParseTask$1
InnerClasses:
public abstract ParserDefinition = io.undertow.server.handlers.form.FormParserFactory$ParserDefinition of io.undertow.server.handlers.form.FormParserFactory
io.undertow.server.handlers.form.MultiPartParserDefinition$1
public FileTooLargeException = io.undertow.server.handlers.form.MultiPartParserDefinition$FileTooLargeException of io.undertow.server.handlers.form.MultiPartParserDefinition
private final MultiPartUploadHandler = io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler of io.undertow.server.handlers.form.MultiPartParserDefinition