public final class org.springframework.http.client.MultipartBodyBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.springframework.http.client.MultipartBodyBuilder
super_class: java.lang.Object
{
private final org.springframework.util.LinkedMultiValueMap<java.lang.String, org.springframework.http.client.MultipartBodyBuilder$DefaultPartBuilder> parts;
descriptor: Lorg/springframework/util/LinkedMultiValueMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/util/LinkedMultiValueMap<Ljava/lang/String;Lorg/springframework/http/client/MultipartBodyBuilder$DefaultPartBuilder;>;
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
new org.springframework.util.LinkedMultiValueMap
dup
invokespecial org.springframework.util.LinkedMultiValueMap.<init>:()V
putfield org.springframework.http.client.MultipartBodyBuilder.parts:Lorg/springframework/util/LinkedMultiValueMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/MultipartBodyBuilder;
public org.springframework.http.client.MultipartBodyBuilder$PartBuilder part(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/http/client/MultipartBodyBuilder$PartBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.springframework.http.client.MultipartBodyBuilder.part:(Ljava/lang/String;Ljava/lang/Object;Lorg/springframework/http/MediaType;)Lorg/springframework/http/client/MultipartBodyBuilder$PartBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/MultipartBodyBuilder;
0 1 1 name Ljava/lang/String;
0 1 2 part Ljava/lang/Object;
MethodParameters:
Name Flags
name
part
public org.springframework.http.client.MultipartBodyBuilder$PartBuilder part(java.lang.String, java.lang.Object, org.springframework.http.MediaType);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lorg/springframework/http/MediaType;)Lorg/springframework/http/client/MultipartBodyBuilder$PartBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc "'name' must not be empty"
invokestatic org.springframework.util.Assert.hasLength:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 2
ldc "'part' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 2
instanceof org.reactivestreams.Publisher
ifeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "Use publisher(String, Publisher, Class) or publisher(String, Publisher, ParameterizedTypeReference) for adding Publisher parts"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
instanceof org.springframework.http.client.MultipartBodyBuilder$PublisherEntity
ifeq 8
5: new org.springframework.http.client.MultipartBodyBuilder$PublisherPartBuilder
dup
aload 2
checkcast org.springframework.http.client.MultipartBodyBuilder$PublisherEntity
invokespecial org.springframework.http.client.MultipartBodyBuilder$PublisherPartBuilder.<init>:(Lorg/springframework/http/client/MultipartBodyBuilder$PublisherEntity;)V
astore 4
start local 4 6: aload 0
getfield org.springframework.http.client.MultipartBodyBuilder.parts:Lorg/springframework/util/LinkedMultiValueMap;
aload 1
aload 4
invokevirtual org.springframework.util.LinkedMultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
7: aload 4
areturn
end local 4 8: StackMap locals:
StackMap stack:
new org.springframework.http.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
astore 5
start local 5 9: aload 2
instanceof org.springframework.http.HttpEntity
ifeq 14
10: aload 2
checkcast org.springframework.http.HttpEntity
astore 6
start local 6 11: aload 6
invokevirtual org.springframework.http.HttpEntity.getBody:()Ljava/lang/Object;
astore 4
start local 4 12: aload 5
aload 6
invokevirtual org.springframework.http.HttpEntity.getHeaders:()Lorg/springframework/http/HttpHeaders;
invokevirtual org.springframework.http.HttpHeaders.addAll:(Lorg/springframework/util/MultiValueMap;)V
end local 6 13: goto 15
end local 4 14: StackMap locals: org.springframework.http.client.MultipartBodyBuilder java.lang.String java.lang.Object org.springframework.http.MediaType top org.springframework.http.HttpHeaders
StackMap stack:
aload 2
astore 4
start local 4 15: StackMap locals: org.springframework.http.client.MultipartBodyBuilder java.lang.String java.lang.Object org.springframework.http.MediaType java.lang.Object org.springframework.http.HttpHeaders
StackMap stack:
aload 3
ifnull 17
16: aload 5
aload 3
invokevirtual org.springframework.http.HttpHeaders.setContentType:(Lorg/springframework/http/MediaType;)V
17: StackMap locals:
StackMap stack:
new org.springframework.http.client.MultipartBodyBuilder$DefaultPartBuilder
dup
aload 5
aload 4
invokespecial org.springframework.http.client.MultipartBodyBuilder$DefaultPartBuilder.<init>:(Lorg/springframework/http/HttpHeaders;Ljava/lang/Object;)V
astore 6
start local 6 18: aload 0
getfield org.springframework.http.client.MultipartBodyBuilder.parts:Lorg/springframework/util/LinkedMultiValueMap;
aload 1
aload 6
invokevirtual org.springframework.util.LinkedMultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
19: aload 6
areturn
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/client/MultipartBodyBuilder;
0 20 1 name Ljava/lang/String;
0 20 2 part Ljava/lang/Object;
0 20 3 contentType Lorg/springframework/http/MediaType;
6 8 4 builder Lorg/springframework/http/client/MultipartBodyBuilder$PublisherPartBuilder<**>;
12 14 4 partBody Ljava/lang/Object;
15 20 4 partBody Ljava/lang/Object;
9 20 5 partHeaders Lorg/springframework/http/HttpHeaders;
11 13 6 httpEntity Lorg/springframework/http/HttpEntity<*>;
18 20 6 builder Lorg/springframework/http/client/MultipartBodyBuilder$DefaultPartBuilder;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
part
contentType
public <T, P extends org.reactivestreams.Publisher<T>> org.springframework.http.client.MultipartBodyBuilder$PartBuilder asyncPart(java.lang.String, P, java.lang.Class<T>);
descriptor: (Ljava/lang/String;Lorg/reactivestreams/Publisher;Ljava/lang/Class;)Lorg/springframework/http/client/MultipartBodyBuilder$PartBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc "'name' must not be empty"
invokestatic org.springframework.util.Assert.hasLength:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 2
ldc "'publisher' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 3
ldc "'elementClass' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: new org.springframework.http.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
astore 4
start local 4 4: new org.springframework.http.client.MultipartBodyBuilder$PublisherPartBuilder
dup
aload 4
aload 2
aload 3
invokespecial org.springframework.http.client.MultipartBodyBuilder$PublisherPartBuilder.<init>:(Lorg/springframework/http/HttpHeaders;Lorg/reactivestreams/Publisher;Ljava/lang/Class;)V
astore 5
start local 5 5: aload 0
getfield org.springframework.http.client.MultipartBodyBuilder.parts:Lorg/springframework/util/LinkedMultiValueMap;
aload 1
aload 5
invokevirtual org.springframework.util.LinkedMultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
6: aload 5
areturn
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 7 0 this Lorg/springframework/http/client/MultipartBodyBuilder;
0 7 1 name Ljava/lang/String;
0 7 2 publisher TP;
0 7 3 elementClass Ljava/lang/Class<TT;>;
4 7 4 headers Lorg/springframework/http/HttpHeaders;
5 7 5 builder Lorg/springframework/http/client/MultipartBodyBuilder$PublisherPartBuilder<TT;TP;>;
Signature: <T:Ljava/lang/Object;P::Lorg/reactivestreams/Publisher<TT;>;>(Ljava/lang/String;TP;Ljava/lang/Class<TT;>;)Lorg/springframework/http/client/MultipartBodyBuilder$PartBuilder;
MethodParameters:
Name Flags
name
publisher
elementClass
public <T, P extends org.reactivestreams.Publisher<T>> org.springframework.http.client.MultipartBodyBuilder$PartBuilder asyncPart(java.lang.String, P, org.springframework.core.ParameterizedTypeReference<T>);
descriptor: (Ljava/lang/String;Lorg/reactivestreams/Publisher;Lorg/springframework/core/ParameterizedTypeReference;)Lorg/springframework/http/client/MultipartBodyBuilder$PartBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc "'name' must not be empty"
invokestatic org.springframework.util.Assert.hasLength:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 2
ldc "'publisher' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 3
ldc "'typeReference' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: new org.springframework.http.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
astore 4
start local 4 4: new org.springframework.http.client.MultipartBodyBuilder$PublisherPartBuilder
dup
aload 4
aload 2
aload 3
invokespecial org.springframework.http.client.MultipartBodyBuilder$PublisherPartBuilder.<init>:(Lorg/springframework/http/HttpHeaders;Lorg/reactivestreams/Publisher;Lorg/springframework/core/ParameterizedTypeReference;)V
astore 5
start local 5 5: aload 0
getfield org.springframework.http.client.MultipartBodyBuilder.parts:Lorg/springframework/util/LinkedMultiValueMap;
aload 1
aload 5
invokevirtual org.springframework.util.LinkedMultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
6: aload 5
areturn
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 7 0 this Lorg/springframework/http/client/MultipartBodyBuilder;
0 7 1 name Ljava/lang/String;
0 7 2 publisher TP;
0 7 3 typeReference Lorg/springframework/core/ParameterizedTypeReference<TT;>;
4 7 4 headers Lorg/springframework/http/HttpHeaders;
5 7 5 builder Lorg/springframework/http/client/MultipartBodyBuilder$PublisherPartBuilder<TT;TP;>;
Signature: <T:Ljava/lang/Object;P::Lorg/reactivestreams/Publisher<TT;>;>(Ljava/lang/String;TP;Lorg/springframework/core/ParameterizedTypeReference<TT;>;)Lorg/springframework/http/client/MultipartBodyBuilder$PartBuilder;
MethodParameters:
Name Flags
name
publisher
typeReference
public org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.HttpEntity<?>> build();
descriptor: ()Lorg/springframework/util/MultiValueMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new org.springframework.util.LinkedMultiValueMap
dup
aload 0
getfield org.springframework.http.client.MultipartBodyBuilder.parts:Lorg/springframework/util/LinkedMultiValueMap;
invokevirtual org.springframework.util.LinkedMultiValueMap.size:()I
invokespecial org.springframework.util.LinkedMultiValueMap.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield org.springframework.http.client.MultipartBodyBuilder.parts:Lorg/springframework/util/LinkedMultiValueMap;
invokevirtual org.springframework.util.LinkedMultiValueMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.springframework.http.client.MultipartBodyBuilder org.springframework.util.MultiValueMap top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.springframework.http.client.MultipartBodyBuilder org.springframework.util.MultiValueMap java.util.Map$Entry java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.http.client.MultipartBodyBuilder$DefaultPartBuilder
astore 4
start local 4 5: aload 4
invokevirtual org.springframework.http.client.MultipartBodyBuilder$DefaultPartBuilder.build:()Lorg/springframework/http/HttpEntity;
astore 6
start local 6 6: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 6
invokeinterface org.springframework.util.MultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 6 end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 8: StackMap locals: org.springframework.http.client.MultipartBodyBuilder org.springframework.util.MultiValueMap top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/http/client/MultipartBodyBuilder;
1 10 1 result Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/HttpEntity<*>;>;
3 8 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Lorg/springframework/http/client/MultipartBodyBuilder$DefaultPartBuilder;>;>;
5 7 4 builder Lorg/springframework/http/client/MultipartBodyBuilder$DefaultPartBuilder;
6 7 6 entity Lorg/springframework/http/HttpEntity<*>;
Signature: ()Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/HttpEntity<*>;>;
}
SourceFile: "MultipartBodyBuilder.java"
NestMembers:
org.springframework.http.client.MultipartBodyBuilder$DefaultPartBuilder org.springframework.http.client.MultipartBodyBuilder$PartBuilder org.springframework.http.client.MultipartBodyBuilder$PublisherEntity org.springframework.http.client.MultipartBodyBuilder$PublisherPartBuilder
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private DefaultPartBuilder = org.springframework.http.client.MultipartBodyBuilder$DefaultPartBuilder of org.springframework.http.client.MultipartBodyBuilder
public abstract PartBuilder = org.springframework.http.client.MultipartBodyBuilder$PartBuilder of org.springframework.http.client.MultipartBodyBuilder
public final PublisherEntity = org.springframework.http.client.MultipartBodyBuilder$PublisherEntity of org.springframework.http.client.MultipartBodyBuilder
private PublisherPartBuilder = org.springframework.http.client.MultipartBodyBuilder$PublisherPartBuilder of org.springframework.http.client.MultipartBodyBuilder