public class org.springframework.http.codec.multipart.MultipartHttpMessageWriter extends org.springframework.http.codec.LoggingCodecSupport implements org.springframework.http.codec.HttpMessageWriter<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.codec.multipart.MultipartHttpMessageWriter
super_class: org.springframework.http.codec.LoggingCodecSupport
{
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 java.util.Map<java.lang.String, java.lang.Object> DEFAULT_HINTS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private final java.util.List<org.springframework.http.codec.HttpMessageWriter<?>> partWriters;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/http/codec/HttpMessageWriter<*>;>;
private final org.springframework.http.codec.HttpMessageWriter<org.springframework.util.MultiValueMap<java.lang.String, java.lang.String>> formWriter;
descriptor: Lorg/springframework/http/codec/HttpMessageWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/http/codec/HttpMessageWriter<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<org.springframework.http.MediaType> supportedMediaTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/http/MediaType;>;
private final org.springframework.core.io.buffer.DataBufferFactory bufferFactory;
descriptor: Lorg/springframework/core/io/buffer/DataBufferFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
putstatic org.springframework.http.codec.multipart.MultipartHttpMessageWriter.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
1: getstatic org.springframework.core.codec.Hints.SUPPRESS_LOGGING_HINT:Ljava/lang/String;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.springframework.core.codec.Hints.from:(Ljava/lang/String;Ljava/lang/Object;)Ljava/util/Map;
putstatic org.springframework.http.codec.multipart.MultipartHttpMessageWriter.DEFAULT_HINTS:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
anewarray org.springframework.http.codec.HttpMessageWriter
dup
iconst_0
1: new org.springframework.http.codec.EncoderHttpMessageWriter
dup
invokestatic org.springframework.core.codec.CharSequenceEncoder.textPlainOnly:()Lorg/springframework/core/codec/CharSequenceEncoder;
invokespecial org.springframework.http.codec.EncoderHttpMessageWriter.<init>:(Lorg/springframework/core/codec/Encoder;)V
aastore
dup
iconst_1
2: new org.springframework.http.codec.ResourceHttpMessageWriter
dup
invokespecial org.springframework.http.codec.ResourceHttpMessageWriter.<init>:()V
aastore
3: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial org.springframework.http.codec.multipart.MultipartHttpMessageWriter.<init>:(Ljava/util/List;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
public void <init>(java.util.List<org.springframework.http.codec.HttpMessageWriter<?>>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new org.springframework.http.codec.FormHttpMessageWriter
dup
invokespecial org.springframework.http.codec.FormHttpMessageWriter.<init>:()V
invokespecial org.springframework.http.codec.multipart.MultipartHttpMessageWriter.<init>:(Ljava/util/List;Lorg/springframework/http/codec/HttpMessageWriter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 2 1 partWriters Ljava/util/List<Lorg/springframework/http/codec/HttpMessageWriter<*>;>;
Signature: (Ljava/util/List<Lorg/springframework/http/codec/HttpMessageWriter<*>;>;)V
MethodParameters:
Name Flags
partWriters
public void <init>(java.util.List<org.springframework.http.codec.HttpMessageWriter<?>>, org.springframework.http.codec.HttpMessageWriter<org.springframework.util.MultiValueMap<java.lang.String, java.lang.String>>);
descriptor: (Ljava/util/List;Lorg/springframework/http/codec/HttpMessageWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.springframework.http.codec.LoggingCodecSupport.<init>:()V
1: aload 0
getstatic org.springframework.http.codec.multipart.MultipartHttpMessageWriter.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
putfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.charset:Ljava/nio/charset/Charset;
2: aload 0
new org.springframework.core.io.buffer.DefaultDataBufferFactory
dup
invokespecial org.springframework.core.io.buffer.DefaultDataBufferFactory.<init>:()V
putfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.bufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
3: aload 0
aload 1
putfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.partWriters:Ljava/util/List;
4: aload 0
aload 2
putfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.formWriter:Lorg/springframework/http/codec/HttpMessageWriter;
5: aload 0
aload 2
invokestatic org.springframework.http.codec.multipart.MultipartHttpMessageWriter.initMediaTypes:(Lorg/springframework/http/codec/HttpMessageWriter;)Ljava/util/List;
putfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.supportedMediaTypes:Ljava/util/List;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 7 1 partWriters Ljava/util/List<Lorg/springframework/http/codec/HttpMessageWriter<*>;>;
0 7 2 formWriter Lorg/springframework/http/codec/HttpMessageWriter<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;>;
Signature: (Ljava/util/List<Lorg/springframework/http/codec/HttpMessageWriter<*>;>;Lorg/springframework/http/codec/HttpMessageWriter<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;>;)V
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
partWriters
formWriter
private static java.util.List<org.springframework.http.MediaType> initMediaTypes(org.springframework.http.codec.HttpMessageWriter<?>);
descriptor: (Lorg/springframework/http/codec/HttpMessageWriter;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
getstatic org.springframework.http.MediaType.MULTIPART_FORM_DATA:Lorg/springframework/http/MediaType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
ifnull 4
3: aload 1
aload 0
invokeinterface org.springframework.http.codec.HttpMessageWriter.getWritableMediaTypes:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: StackMap locals: java.util.List
StackMap stack:
aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 formWriter Lorg/springframework/http/codec/HttpMessageWriter<*>;
1 5 1 result Ljava/util/List<Lorg/springframework/http/MediaType;>;
Signature: (Lorg/springframework/http/codec/HttpMessageWriter<*>;)Ljava/util/List<Lorg/springframework/http/MediaType;>;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
formWriter
public java.util.List<org.springframework.http.codec.HttpMessageWriter<?>> getPartWriters();
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.codec.multipart.MultipartHttpMessageWriter.partWriters: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/codec/multipart/MultipartHttpMessageWriter;
Signature: ()Ljava/util/List<Lorg/springframework/http/codec/HttpMessageWriter<*>;>;
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
ldc "Charset must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.charset:Ljava/nio/charset/Charset;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 3 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
public java.nio.charset.Charset getCharset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.charset:Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
public java.util.List<org.springframework.http.MediaType> getWritableMediaTypes();
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.codec.multipart.MultipartHttpMessageWriter.supportedMediaTypes:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
Signature: ()Ljava/util/List<Lorg/springframework/http/MediaType;>;
public boolean canWrite(org.springframework.core.ResolvableType, org.springframework.http.MediaType);
descriptor: (Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc Lorg/springframework/util/MultiValueMap;
aload 1
invokevirtual org.springframework.core.ResolvableType.toClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 4
1: aload 2
ifnull 3
2: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.supportedMediaTypes:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 2
invokedynamic test(Lorg/springframework/http/MediaType;)Ljava/util/function/Predicate;
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;)Z
org/springframework/http/codec/multipart/MultipartHttpMessageWriter.lambda$0(Lorg/springframework/http/MediaType;Lorg/springframework/http/MediaType;)Z (6)
(Lorg/springframework/http/MediaType;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 5 1 elementType Lorg/springframework/core/ResolvableType;
0 5 2 mediaType Lorg/springframework/http/MediaType;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
elementType
mediaType
public reactor.core.publisher.Mono<java.lang.Void> write(org.reactivestreams.Publisher<? extends org.springframework.util.MultiValueMap<java.lang.String, ?>>, org.springframework.core.ResolvableType, org.springframework.http.MediaType, org.springframework.http.ReactiveHttpOutputMessage, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lorg/reactivestreams/Publisher;Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map;)Lreactor/core/publisher/Mono;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokestatic reactor.core.publisher.Mono.from:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
aload 0
aload 3
aload 4
aload 5
aload 2
invokedynamic apply(Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;Lorg/springframework/http/MediaType;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map;Lorg/springframework/core/ResolvableType;)Ljava/util/function/Function;
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;
org/springframework/http/codec/multipart/MultipartHttpMessageWriter.lambda$1(Lorg/springframework/http/MediaType;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map;Lorg/springframework/core/ResolvableType;Lorg/springframework/util/MultiValueMap;)Lreactor/core/publisher/Mono; (7)
(Lorg/springframework/util/MultiValueMap;)Lreactor/core/publisher/Mono;
invokevirtual reactor.core.publisher.Mono.flatMap:(Ljava/util/function/Function;)Lreactor/core/publisher/Mono;
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 1 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 1 1 inputStream Lorg/reactivestreams/Publisher<+Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;>;
0 1 2 elementType Lorg/springframework/core/ResolvableType;
0 1 3 mediaType Lorg/springframework/http/MediaType;
0 1 4 outputMessage Lorg/springframework/http/ReactiveHttpOutputMessage;
0 1 5 hints Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lorg/reactivestreams/Publisher<+Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;>;Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.springframework.lang.Nullable()
3:
4:
MethodParameters:
Name Flags
inputStream
elementType
mediaType
outputMessage
hints
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.codec.multipart.MultipartHttpMessageWriter 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.codec.multipart.MultipartHttpMessageWriter 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.codec.multipart.MultipartHttpMessageWriter 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/codec/multipart/MultipartHttpMessageWriter;
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 reactor.core.publisher.Mono<java.lang.Void> writeMultipart(org.springframework.util.MultiValueMap<java.lang.String, ?>, org.springframework.http.ReactiveHttpOutputMessage, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map;)Lreactor/core/publisher/Mono;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.generateMultipartBoundary:()[B
astore 4
start local 4 1: new java.util.HashMap
dup
iconst_2
invokespecial java.util.HashMap.<init>:(I)V
astore 5
start local 5 2: aload 5
ldc "boundary"
new java.lang.String
dup
aload 4
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
3: aload 5
ldc "charset"
aload 0
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.getCharset:()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: aload 2
invokeinterface org.springframework.http.ReactiveHttpOutputMessage.getHeaders:()Lorg/springframework/http/HttpHeaders;
new org.springframework.http.MediaType
dup
getstatic org.springframework.http.MediaType.MULTIPART_FORM_DATA:Lorg/springframework/http/MediaType;
aload 5
invokespecial org.springframework.http.MediaType.<init>:(Lorg/springframework/http/MediaType;Ljava/util/Map;)V
invokevirtual org.springframework.http.HttpHeaders.setContentType:(Lorg/springframework/http/MediaType;)V
5: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.logger:Lorg/apache/commons/logging/Log;
aload 0
aload 3
aload 1
invokedynamic apply(Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;Ljava/util/Map;Lorg/springframework/util/MultiValueMap;)Ljava/util/function/Function;
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;
org/springframework/http/codec/multipart/MultipartHttpMessageWriter.lambda$2(Ljava/util/Map;Lorg/springframework/util/MultiValueMap;Ljava/lang/Boolean;)Ljava/lang/String; (7)
(Ljava/lang/Boolean;)Ljava/lang/String;
invokestatic org.springframework.core.log.LogFormatUtils.traceDebug:(Lorg/apache/commons/logging/Log;Ljava/util/function/Function;)V
6: aload 1
invokeinterface org.springframework.util.MultiValueMap.entrySet:()Ljava/util/Set;
invokestatic reactor.core.publisher.Flux.fromIterable:(Ljava/lang/Iterable;)Lreactor/core/publisher/Flux;
7: aload 0
aload 4
invokedynamic apply(Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;[B)Ljava/util/function/Function;
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;
org/springframework/http/codec/multipart/MultipartHttpMessageWriter.lambda$3([BLjava/util/Map$Entry;)Lorg/reactivestreams/Publisher; (7)
(Ljava/util/Map$Entry;)Lorg/reactivestreams/Publisher;
invokevirtual reactor.core.publisher.Flux.concatMap:(Ljava/util/function/Function;)Lreactor/core/publisher/Flux;
8: aload 0
aload 4
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.generateLastLine:([B)Lorg/springframework/core/io/buffer/DataBuffer;
invokestatic reactor.core.publisher.Mono.just:(Ljava/lang/Object;)Lreactor/core/publisher/Mono;
invokevirtual reactor.core.publisher.Flux.concatWith:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux;
9: astore 6
start local 6 10: aload 2
aload 6
invokeinterface org.springframework.http.ReactiveHttpOutputMessage.writeWith:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
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 11 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 11 1 map Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;
0 11 2 outputMessage Lorg/springframework/http/ReactiveHttpOutputMessage;
0 11 3 hints Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
1 11 4 boundary [B
2 11 5 params Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
10 11 6 body Lreactor/core/publisher/Flux<Lorg/springframework/core/io/buffer/DataBuffer;>;
Signature: (Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
MethodParameters:
Name Flags
map
outputMessage
hints
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/codec/multipart/MultipartHttpMessageWriter;
private reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> encodePartValues(byte[], java.lang.String, java.util.List<?>);
descriptor: ([BLjava/lang/String;Ljava/util/List;)Lreactor/core/publisher/Flux;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 0
aload 1
aload 2
invokedynamic apply(Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;[BLjava/lang/String;)Ljava/util/function/Function;
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;
org/springframework/http/codec/multipart/MultipartHttpMessageWriter.lambda$4([BLjava/lang/String;Ljava/lang/Object;)Lreactor/core/publisher/Flux; (7)
(Ljava/lang/Object;)Lreactor/core/publisher/Flux;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
1: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.Iterable
2: invokestatic reactor.core.publisher.Flux.concat:(Ljava/lang/Iterable;)Lreactor/core/publisher/Flux;
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/codec/multipart/MultipartHttpMessageWriter;
0 3 1 boundary [B
0 3 2 name Ljava/lang/String;
0 3 3 values Ljava/util/List<*>;
Signature: ([BLjava/lang/String;Ljava/util/List<*>;)Lreactor/core/publisher/Flux<Lorg/springframework/core/io/buffer/DataBuffer;>;
MethodParameters:
Name Flags
boundary
name
values
private <T> reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> encodePart(byte[], java.lang.String, T);
descriptor: ([BLjava/lang/String;Ljava/lang/Object;)Lreactor/core/publisher/Flux;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.springframework.http.codec.multipart.MultipartHttpMessageWriter$MultipartHttpOutputMessage
dup
aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.bufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
aload 0
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.getCharset:()Ljava/nio/charset/Charset;
invokespecial org.springframework.http.codec.multipart.MultipartHttpMessageWriter$MultipartHttpOutputMessage.<init>:(Lorg/springframework/core/io/buffer/DataBufferFactory;Ljava/nio/charset/Charset;)V
astore 4
start local 4 1: aload 4
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter$MultipartHttpOutputMessage.getHeaders:()Lorg/springframework/http/HttpHeaders;
astore 5
start local 5 2: aconst_null
astore 7
start local 7 3: aload 3
instanceof org.springframework.http.HttpEntity
ifeq 15
4: aload 3
checkcast org.springframework.http.HttpEntity
astore 8
start local 8 5: aload 5
aload 8
invokevirtual org.springframework.http.HttpEntity.getHeaders:()Lorg/springframework/http/HttpHeaders;
invokevirtual org.springframework.http.HttpHeaders.putAll:(Ljava/util/Map;)V
6: aload 8
invokevirtual org.springframework.http.HttpEntity.getBody:()Ljava/lang/Object;
astore 6
start local 6 7: aload 6
ifnull 8
iconst_1
goto 9
StackMap locals: org.springframework.http.codec.multipart.MultipartHttpMessageWriter byte[] java.lang.String java.lang.Object org.springframework.http.codec.multipart.MultipartHttpMessageWriter$MultipartHttpOutputMessage org.springframework.http.HttpHeaders java.lang.Object org.springframework.core.ResolvableType org.springframework.http.HttpEntity
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: ldc "MultipartHttpMessageWriter only supports HttpEntity with body"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
10: aload 8
instanceof org.springframework.http.client.MultipartBodyBuilder$PublisherEntity
ifeq 16
11: aload 8
checkcast org.springframework.http.client.MultipartBodyBuilder$PublisherEntity
12: astore 9
start local 9 13: aload 9
invokevirtual org.springframework.http.client.MultipartBodyBuilder$PublisherEntity.getResolvableType:()Lorg/springframework/core/ResolvableType;
astore 7
end local 9 end local 8 14: goto 16
end local 6 15: StackMap locals: org.springframework.http.codec.multipart.MultipartHttpMessageWriter byte[] java.lang.String java.lang.Object org.springframework.http.codec.multipart.MultipartHttpMessageWriter$MultipartHttpOutputMessage org.springframework.http.HttpHeaders top org.springframework.core.ResolvableType
StackMap stack:
aload 3
astore 6
start local 6 16: StackMap locals: org.springframework.http.codec.multipart.MultipartHttpMessageWriter byte[] java.lang.String java.lang.Object org.springframework.http.codec.multipart.MultipartHttpMessageWriter$MultipartHttpOutputMessage org.springframework.http.HttpHeaders java.lang.Object org.springframework.core.ResolvableType
StackMap stack:
aload 7
ifnonnull 18
17: aload 6
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.springframework.core.ResolvableType.forClass:(Ljava/lang/Class;)Lorg/springframework/core/ResolvableType;
astore 7
18: StackMap locals:
StackMap stack:
aload 5
ldc "Content-Disposition"
invokevirtual org.springframework.http.HttpHeaders.containsKey:(Ljava/lang/Object;)Z
ifne 26
19: aload 6
instanceof org.springframework.core.io.Resource
ifeq 22
20: aload 5
aload 2
aload 6
checkcast org.springframework.core.io.Resource
invokeinterface org.springframework.core.io.Resource.getFilename:()Ljava/lang/String;
invokevirtual org.springframework.http.HttpHeaders.setContentDispositionFormData:(Ljava/lang/String;Ljava/lang/String;)V
21: goto 26
22: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.springframework.core.ResolvableType.resolve:()Ljava/lang/Class;
ldc Lorg/springframework/core/io/Resource;
if_acmpne 25
23: aload 6
checkcast org.reactivestreams.Publisher
invokestatic reactor.core.publisher.Mono.from:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
aload 5
aload 2
invokedynamic accept(Lorg/springframework/http/HttpHeaders;Ljava/lang/String;)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/codec/multipart/MultipartHttpMessageWriter.lambda$5(Lorg/springframework/http/HttpHeaders;Ljava/lang/String;Ljava/lang/Object;)V (6)
(Ljava/lang/Object;)V
invokevirtual reactor.core.publisher.Mono.doOnNext:(Ljava/util/function/Consumer;)Lreactor/core/publisher/Mono;
astore 6
24: goto 26
25: StackMap locals:
StackMap stack:
aload 5
aload 2
aconst_null
invokevirtual org.springframework.http.HttpHeaders.setContentDispositionFormData:(Ljava/lang/String;Ljava/lang/String;)V
26: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.springframework.http.HttpHeaders.getContentType:()Lorg/springframework/http/MediaType;
astore 8
start local 8 27: aload 7
astore 9
start local 9 28: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.partWriters:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
29: aload 9
aload 8
invokedynamic test(Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;)Ljava/util/function/Predicate;
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;)Z
org/springframework/http/codec/multipart/MultipartHttpMessageWriter.lambda$6(Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;Lorg/springframework/http/codec/HttpMessageWriter;)Z (6)
(Lorg/springframework/http/codec/HttpMessageWriter;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
30: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
31: astore 10
start local 10 32: aload 10
invokevirtual java.util.Optional.isPresent:()Z
ifne 34
33: new org.springframework.core.codec.CodecException
dup
new java.lang.StringBuilder
dup
ldc "No suitable writer found for part: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.springframework.core.codec.CodecException.<init>:(Ljava/lang/String;)V
invokestatic reactor.core.publisher.Flux.error:(Ljava/lang/Throwable;)Lreactor/core/publisher/Flux;
areturn
34: StackMap locals: org.springframework.http.MediaType org.springframework.core.ResolvableType java.util.Optional
StackMap stack:
aload 6
instanceof org.reactivestreams.Publisher
ifeq 35
aload 6
checkcast org.reactivestreams.Publisher
goto 36
StackMap locals:
StackMap stack:
35: aload 6
invokestatic reactor.core.publisher.Mono.just:(Ljava/lang/Object;)Lreactor/core/publisher/Mono;
36: StackMap locals:
StackMap stack: org.reactivestreams.Publisher
astore 11
start local 11 37: aload 10
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast org.springframework.http.codec.HttpMessageWriter
38: aload 11
aload 7
aload 8
aload 4
getstatic org.springframework.http.codec.multipart.MultipartHttpMessageWriter.DEFAULT_HINTS:Ljava/util/Map;
invokeinterface org.springframework.http.codec.HttpMessageWriter.write:(Lorg/reactivestreams/Publisher;Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map;)Lreactor/core/publisher/Mono;
39: astore 12
start local 12 40: aload 12
aload 4
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter$MultipartHttpOutputMessage;)Ljava/util/function/Supplier;
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;
org/springframework/http/codec/multipart/MultipartHttpMessageWriter$MultipartHttpOutputMessage.getBody()Lreactor/core/publisher/Flux; (5)
()Lorg/reactivestreams/Publisher;
invokestatic reactor.core.publisher.Flux.defer:(Ljava/util/function/Supplier;)Lreactor/core/publisher/Flux;
invokevirtual reactor.core.publisher.Mono.thenMany:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux;
astore 13
start local 13 41: iconst_3
anewarray org.reactivestreams.Publisher
dup
iconst_0
aload 0
aload 1
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.generateBoundaryLine:([B)Lorg/springframework/core/io/buffer/DataBuffer;
invokestatic reactor.core.publisher.Mono.just:(Ljava/lang/Object;)Lreactor/core/publisher/Mono;
aastore
dup
iconst_1
aload 13
aastore
dup
iconst_2
aload 0
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.generateNewLine:()Lorg/springframework/core/io/buffer/DataBuffer;
invokestatic reactor.core.publisher.Mono.just:(Ljava/lang/Object;)Lreactor/core/publisher/Mono;
aastore
invokestatic reactor.core.publisher.Flux.concat:([Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux;
areturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 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 42 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 42 1 boundary [B
0 42 2 name Ljava/lang/String;
0 42 3 value TT;
1 42 4 outputMessage Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter$MultipartHttpOutputMessage;
2 42 5 outputHeaders Lorg/springframework/http/HttpHeaders;
7 15 6 body TT;
16 42 6 body TT;
3 42 7 resolvableType Lorg/springframework/core/ResolvableType;
5 14 8 httpEntity Lorg/springframework/http/HttpEntity<TT;>;
13 14 9 publisherEntity Lorg/springframework/http/client/MultipartBodyBuilder$PublisherEntity<**>;
27 42 8 contentType Lorg/springframework/http/MediaType;
28 42 9 finalBodyType Lorg/springframework/core/ResolvableType;
32 42 10 writer Ljava/util/Optional<Lorg/springframework/http/codec/HttpMessageWriter<*>;>;
37 42 11 bodyPublisher Lorg/reactivestreams/Publisher<TT;>;
40 42 12 partContentReady Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
41 42 13 partContent Lreactor/core/publisher/Flux<Lorg/springframework/core/io/buffer/DataBuffer;>;
Signature: <T:Ljava/lang/Object;>([BLjava/lang/String;TT;)Lreactor/core/publisher/Flux<Lorg/springframework/core/io/buffer/DataBuffer;>;
MethodParameters:
Name Flags
boundary
name
value
private org.springframework.core.io.buffer.DataBuffer generateBoundaryLine(byte[]);
descriptor: ([B)Lorg/springframework/core/io/buffer/DataBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.bufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
aload 1
arraylength
iconst_4
iadd
invokeinterface org.springframework.core.io.buffer.DataBufferFactory.allocateBuffer:(I)Lorg/springframework/core/io/buffer/DataBuffer;
astore 2
start local 2 1: aload 2
bipush 45
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
2: aload 2
bipush 45
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
3: aload 2
aload 1
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:([B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
4: aload 2
bipush 13
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
5: aload 2
bipush 10
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 7 1 boundary [B
1 7 2 buffer Lorg/springframework/core/io/buffer/DataBuffer;
MethodParameters:
Name Flags
boundary
private org.springframework.core.io.buffer.DataBuffer generateNewLine();
descriptor: ()Lorg/springframework/core/io/buffer/DataBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.bufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
iconst_2
invokeinterface org.springframework.core.io.buffer.DataBufferFactory.allocateBuffer:(I)Lorg/springframework/core/io/buffer/DataBuffer;
astore 1
start local 1 1: aload 1
bipush 13
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
2: aload 1
bipush 10
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
1 4 1 buffer Lorg/springframework/core/io/buffer/DataBuffer;
private org.springframework.core.io.buffer.DataBuffer generateLastLine(byte[]);
descriptor: ([B)Lorg/springframework/core/io/buffer/DataBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.bufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
aload 1
arraylength
bipush 6
iadd
invokeinterface org.springframework.core.io.buffer.DataBufferFactory.allocateBuffer:(I)Lorg/springframework/core/io/buffer/DataBuffer;
astore 2
start local 2 1: aload 2
bipush 45
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
2: aload 2
bipush 45
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
3: aload 2
aload 1
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:([B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
4: aload 2
bipush 45
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
5: aload 2
bipush 45
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
6: aload 2
bipush 13
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
7: aload 2
bipush 10
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:(B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 9 1 boundary [B
1 9 2 buffer Lorg/springframework/core/io/buffer/DataBuffer;
MethodParameters:
Name Flags
boundary
private static boolean lambda$0(org.springframework.http.MediaType, org.springframework.http.MediaType);
descriptor: (Lorg/springframework/http/MediaType;Lorg/springframework/http/MediaType;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokevirtual org.springframework.http.MediaType.isCompatibleWith:(Lorg/springframework/http/MediaType;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 element Lorg/springframework/http/MediaType;
private reactor.core.publisher.Mono lambda$1(org.springframework.http.MediaType, org.springframework.http.ReactiveHttpOutputMessage, java.util.Map, org.springframework.core.ResolvableType, org.springframework.util.MultiValueMap);
descriptor: (Lorg/springframework/http/MediaType;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map;Lorg/springframework/core/ResolvableType;Lorg/springframework/util/MultiValueMap;)Lreactor/core/publisher/Mono;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 5 0: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.formWriter:Lorg/springframework/http/codec/HttpMessageWriter;
ifnull 1
aload 0
aload 5
aload 1
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.isMultipart:(Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/MediaType;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 2
aload 3
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.writeMultipart:(Lorg/springframework/util/MultiValueMap;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map;)Lreactor/core/publisher/Mono;
areturn
2: StackMap locals:
StackMap stack:
aload 5
astore 6
start local 6 3: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageWriter.formWriter:Lorg/springframework/http/codec/HttpMessageWriter;
aload 6
invokestatic reactor.core.publisher.Mono.just:(Ljava/lang/Object;)Lreactor/core/publisher/Mono;
aload 4
aload 1
aload 2
aload 3
invokeinterface org.springframework.http.codec.HttpMessageWriter.write:(Lorg/reactivestreams/Publisher;Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;Lorg/springframework/http/ReactiveHttpOutputMessage;Ljava/util/Map;)Lreactor/core/publisher/Mono;
areturn
end local 6 end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 4 5 map Lorg/springframework/util/MultiValueMap<TK;TV;>;
3 4 6 formData Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;
private java.lang.String lambda$2(java.util.Map, org.springframework.util.MultiValueMap, java.lang.Boolean);
descriptor: (Ljava/util/Map;Lorg/springframework/util/MultiValueMap;Ljava/lang/Boolean;)Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: new java.lang.StringBuilder
dup
aload 1
invokestatic org.springframework.core.codec.Hints.getLogPrefix:(Ljava/util/Map;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Encoding "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.isEnableLoggingRequestDetails:()Z
ifeq 5
2: aload 2
aload 3
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 3
iconst_0
goto 4
StackMap locals: org.springframework.http.codec.multipart.MultipartHttpMessageWriter java.util.Map org.springframework.util.MultiValueMap java.lang.Boolean
StackMap stack: java.lang.StringBuilder org.springframework.util.MultiValueMap
3: iconst_1
StackMap locals: org.springframework.http.codec.multipart.MultipartHttpMessageWriter java.util.Map org.springframework.util.MultiValueMap java.lang.Boolean
StackMap stack: java.lang.StringBuilder org.springframework.util.MultiValueMap int
4: invokestatic org.springframework.core.log.LogFormatUtils.formatValue:(Ljava/lang/Object;Z)Ljava/lang/String;
goto 6
5: StackMap locals:
StackMap stack: java.lang.StringBuilder
new java.lang.StringBuilder
dup
ldc "parts "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface org.springframework.util.MultiValueMap.keySet:()Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (content masked)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: StackMap locals: org.springframework.http.codec.multipart.MultipartHttpMessageWriter java.util.Map org.springframework.util.MultiValueMap java.lang.Boolean
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 9 3 traceOn Ljava/lang/Boolean;
private org.reactivestreams.Publisher lambda$3(byte[], java.util.Map$Entry);
descriptor: ([BLjava/util/Map$Entry;)Lorg/reactivestreams/Publisher;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.encodePartValues:([BLjava/lang/String;Ljava/util/List;)Lreactor/core/publisher/Flux;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 1 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/Object;>;>;
private reactor.core.publisher.Flux lambda$4(byte[], java.lang.String, java.lang.Object);
descriptor: ([BLjava/lang/String;Ljava/lang/Object;)Lreactor/core/publisher/Flux;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageWriter.encodePart:([BLjava/lang/String;Ljava/lang/Object;)Lreactor/core/publisher/Flux;
areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageWriter;
0 1 3 v Ljava/lang/Object;
private static void (org.springframework.http.HttpHeaders, java.lang.String, java.lang.Object);
descriptor: (Lorg/springframework/http/HttpHeaders;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 0
1: aload 1
aload 2
checkcast org.springframework.core.io.Resource
invokeinterface org.springframework.core.io.Resource.getFilename:()Ljava/lang/String;
invokevirtual org.springframework.http.HttpHeaders.setContentDispositionFormData:(Ljava/lang/String;Ljava/lang/String;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 2 2 o Ljava/lang/Object;
private static boolean lambda$6(org.springframework.core.ResolvableType, org.springframework.http.MediaType, org.springframework.http.codec.HttpMessageWriter);
descriptor: (Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;Lorg/springframework/http/codec/HttpMessageWriter;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
aload 0
aload 1
invokeinterface org.springframework.http.codec.HttpMessageWriter.canWrite:(Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;)Z
ireturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 partWriter Lorg/springframework/http/codec/HttpMessageWriter<*>;
}
Signature: Lorg/springframework/http/codec/LoggingCodecSupport;Lorg/springframework/http/codec/HttpMessageWriter<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;*>;>;
SourceFile: "MultipartHttpMessageWriter.java"
NestMembers:
org.springframework.http.codec.multipart.MultipartHttpMessageWriter$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 final PublisherEntity = org.springframework.http.client.MultipartBodyBuilder$PublisherEntity of org.springframework.http.client.MultipartBodyBuilder
private MultipartHttpOutputMessage = org.springframework.http.codec.multipart.MultipartHttpMessageWriter$MultipartHttpOutputMessage of org.springframework.http.codec.multipart.MultipartHttpMessageWriter