public class org.springframework.http.converter.FormHttpMessageConverter implements org.springframework.http.converter.HttpMessageConverter<org.springframework.util.MultiValueMap<java.lang.String, ?>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.converter.FormHttpMessageConverter
super_class: java.lang.Object
{
public static final java.nio.charset.Charset DEFAULT_CHARSET;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final org.springframework.http.MediaType DEFAULT_FORM_DATA_MEDIA_TYPE;
descriptor: Lorg/springframework/http/MediaType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.util.List<org.springframework.http.MediaType> supportedMediaTypes;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/springframework/http/MediaType;>;
private java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> partConverters;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/springframework/http/converter/HttpMessageConverter<*>;>;
private java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
private java.nio.charset.Charset multipartCharset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
putstatic org.springframework.http.converter.FormHttpMessageConverter.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
1: new org.springframework.http.MediaType
dup
getstatic org.springframework.http.MediaType.APPLICATION_FORM_URLENCODED:Lorg/springframework/http/MediaType;
getstatic org.springframework.http.converter.FormHttpMessageConverter.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
invokespecial org.springframework.http.MediaType.<init>:(Lorg/springframework/http/MediaType;Ljava/nio/charset/Charset;)V
2: putstatic org.springframework.http.converter.FormHttpMessageConverter.DEFAULT_FORM_DATA_MEDIA_TYPE:Lorg/springframework/http/MediaType;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.springframework.http.converter.FormHttpMessageConverter.supportedMediaTypes:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.springframework.http.converter.FormHttpMessageConverter.partConverters:Ljava/util/List;
3: aload 0
getstatic org.springframework.http.converter.FormHttpMessageConverter.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
putfield org.springframework.http.converter.FormHttpMessageConverter.charset:Ljava/nio/charset/Charset;
4: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.supportedMediaTypes:Ljava/util/List;
getstatic org.springframework.http.MediaType.APPLICATION_FORM_URLENCODED:Lorg/springframework/http/MediaType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.supportedMediaTypes:Ljava/util/List;
getstatic org.springframework.http.MediaType.MULTIPART_FORM_DATA:Lorg/springframework/http/MediaType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: new org.springframework.http.converter.StringHttpMessageConverter
dup
invokespecial org.springframework.http.converter.StringHttpMessageConverter.<init>:()V
astore 1
start local 1 7: aload 1
iconst_0
invokevirtual org.springframework.http.converter.StringHttpMessageConverter.setWriteAcceptCharset:(Z)V
8: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.partConverters:Ljava/util/List;
new org.springframework.http.converter.ByteArrayHttpMessageConverter
dup
invokespecial org.springframework.http.converter.ByteArrayHttpMessageConverter.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.partConverters:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.partConverters:Ljava/util/List;
new org.springframework.http.converter.ResourceHttpMessageConverter
dup
invokespecial org.springframework.http.converter.ResourceHttpMessageConverter.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 0
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.applyDefaultCharset:()V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
7 13 1 stringHttpMessageConverter Lorg/springframework/http/converter/StringHttpMessageConverter;
public void setSupportedMediaTypes(java.util.List<org.springframework.http.MediaType>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.http.converter.FormHttpMessageConverter.supportedMediaTypes:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 2 1 supportedMediaTypes Ljava/util/List<Lorg/springframework/http/MediaType;>;
Signature: (Ljava/util/List<Lorg/springframework/http/MediaType;>;)V
MethodParameters:
Name Flags
supportedMediaTypes
public java.util.List<org.springframework.http.MediaType> getSupportedMediaTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.supportedMediaTypes:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
Signature: ()Ljava/util/List<Lorg/springframework/http/MediaType;>;
public void setPartConverters(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "'partConverters' must not be empty"
invokestatic org.springframework.util.Assert.notEmpty:(Ljava/util/Collection;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.http.converter.FormHttpMessageConverter.partConverters:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 3 1 partConverters Ljava/util/List<Lorg/springframework/http/converter/HttpMessageConverter<*>;>;
Signature: (Ljava/util/List<Lorg/springframework/http/converter/HttpMessageConverter<*>;>;)V
MethodParameters:
Name Flags
partConverters
public void addPartConverter(org.springframework.http.converter.HttpMessageConverter<?>);
descriptor: (Lorg/springframework/http/converter/HttpMessageConverter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "'partConverter' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.partConverters:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 3 1 partConverter Lorg/springframework/http/converter/HttpMessageConverter<*>;
Signature: (Lorg/springframework/http/converter/HttpMessageConverter<*>;)V
MethodParameters:
Name Flags
partConverter
public void setCharset(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.charset:Ljava/nio/charset/Charset;
if_acmpeq 5
1: aload 0
aload 1
ifnull 2
aload 1
goto 3
StackMap locals:
StackMap stack: org.springframework.http.converter.FormHttpMessageConverter
2: getstatic org.springframework.http.converter.FormHttpMessageConverter.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.nio.charset.Charset
StackMap stack: org.springframework.http.converter.FormHttpMessageConverter java.nio.charset.Charset
3: putfield org.springframework.http.converter.FormHttpMessageConverter.charset:Ljava/nio/charset/Charset;
4: aload 0
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.applyDefaultCharset:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 6 1 charset Ljava/nio/charset/Charset;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
charset
private void applyDefaultCharset();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.partConverters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.http.converter.HttpMessageConverter
astore 1
start local 1 2: aload 1
instanceof org.springframework.http.converter.AbstractHttpMessageConverter
ifeq 6
3: aload 1
checkcast org.springframework.http.converter.AbstractHttpMessageConverter
astore 3
start local 3 4: aload 3
invokevirtual org.springframework.http.converter.AbstractHttpMessageConverter.getDefaultCharset:()Ljava/nio/charset/Charset;
ifnull 6
5: aload 3
aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.charset:Ljava/nio/charset/Charset;
invokevirtual org.springframework.http.converter.AbstractHttpMessageConverter.setDefaultCharset:(Ljava/nio/charset/Charset;)V
end local 3 end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
2 6 1 candidate Lorg/springframework/http/converter/HttpMessageConverter<*>;
4 6 3 converter Lorg/springframework/http/converter/AbstractHttpMessageConverter<*>;
public void setMultipartCharset(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.http.converter.FormHttpMessageConverter.multipartCharset:Ljava/nio/charset/Charset;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 2 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
public boolean canRead(java.lang.Class<?>, org.springframework.http.MediaType);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: ldc Lorg/springframework/util/MultiValueMap;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.getSupportedMediaTypes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.lang.Class org.springframework.http.MediaType top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.http.MediaType
astore 3
start local 3 6: aload 3
getstatic org.springframework.http.MediaType.MULTIPART_FORM_DATA:Lorg/springframework/http/MediaType;
invokevirtual org.springframework.http.MediaType.equals:(Ljava/lang/Object;)Z
ifne 8
aload 3
aload 2
invokevirtual org.springframework.http.MediaType.includes:(Lorg/springframework/http/MediaType;)Z
ifeq 8
7: iconst_1
ireturn
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 10 1 clazz Ljava/lang/Class<*>;
0 10 2 mediaType Lorg/springframework/http/MediaType;
6 8 3 supportedMediaType Lorg/springframework/http/MediaType;
Signature: (Ljava/lang/Class<*>;Lorg/springframework/http/MediaType;)Z
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
clazz
mediaType
public boolean canWrite(java.lang.Class<?>, org.springframework.http.MediaType);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: ldc Lorg/springframework/util/MultiValueMap;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
ifnull 3
getstatic org.springframework.http.MediaType.ALL:Lorg/springframework/http/MediaType;
aload 2
invokevirtual org.springframework.http.MediaType.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.getSupportedMediaTypes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.lang.Class org.springframework.http.MediaType top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.http.MediaType
astore 3
start local 3 6: aload 3
aload 2
invokevirtual org.springframework.http.MediaType.isCompatibleWith:(Lorg/springframework/http/MediaType;)Z
ifeq 8
7: iconst_1
ireturn
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 10 1 clazz Ljava/lang/Class<*>;
0 10 2 mediaType Lorg/springframework/http/MediaType;
6 8 3 supportedMediaType Lorg/springframework/http/MediaType;
Signature: (Ljava/lang/Class<*>;Lorg/springframework/http/MediaType;)Z
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
clazz
mediaType
public org.springframework.util.MultiValueMap<java.lang.String, java.lang.String> read(java.lang.Class<? extends org.springframework.util.MultiValueMap<java.lang.String, ?>>, org.springframework.http.HttpInputMessage);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/HttpInputMessage;)Lorg/springframework/util/MultiValueMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.springframework.http.HttpInputMessage.getHeaders:()Lorg/springframework/http/HttpHeaders;
invokevirtual org.springframework.http.HttpHeaders.getContentType:()Lorg/springframework/http/MediaType;
astore 3
start local 3 1: aload 3
ifnull 3
aload 3
invokevirtual org.springframework.http.MediaType.getCharset:()Ljava/nio/charset/Charset;
ifnull 3
2: aload 3
invokevirtual org.springframework.http.MediaType.getCharset:()Ljava/nio/charset/Charset;
goto 4
StackMap locals: org.springframework.http.MediaType
StackMap stack:
3: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.charset:Ljava/nio/charset/Charset;
4: StackMap locals:
StackMap stack: java.nio.charset.Charset
astore 4
start local 4 5: aload 2
invokeinterface org.springframework.http.HttpInputMessage.getBody:()Ljava/io/InputStream;
aload 4
invokestatic org.springframework.util.StreamUtils.copyToString:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/lang/String;
astore 5
start local 5 6: aload 5
ldc "&"
invokestatic org.springframework.util.StringUtils.tokenizeToStringArray:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 6
start local 6 7: new org.springframework.util.LinkedMultiValueMap
dup
aload 6
arraylength
invokespecial org.springframework.util.LinkedMultiValueMap.<init>:(I)V
astore 7
start local 7 8: aload 6
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 18
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.lang.Class org.springframework.http.HttpInputMessage org.springframework.http.MediaType java.nio.charset.Charset java.lang.String java.lang.String[] org.springframework.util.MultiValueMap top int int java.lang.String[]
StackMap stack:
9: aload 11
iload 9
aaload
astore 8
start local 8 10: aload 8
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 12
start local 12 11: iload 12
iconst_m1
if_icmpne 14
12: aload 7
aload 8
aload 4
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aconst_null
invokeinterface org.springframework.util.MultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
13: goto 17
14: StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.lang.Class org.springframework.http.HttpInputMessage org.springframework.http.MediaType java.nio.charset.Charset java.lang.String java.lang.String[] org.springframework.util.MultiValueMap java.lang.String int int java.lang.String[] int
StackMap stack:
aload 8
iconst_0
iload 12
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aload 4
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 13
start local 13 15: aload 8
iload 12
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 4
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 14
start local 14 16: aload 7
aload 13
aload 14
invokeinterface org.springframework.util.MultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 14 end local 13 end local 12 end local 8 17: StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.lang.Class org.springframework.http.HttpInputMessage org.springframework.http.MediaType java.nio.charset.Charset java.lang.String java.lang.String[] org.springframework.util.MultiValueMap top int int java.lang.String[]
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
18: iload 9
iload 10
if_icmplt 9
19: aload 7
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 20 1 clazz Ljava/lang/Class<+Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;>;
0 20 2 inputMessage Lorg/springframework/http/HttpInputMessage;
1 20 3 contentType Lorg/springframework/http/MediaType;
5 20 4 charset Ljava/nio/charset/Charset;
6 20 5 body Ljava/lang/String;
7 20 6 pairs [Ljava/lang/String;
8 20 7 result Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;
10 17 8 pair Ljava/lang/String;
11 17 12 idx I
15 17 13 name Ljava/lang/String;
16 17 14 value Ljava/lang/String;
Exceptions:
throws java.io.IOException, org.springframework.http.converter.HttpMessageNotReadableException
Signature: (Ljava/lang/Class<+Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;>;Lorg/springframework/http/HttpInputMessage;)Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
clazz
inputMessage
public void write(org.springframework.util.MultiValueMap<java.lang.String, ?>, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage);
descriptor: (Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.isMultipart:(Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/MediaType;)Z
ifne 3
1: aload 0
aload 1
aload 2
aload 3
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.writeForm:(Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.writeMultipart:(Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/HttpOutputMessage;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 5 1 map Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;
0 5 2 contentType Lorg/springframework/http/MediaType;
0 5 3 outputMessage Lorg/springframework/http/HttpOutputMessage;
Exceptions:
throws java.io.IOException, org.springframework.http.converter.HttpMessageNotWritableException
Signature: (Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
MethodParameters:
Name Flags
map
contentType
outputMessage
private boolean isMultipart(org.springframework.util.MultiValueMap<java.lang.String, ?>, org.springframework.http.MediaType);
descriptor: (Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/MediaType;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 2
1: getstatic org.springframework.http.MediaType.MULTIPART_FORM_DATA:Lorg/springframework/http/MediaType;
aload 2
invokevirtual org.springframework.http.MediaType.includes:(Lorg/springframework/http/MediaType;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.springframework.util.MultiValueMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter org.springframework.util.MultiValueMap org.springframework.http.MediaType top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 1
aload 3
invokeinterface org.springframework.util.MultiValueMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter org.springframework.util.MultiValueMap org.springframework.http.MediaType java.lang.String java.util.Iterator top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 6: aload 5
ifnull 8
aload 5
instanceof java.lang.String
ifne 8
7: iconst_1
ireturn
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 9: StackMap locals: org.springframework.http.converter.FormHttpMessageConverter org.springframework.util.MultiValueMap org.springframework.http.MediaType top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 11 1 map Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;
0 11 2 contentType Lorg/springframework/http/MediaType;
4 9 3 name Ljava/lang/String;
6 8 5 value Ljava/lang/Object;
Signature: (Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;Lorg/springframework/http/MediaType;)Z
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
map
contentType
private void writeForm(org.springframework.util.MultiValueMap<java.lang.String, java.lang.Object>, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage);
descriptor: (Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.getMediaType:(Lorg/springframework/http/MediaType;)Lorg/springframework/http/MediaType;
astore 2
1: aload 3
invokeinterface org.springframework.http.HttpOutputMessage.getHeaders:()Lorg/springframework/http/HttpHeaders;
aload 2
invokevirtual org.springframework.http.HttpHeaders.setContentType:(Lorg/springframework/http/MediaType;)V
2: aload 2
invokevirtual org.springframework.http.MediaType.getCharset:()Ljava/nio/charset/Charset;
astore 4
start local 4 3: aload 4
ldc "No charset"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 0
aload 1
aload 4
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.serializeForm:(Lorg/springframework/util/MultiValueMap;Ljava/nio/charset/Charset;)Ljava/lang/String;
aload 4
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 5
start local 5 5: aload 3
invokeinterface org.springframework.http.HttpOutputMessage.getHeaders:()Lorg/springframework/http/HttpHeaders;
aload 5
arraylength
i2l
invokevirtual org.springframework.http.HttpHeaders.setContentLength:(J)V
6: aload 3
instanceof org.springframework.http.StreamingHttpOutputMessage
ifeq 10
7: aload 3
checkcast org.springframework.http.StreamingHttpOutputMessage
astore 6
start local 6 8: aload 6
aload 5
invokedynamic writeTo([B)Lorg/springframework/http/StreamingHttpOutputMessage$Body;
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/io/OutputStream;)V
org/springframework/http/converter/FormHttpMessageConverter.lambda$0([BLjava/io/OutputStream;)V (6)
(Ljava/io/OutputStream;)V
invokeinterface org.springframework.http.StreamingHttpOutputMessage.setBody:(Lorg/springframework/http/StreamingHttpOutputMessage$Body;)V
end local 6 9: goto 11
10: StackMap locals: java.nio.charset.Charset byte[]
StackMap stack:
aload 5
aload 3
invokeinterface org.springframework.http.HttpOutputMessage.getBody:()Ljava/io/OutputStream;
invokestatic org.springframework.util.StreamUtils.copy:([BLjava/io/OutputStream;)V
11: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 12 1 formData Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;
0 12 2 contentType Lorg/springframework/http/MediaType;
0 12 3 outputMessage Lorg/springframework/http/HttpOutputMessage;
3 12 4 charset Ljava/nio/charset/Charset;
5 12 5 bytes [B
8 9 6 streamingOutputMessage Lorg/springframework/http/StreamingHttpOutputMessage;
Exceptions:
throws java.io.IOException
Signature: (Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
MethodParameters:
Name Flags
formData
contentType
outputMessage
private org.springframework.http.MediaType getMediaType(org.springframework.http.MediaType);
descriptor: (Lorg/springframework/http/MediaType;)Lorg/springframework/http/MediaType;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic org.springframework.http.converter.FormHttpMessageConverter.DEFAULT_FORM_DATA_MEDIA_TYPE:Lorg/springframework/http/MediaType;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.http.MediaType.getCharset:()Ljava/nio/charset/Charset;
ifnonnull 4
3: new org.springframework.http.MediaType
dup
aload 1
aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.charset:Ljava/nio/charset/Charset;
invokespecial org.springframework.http.MediaType.<init>:(Lorg/springframework/http/MediaType;Ljava/nio/charset/Charset;)V
areturn
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 5 1 mediaType Lorg/springframework/http/MediaType;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
mediaType
protected java.lang.String serializeForm(org.springframework.util.MultiValueMap<java.lang.String, java.lang.Object>, java.nio.charset.Charset);
descriptor: (Lorg/springframework/util/MultiValueMap;Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: aload 1
aload 3
aload 2
invokedynamic accept(Ljava/lang/StringBuilder;Ljava/nio/charset/Charset;)Ljava/util/function/BiConsumer;
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;)V
org/springframework/http/converter/FormHttpMessageConverter.lambda$1(Ljava/lang/StringBuilder;Ljava/nio/charset/Charset;Ljava/lang/String;Ljava/util/List;)V (6)
(Ljava/lang/String;Ljava/util/List;)V
invokeinterface org.springframework.util.MultiValueMap.forEach:(Ljava/util/function/BiConsumer;)V
2: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 3 1 formData Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;
0 3 2 charset Ljava/nio/charset/Charset;
1 3 3 builder Ljava/lang/StringBuilder;
Signature: (Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;Ljava/nio/charset/Charset;)Ljava/lang/String;
MethodParameters:
Name Flags
formData
charset
private void writeMultipart(org.springframework.util.MultiValueMap<java.lang.String, java.lang.Object>, org.springframework.http.HttpOutputMessage);
descriptor: (Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/HttpOutputMessage;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.generateMultipartBoundary:()[B
astore 3
start local 3 1: new java.util.LinkedHashMap
dup
iconst_2
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 4
start local 4 2: aload 0
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.isFilenameCharsetSet:()Z
ifne 4
3: aload 4
ldc "charset"
aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: byte[] java.util.Map
StackMap stack:
aload 4
ldc "boundary"
new java.lang.String
dup
aload 3
getstatic java.nio.charset.StandardCharsets.US_ASCII:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: new org.springframework.http.MediaType
dup
getstatic org.springframework.http.MediaType.MULTIPART_FORM_DATA:Lorg/springframework/http/MediaType;
aload 4
invokespecial org.springframework.http.MediaType.<init>:(Lorg/springframework/http/MediaType;Ljava/util/Map;)V
astore 5
start local 5 6: aload 2
invokeinterface org.springframework.http.HttpOutputMessage.getHeaders:()Lorg/springframework/http/HttpHeaders;
astore 6
start local 6 7: aload 6
aload 5
invokevirtual org.springframework.http.HttpHeaders.setContentType:(Lorg/springframework/http/MediaType;)V
8: aload 2
instanceof org.springframework.http.StreamingHttpOutputMessage
ifeq 12
9: aload 2
checkcast org.springframework.http.StreamingHttpOutputMessage
astore 7
start local 7 10: aload 7
aload 0
aload 1
aload 3
invokedynamic writeTo(Lorg/springframework/http/converter/FormHttpMessageConverter;Lorg/springframework/util/MultiValueMap;[B)Lorg/springframework/http/StreamingHttpOutputMessage$Body;
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/io/OutputStream;)V
org/springframework/http/converter/FormHttpMessageConverter.lambda$3(Lorg/springframework/util/MultiValueMap;[BLjava/io/OutputStream;)V (7)
(Ljava/io/OutputStream;)V
invokeinterface org.springframework.http.StreamingHttpOutputMessage.setBody:(Lorg/springframework/http/StreamingHttpOutputMessage$Body;)V
end local 7 11: goto 14
12: StackMap locals: org.springframework.http.MediaType org.springframework.http.HttpHeaders
StackMap stack:
aload 0
aload 2
invokeinterface org.springframework.http.HttpOutputMessage.getBody:()Ljava/io/OutputStream;
aload 1
aload 3
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.writeParts:(Ljava/io/OutputStream;Lorg/springframework/util/MultiValueMap;[B)V
13: aload 2
invokeinterface org.springframework.http.HttpOutputMessage.getBody:()Ljava/io/OutputStream;
aload 3
invokestatic org.springframework.http.converter.FormHttpMessageConverter.writeEnd:(Ljava/io/OutputStream;[B)V
14: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 15 1 parts Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;
0 15 2 outputMessage Lorg/springframework/http/HttpOutputMessage;
1 15 3 boundary [B
2 15 4 parameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 15 5 contentType Lorg/springframework/http/MediaType;
7 15 6 headers Lorg/springframework/http/HttpHeaders;
10 11 7 streamingOutputMessage Lorg/springframework/http/StreamingHttpOutputMessage;
Exceptions:
throws java.io.IOException
Signature: (Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;Lorg/springframework/http/HttpOutputMessage;)V
MethodParameters:
Name Flags
parts final
outputMessage
private boolean isFilenameCharsetSet();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.multipartCharset:Ljava/nio/charset/Charset;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
private void writeParts(java.io.OutputStream, org.springframework.util.MultiValueMap<java.lang.String, java.lang.Object>, );
descriptor: (Ljava/io/OutputStream;Lorg/springframework/util/MultiValueMap;[B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface org.springframework.util.MultiValueMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.io.OutputStream org.springframework.util.MultiValueMap byte[] top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 2: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 3: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 9
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.io.OutputStream org.springframework.util.MultiValueMap byte[] java.util.Map$Entry java.util.Iterator java.lang.String top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 7
start local 7 5: aload 7
ifnull 9
6: aload 0
aload 1
aload 3
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.writeBoundary:(Ljava/io/OutputStream;[B)V
7: aload 0
aload 6
aload 0
aload 7
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.getHttpEntity:(Ljava/lang/Object;)Lorg/springframework/http/HttpEntity;
aload 1
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.writePart:(Ljava/lang/String;Lorg/springframework/http/HttpEntity;Ljava/io/OutputStream;)V
8: aload 1
invokestatic org.springframework.http.converter.FormHttpMessageConverter.writeNewLine:(Ljava/io/OutputStream;)V
end local 7 9: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 6 end local 4 10: StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.io.OutputStream org.springframework.util.MultiValueMap byte[] top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 12 1 os Ljava/io/OutputStream;
0 12 2 parts Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;
0 12 3 boundary [B
2 10 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/Object;>;>;
3 10 6 name Ljava/lang/String;
5 9 7 part Ljava/lang/Object;
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/OutputStream;Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;[B)V
MethodParameters:
Name Flags
os
parts
boundary
private void writePart(java.lang.String, org.springframework.http.HttpEntity<?>, java.io.OutputStream);
descriptor: (Ljava/lang/String;Lorg/springframework/http/HttpEntity;Ljava/io/OutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.springframework.http.HttpEntity.getBody:()Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Empty body for part '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "': "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 5
start local 5 4: aload 2
invokevirtual org.springframework.http.HttpEntity.getHeaders:()Lorg/springframework/http/HttpHeaders;
astore 6
start local 6 5: aload 6
invokevirtual org.springframework.http.HttpHeaders.getContentType:()Lorg/springframework/http/MediaType;
astore 7
start local 7 6: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.partConverters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 18
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.lang.String org.springframework.http.HttpEntity java.io.OutputStream java.lang.Object java.lang.Class org.springframework.http.HttpHeaders org.springframework.http.MediaType top java.util.Iterator
StackMap stack:
7: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.http.converter.HttpMessageConverter
astore 8
start local 8 8: aload 8
aload 5
aload 7
invokeinterface org.springframework.http.converter.HttpMessageConverter.canWrite:(Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
ifeq 18
9: aload 0
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.isFilenameCharsetSet:()Z
ifeq 10
getstatic java.nio.charset.StandardCharsets.US_ASCII:Ljava/nio/charset/Charset;
goto 11
StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.lang.String org.springframework.http.HttpEntity java.io.OutputStream java.lang.Object java.lang.Class org.springframework.http.HttpHeaders org.springframework.http.MediaType org.springframework.http.converter.HttpMessageConverter java.util.Iterator
StackMap stack:
10: aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.charset:Ljava/nio/charset/Charset;
StackMap locals:
StackMap stack: java.nio.charset.Charset
11: astore 10
start local 10 12: new org.springframework.http.converter.FormHttpMessageConverter$MultipartHttpOutputMessage
dup
aload 3
aload 10
invokespecial org.springframework.http.converter.FormHttpMessageConverter$MultipartHttpOutputMessage.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
astore 11
start local 11 13: aload 11
invokeinterface org.springframework.http.HttpOutputMessage.getHeaders:()Lorg/springframework/http/HttpHeaders;
aload 1
aload 0
aload 4
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.getFilename:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.springframework.http.HttpHeaders.setContentDispositionFormData:(Ljava/lang/String;Ljava/lang/String;)V
14: aload 6
invokevirtual org.springframework.http.HttpHeaders.isEmpty:()Z
ifne 16
15: aload 11
invokeinterface org.springframework.http.HttpOutputMessage.getHeaders:()Lorg/springframework/http/HttpHeaders;
aload 6
invokevirtual org.springframework.http.HttpHeaders.putAll:(Ljava/util/Map;)V
16: StackMap locals: java.nio.charset.Charset org.springframework.http.HttpOutputMessage
StackMap stack:
aload 8
aload 4
aload 7
aload 11
invokeinterface org.springframework.http.converter.HttpMessageConverter.write:(Ljava/lang/Object;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
17: return
end local 11 end local 10 end local 8 18: StackMap locals: org.springframework.http.converter.FormHttpMessageConverter java.lang.String org.springframework.http.HttpEntity java.io.OutputStream java.lang.Object java.lang.Class org.springframework.http.HttpHeaders org.springframework.http.MediaType top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
19: new org.springframework.http.converter.HttpMessageNotWritableException
dup
new java.lang.StringBuilder
dup
ldc "Could not write request: no suitable HttpMessageConverter found for request type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: aload 5
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial org.springframework.http.converter.HttpMessageNotWritableException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 22 1 name Ljava/lang/String;
0 22 2 partEntity Lorg/springframework/http/HttpEntity<*>;
0 22 3 os Ljava/io/OutputStream;
1 22 4 partBody Ljava/lang/Object;
4 22 5 partType Ljava/lang/Class<*>;
5 22 6 partHeaders Lorg/springframework/http/HttpHeaders;
6 22 7 partContentType Lorg/springframework/http/MediaType;
8 18 8 messageConverter Lorg/springframework/http/converter/HttpMessageConverter<*>;
12 18 10 charset Ljava/nio/charset/Charset;
13 18 11 multipartMessage Lorg/springframework/http/HttpOutputMessage;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Lorg/springframework/http/HttpEntity<*>;Ljava/io/OutputStream;)V
MethodParameters:
Name Flags
name
partEntity
os
protected byte[] generateMultipartBoundary();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.springframework.util.MimeTypeUtils.generateMultipartBoundary:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
protected org.springframework.http.HttpEntity<?> getHttpEntity();
descriptor: (Ljava/lang/Object;)Lorg/springframework/http/HttpEntity;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.springframework.http.HttpEntity
ifeq 1
aload 1
checkcast org.springframework.http.HttpEntity
goto 2
StackMap locals:
StackMap stack:
1: new org.springframework.http.HttpEntity
dup
aload 1
invokespecial org.springframework.http.HttpEntity.<init>:(Ljava/lang/Object;)V
StackMap locals:
StackMap stack: org.springframework.http.HttpEntity
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 3 1 part Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Lorg/springframework/http/HttpEntity<*>;
MethodParameters:
Name Flags
part
protected java.lang.String getFilename(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.springframework.core.io.Resource
ifeq 6
1: aload 1
checkcast org.springframework.core.io.Resource
astore 2
start local 2 2: aload 2
invokeinterface org.springframework.core.io.Resource.getFilename:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
ifnull 5
aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.multipartCharset:Ljava/nio/charset/Charset;
ifnull 5
4: aload 3
aload 0
getfield org.springframework.http.converter.FormHttpMessageConverter.multipartCharset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokestatic org.springframework.http.converter.FormHttpMessageConverter$MimeDelegate.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
5: StackMap locals: org.springframework.core.io.Resource java.lang.String
StackMap stack:
aload 3
areturn
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 7 1 part Ljava/lang/Object;
2 6 2 resource Lorg/springframework/core/io/Resource;
3 6 3 filename Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
part
private void writeBoundary(java.io.OutputStream, byte[]);
descriptor: (Ljava/io/OutputStream;[B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
bipush 45
invokevirtual java.io.OutputStream.write:(I)V
1: aload 1
bipush 45
invokevirtual java.io.OutputStream.write:(I)V
2: aload 1
aload 2
invokevirtual java.io.OutputStream.write:([B)V
3: aload 1
invokestatic org.springframework.http.converter.FormHttpMessageConverter.writeNewLine:(Ljava/io/OutputStream;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 5 1 os Ljava/io/OutputStream;
0 5 2 boundary [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
boundary
private static void writeEnd(java.io.OutputStream, byte[]);
descriptor: (Ljava/io/OutputStream;[B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
bipush 45
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
bipush 45
invokevirtual java.io.OutputStream.write:(I)V
2: aload 0
aload 1
invokevirtual java.io.OutputStream.write:([B)V
3: aload 0
bipush 45
invokevirtual java.io.OutputStream.write:(I)V
4: aload 0
bipush 45
invokevirtual java.io.OutputStream.write:(I)V
5: aload 0
invokestatic org.springframework.http.converter.FormHttpMessageConverter.writeNewLine:(Ljava/io/OutputStream;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 os Ljava/io/OutputStream;
0 7 1 boundary [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
boundary
private static void writeNewLine(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 13
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
bipush 10
invokevirtual java.io.OutputStream.write:(I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
public void write(java.lang.Object, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage);
descriptor: (Ljava/lang/Object;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast org.springframework.util.MultiValueMap
aload 2
aload 3
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.write:(Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, org.springframework.http.converter.HttpMessageNotWritableException
public java.lang.Object read(java.lang.Class, org.springframework.http.HttpInputMessage);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/HttpInputMessage;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.lang.Class
aload 2
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.read:(Ljava/lang/Class;Lorg/springframework/http/HttpInputMessage;)Lorg/springframework/util/MultiValueMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, org.springframework.http.converter.HttpMessageNotReadableException
private static void lambda$0(byte[], java.io.OutputStream);
descriptor: ([BLjava/io/OutputStream;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokestatic org.springframework.util.StreamUtils.copy:([BLjava/io/OutputStream;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 outputStream Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
private static void lambda$1(java.lang.StringBuilder, java.nio.charset.Charset, java.lang.String, java.util.List);
descriptor: (Ljava/lang/StringBuilder;Ljava/nio/charset/Charset;Ljava/lang/String;Ljava/util/List;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 2 start local 3 0: aload 3
aload 0
aload 2
aload 1
invokedynamic accept(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/util/function/Consumer;
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;)V
org/springframework/http/converter/FormHttpMessageConverter.lambda$2(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/nio/charset/Charset;Ljava/lang/Object;)V (6)
(Ljava/lang/Object;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
1: return
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 2 2 name Ljava/lang/String;
0 2 3 values Ljava/util/List<Ljava/lang/Object;>;
private void lambda$3(org.springframework.util.MultiValueMap, byte[], java.io.OutputStream);
descriptor: (Lorg/springframework/util/MultiValueMap;[BLjava/io/OutputStream;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 3
aload 1
aload 2
invokevirtual org.springframework.http.converter.FormHttpMessageConverter.writeParts:(Ljava/io/OutputStream;Lorg/springframework/util/MultiValueMap;[B)V
1: aload 3
aload 2
invokestatic org.springframework.http.converter.FormHttpMessageConverter.writeEnd:(Ljava/io/OutputStream;[B)V
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/FormHttpMessageConverter;
0 3 3 outputStream Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
private static void lambda$2(java.lang.StringBuilder, java.lang.String, java.nio.charset.Charset, java.lang.Object);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/nio/charset/Charset;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=4
start local 3 0: aload 0
invokevirtual java.lang.StringBuilder.length:()I
ifeq 2
1: aload 0
bipush 38
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 3
ifnull 9
4: aload 0
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 0
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 9
7: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 4
start local 4 8: new java.lang.IllegalStateException
dup
aload 4
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 9: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 10 3 value Ljava/lang/Object;
8 9 4 ex Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
0 6 7 Class java.io.UnsupportedEncodingException
}
Signature: Ljava/lang/Object;Lorg/springframework/http/converter/HttpMessageConverter<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;>;
SourceFile: "FormHttpMessageConverter.java"
NestMembers:
org.springframework.http.converter.FormHttpMessageConverter$MimeDelegate org.springframework.http.converter.FormHttpMessageConverter$MultipartHttpOutputMessage
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public abstract Body = org.springframework.http.StreamingHttpOutputMessage$Body of org.springframework.http.StreamingHttpOutputMessage
private MimeDelegate = org.springframework.http.converter.FormHttpMessageConverter$MimeDelegate of org.springframework.http.converter.FormHttpMessageConverter
private MultipartHttpOutputMessage = org.springframework.http.converter.FormHttpMessageConverter$MultipartHttpOutputMessage of org.springframework.http.converter.FormHttpMessageConverter