public class org.springframework.http.codec.multipart.MultipartHttpMessageReader extends org.springframework.http.codec.LoggingCodecSupport implements org.springframework.http.codec.HttpMessageReader<org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.codec.multipart.Part>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.codec.multipart.MultipartHttpMessageReader
super_class: org.springframework.http.codec.LoggingCodecSupport
{
private static final org.springframework.core.ResolvableType MULTIPART_VALUE_TYPE;
descriptor: Lorg/springframework/core/ResolvableType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.springframework.http.codec.HttpMessageReader<org.springframework.http.codec.multipart.Part> partReader;
descriptor: Lorg/springframework/http/codec/HttpMessageReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/http/codec/HttpMessageReader<Lorg/springframework/http/codec/multipart/Part;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Lorg/springframework/util/MultiValueMap;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
ldc Lorg/springframework/http/codec/multipart/Part;
aastore
1: invokestatic org.springframework.core.ResolvableType.forClassWithGenerics:(Ljava/lang/Class;[Ljava/lang/Class;)Lorg/springframework/core/ResolvableType;
putstatic org.springframework.http.codec.multipart.MultipartHttpMessageReader.MULTIPART_VALUE_TYPE:Lorg/springframework/core/ResolvableType;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.springframework.http.codec.HttpMessageReader<org.springframework.http.codec.multipart.Part>);
descriptor: (Lorg/springframework/http/codec/HttpMessageReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.http.codec.LoggingCodecSupport.<init>:()V
1: aload 1
ldc "'partReader' is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.http.codec.multipart.MultipartHttpMessageReader.partReader:Lorg/springframework/http/codec/HttpMessageReader;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;
0 4 1 partReader Lorg/springframework/http/codec/HttpMessageReader<Lorg/springframework/http/codec/multipart/Part;>;
Signature: (Lorg/springframework/http/codec/HttpMessageReader<Lorg/springframework/http/codec/multipart/Part;>;)V
MethodParameters:
Name Flags
partReader
public java.util.List<org.springframework.http.MediaType> getReadableMediaTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.springframework.http.MediaType.MULTIPART_FORM_DATA:Lorg/springframework/http/MediaType;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;
Signature: ()Ljava/util/List<Lorg/springframework/http/MediaType;>;
public boolean canRead(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: getstatic org.springframework.http.codec.multipart.MultipartHttpMessageReader.MULTIPART_VALUE_TYPE:Lorg/springframework/core/ResolvableType;
aload 1
invokevirtual org.springframework.core.ResolvableType.isAssignableFrom:(Lorg/springframework/core/ResolvableType;)Z
ifeq 3
1: aload 2
ifnull 2
getstatic org.springframework.http.MediaType.MULTIPART_FORM_DATA:Lorg/springframework/http/MediaType;
aload 2
invokevirtual org.springframework.http.MediaType.isCompatibleWith:(Lorg/springframework/http/MediaType;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;
0 4 1 elementType Lorg/springframework/core/ResolvableType;
0 4 2 mediaType Lorg/springframework/http/MediaType;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
elementType
mediaType
public reactor.core.publisher.Flux<org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.codec.multipart.Part>> read(org.springframework.core.ResolvableType, org.springframework.http.ReactiveHttpInputMessage, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lorg/springframework/core/ResolvableType;Lorg/springframework/http/ReactiveHttpInputMessage;Ljava/util/Map;)Lreactor/core/publisher/Flux;
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
aload 3
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageReader.readMono:(Lorg/springframework/core/ResolvableType;Lorg/springframework/http/ReactiveHttpInputMessage;Ljava/util/Map;)Lreactor/core/publisher/Mono;
invokestatic reactor.core.publisher.Flux.from:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux;
areturn
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/MultipartHttpMessageReader;
0 1 1 elementType Lorg/springframework/core/ResolvableType;
0 1 2 message Lorg/springframework/http/ReactiveHttpInputMessage;
0 1 3 hints Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lorg/springframework/core/ResolvableType;Lorg/springframework/http/ReactiveHttpInputMessage;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lreactor/core/publisher/Flux<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/codec/multipart/Part;>;>;
MethodParameters:
Name Flags
elementType
message
hints
public reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.codec.multipart.Part>> readMono(org.springframework.core.ResolvableType, org.springframework.http.ReactiveHttpInputMessage, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lorg/springframework/core/ResolvableType;Lorg/springframework/http/ReactiveHttpInputMessage;Ljava/util/Map;)Lreactor/core/publisher/Mono;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
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.merge:(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;)Ljava/util/Map;
astore 4
start local 4 1: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageReader.partReader:Lorg/springframework/http/codec/HttpMessageReader;
aload 1
aload 2
aload 4
invokeinterface org.springframework.http.codec.HttpMessageReader.read:(Lorg/springframework/core/ResolvableType;Lorg/springframework/http/ReactiveHttpInputMessage;Ljava/util/Map;)Lreactor/core/publisher/Flux;
2: invokedynamic apply()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/Part.name()Ljava/lang/String; (9 itf)
(Lorg/springframework/http/codec/multipart/Part;)Ljava/lang/String;
invokevirtual reactor.core.publisher.Flux.collectMultimap:(Ljava/util/function/Function;)Lreactor/core/publisher/Mono;
3: aload 0
aload 3
invokedynamic accept(Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;Ljava/util/Map;)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/MultipartHttpMessageReader.lambda$1(Ljava/util/Map;Ljava/util/Map;)V (7)
(Ljava/util/Map;)V
invokevirtual reactor.core.publisher.Mono.doOnNext:(Ljava/util/function/Consumer;)Lreactor/core/publisher/Mono;
4: aload 0
invokedynamic apply(Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;)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/MultipartHttpMessageReader.toMultiValueMap(Ljava/util/Map;)Lorg/springframework/util/LinkedMultiValueMap; (7)
(Ljava/util/Map;)Lorg/springframework/util/MultiValueMap;
invokevirtual reactor.core.publisher.Mono.map:(Ljava/util/function/Function;)Lreactor/core/publisher/Mono;
5: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;
0 6 1 elementType Lorg/springframework/core/ResolvableType;
0 6 2 inputMessage Lorg/springframework/http/ReactiveHttpInputMessage;
0 6 3 hints Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
1 6 4 allHints Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lorg/springframework/core/ResolvableType;Lorg/springframework/http/ReactiveHttpInputMessage;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lreactor/core/publisher/Mono<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/codec/multipart/Part;>;>;
MethodParameters:
Name Flags
elementType
inputMessage
hints
private org.springframework.util.LinkedMultiValueMap<java.lang.String, org.springframework.http.codec.multipart.Part> toMultiValueMap(java.util.Map<java.lang.String, java.util.Collection<org.springframework.http.codec.multipart.Part>>);
descriptor: (Ljava/util/Map;)Lorg/springframework/util/LinkedMultiValueMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.util.LinkedMultiValueMap
dup
aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()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;
java/util/Map$Entry.getKey()Ljava/lang/Object; (9 itf)
(Ljava/util/Map$Entry;)Ljava/lang/String;
aload 0
invokedynamic apply(Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;)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/MultipartHttpMessageReader.lambda$5(Ljava/util/Map$Entry;)Ljava/util/List; (7)
(Ljava/util/Map$Entry;)Ljava/util/List;
invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
2: invokespecial org.springframework.util.LinkedMultiValueMap.<init>:(Ljava/util/Map;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;
0 3 1 map Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Lorg/springframework/http/codec/multipart/Part;>;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Lorg/springframework/http/codec/multipart/Part;>;>;)Lorg/springframework/util/LinkedMultiValueMap<Ljava/lang/String;Lorg/springframework/http/codec/multipart/Part;>;
MethodParameters:
Name Flags
map
private java.util.List<org.springframework.http.codec.multipart.Part> toList(java.util.Collection<org.springframework.http.codec.multipart.Part>);
descriptor: (Ljava/util/Collection;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.List
ifeq 1
aload 1
checkcast java.util.List
goto 2
StackMap locals:
StackMap stack:
1: new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
StackMap locals:
StackMap stack: java.util.List
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;
0 3 1 collection Ljava/util/Collection<Lorg/springframework/http/codec/multipart/Part;>;
Signature: (Ljava/util/Collection<Lorg/springframework/http/codec/multipart/Part;>;)Ljava/util/List<Lorg/springframework/http/codec/multipart/Part;>;
MethodParameters:
Name Flags
collection
private void lambda$1(java.util.Map, java.util.Map);
descriptor: (Ljava/util/Map;Ljava/util/Map;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield org.springframework.http.codec.multipart.MultipartHttpMessageReader.logger:Lorg/apache/commons/logging/Log;
aload 0
aload 1
aload 2
invokedynamic apply(Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;Ljava/util/Map;Ljava/util/Map;)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/MultipartHttpMessageReader.lambda$2(Ljava/util/Map;Ljava/util/Map;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
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;
0 2 2 map Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Lorg/springframework/http/codec/multipart/Part;>;>;
private java.util.List lambda$5(java.util.Map$Entry);
descriptor: (Ljava/util/Map$Entry;)Ljava/util/List;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Collection
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageReader.toList:(Ljava/util/Collection;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/multipart/MultipartHttpMessageReader;
0 1 1 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/Collection<Lorg/springframework/http/codec/multipart/Part;>;>;
private java.lang.String lambda$2(java.util.Map, java.util.Map, java.lang.Boolean);
descriptor: (Ljava/util/Map;Ljava/util/Map;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 "Parsed "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual org.springframework.http.codec.multipart.MultipartHttpMessageReader.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.MultipartHttpMessageReader java.util.Map java.util.Map java.lang.Boolean
StackMap stack: java.lang.StringBuilder java.util.Map
3: iconst_1
StackMap locals: org.springframework.http.codec.multipart.MultipartHttpMessageReader java.util.Map java.util.Map java.lang.Boolean
StackMap stack: java.lang.StringBuilder java.util.Map 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 java.util.Map.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.MultipartHttpMessageReader java.util.Map java.util.Map 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/MultipartHttpMessageReader;
0 9 3 traceOn Ljava/lang/Boolean;
}
Signature: Lorg/springframework/http/codec/LoggingCodecSupport;Lorg/springframework/http/codec/HttpMessageReader<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/codec/multipart/Part;>;>;
SourceFile: "MultipartHttpMessageReader.java"
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