public abstract class org.springframework.http.codec.json.AbstractJackson2Encoder extends org.springframework.http.codec.json.Jackson2CodecSupport implements org.springframework.http.codec.HttpMessageEncoder<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.http.codec.json.AbstractJackson2Encoder
super_class: org.springframework.http.codec.json.Jackson2CodecSupport
{
private static final byte[] NEWLINE_SEPARATOR;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<org.springframework.http.MediaType, byte[]> STREAM_SEPARATORS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Lorg/springframework/http/MediaType;[B>;
private final java.util.List<org.springframework.http.MediaType> streamingMediaTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/http/MediaType;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
newarray 8
dup
iconst_0
bipush 10
bastore
putstatic org.springframework.http.codec.json.AbstractJackson2Encoder.NEWLINE_SEPARATOR:[B
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic org.springframework.http.codec.json.AbstractJackson2Encoder.STREAM_SEPARATORS:Ljava/util/Map;
2: getstatic org.springframework.http.codec.json.AbstractJackson2Encoder.STREAM_SEPARATORS:Ljava/util/Map;
getstatic org.springframework.http.MediaType.APPLICATION_STREAM_JSON:Lorg/springframework/http/MediaType;
getstatic org.springframework.http.codec.json.AbstractJackson2Encoder.NEWLINE_SEPARATOR:[B
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic org.springframework.http.codec.json.AbstractJackson2Encoder.STREAM_SEPARATORS:Ljava/util/Map;
ldc "application/stream+x-jackson-smile"
invokestatic org.springframework.http.MediaType.parseMediaType:(Ljava/lang/String;)Lorg/springframework/http/MediaType;
iconst_0
newarray 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.fasterxml.jackson.databind.ObjectMapper, org.springframework.util.MimeType[]);
descriptor: (Lcom/fasterxml/jackson/databind/ObjectMapper;[Lorg/springframework/util/MimeType;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.springframework.http.codec.json.Jackson2CodecSupport.<init>:(Lcom/fasterxml/jackson/databind/ObjectMapper;[Lorg/springframework/util/MimeType;)V
1: aload 0
new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.springframework.http.codec.json.AbstractJackson2Encoder.streamingMediaTypes:Ljava/util/List;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 3 1 mapper Lcom/fasterxml/jackson/databind/ObjectMapper;
0 3 2 mimeTypes [Lorg/springframework/util/MimeType;
MethodParameters:
Name Flags
mapper
mimeTypes
public void setStreamingMediaTypes(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
getfield org.springframework.http.codec.json.AbstractJackson2Encoder.streamingMediaTypes:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: aload 0
getfield org.springframework.http.codec.json.AbstractJackson2Encoder.streamingMediaTypes:Ljava/util/List;
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 3 1 mediaTypes Ljava/util/List<Lorg/springframework/http/MediaType;>;
Signature: (Ljava/util/List<Lorg/springframework/http/MediaType;>;)V
MethodParameters:
Name Flags
mediaTypes
public boolean canEncode(org.springframework.core.ResolvableType, org.springframework.util.MimeType);
descriptor: (Lorg/springframework/core/ResolvableType;Lorg/springframework/util/MimeType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.springframework.core.ResolvableType.toClass:()Ljava/lang/Class;
astore 3
start local 3 1: aload 0
aload 2
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.supportsMimeType:(Lorg/springframework/util/MimeType;)Z
ifeq 4
ldc Ljava/lang/Object;
aload 3
if_acmpeq 3
2: ldc Ljava/lang/String;
aload 1
aload 3
invokevirtual org.springframework.core.ResolvableType.resolve:(Ljava/lang/Class;)Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 4
aload 0
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.getObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
aload 3
invokevirtual com.fasterxml.jackson.databind.ObjectMapper.canSerialize:(Ljava/lang/Class;)Z
ifeq 4
3: StackMap locals: java.lang.Class
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
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/codec/json/AbstractJackson2Encoder;
0 5 1 elementType Lorg/springframework/core/ResolvableType;
0 5 2 mimeType Lorg/springframework/util/MimeType;
1 5 3 clazz Ljava/lang/Class<*>;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
elementType
mimeType
public reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> encode(org.reactivestreams.Publisher<?>, org.springframework.core.io.buffer.DataBufferFactory, org.springframework.core.ResolvableType, org.springframework.util.MimeType, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lorg/reactivestreams/Publisher;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Lorg/springframework/util/MimeType;Ljava/util/Map;)Lreactor/core/publisher/Flux;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ldc "'inputStream' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 2
ldc "'bufferFactory' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 3
ldc "'elementType' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 4
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.getJsonEncoding:(Lorg/springframework/util/MimeType;)Lcom/fasterxml/jackson/core/JsonEncoding;
astore 6
start local 6 4: aload 1
instanceof reactor.core.publisher.Mono
ifeq 8
5: aload 1
invokestatic reactor.core.publisher.Mono.from:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
aload 0
aload 4
aload 2
aload 3
aload 5
aload 6
invokedynamic apply(Lorg/springframework/http/codec/json/AbstractJackson2Encoder;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;)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/json/AbstractJackson2Encoder.lambda$0(Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Ljava/lang/Object;)Lorg/springframework/core/io/buffer/DataBuffer; (7)
(Ljava/lang/Object;)Lorg/springframework/core/io/buffer/DataBuffer;
invokevirtual reactor.core.publisher.Mono.map:(Ljava/util/function/Function;)Lreactor/core/publisher/Mono;
6: invokevirtual reactor.core.publisher.Mono.flux:()Lreactor/core/publisher/Flux;
7: areturn
8: StackMap locals: com.fasterxml.jackson.core.JsonEncoding
StackMap stack:
aload 0
getfield org.springframework.http.codec.json.AbstractJackson2Encoder.streamingMediaTypes:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
9: aload 4
invokedynamic test(Lorg/springframework/util/MimeType;)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/json/AbstractJackson2Encoder.lambda$1(Lorg/springframework/util/MimeType;Lorg/springframework/http/MediaType;)Z (6)
(Lorg/springframework/http/MediaType;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
10: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
11: aload 0
aload 4
aload 2
aload 3
aload 5
aload 6
aload 1
invokedynamic apply(Lorg/springframework/http/codec/json/AbstractJackson2Encoder;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Lorg/reactivestreams/Publisher;)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/json/AbstractJackson2Encoder.lambda$2(Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Lorg/reactivestreams/Publisher;Lorg/springframework/http/MediaType;)Lreactor/core/publisher/Flux; (7)
(Lorg/springframework/http/MediaType;)Lreactor/core/publisher/Flux;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
12: aload 0
aload 4
aload 2
aload 5
aload 6
aload 3
aload 1
invokedynamic get(Lorg/springframework/http/codec/json/AbstractJackson2Encoder;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Lorg/springframework/core/ResolvableType;Lorg/reactivestreams/Publisher;)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/json/AbstractJackson2Encoder.lambda$4(Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Lorg/springframework/core/ResolvableType;Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux; (7)
()Lreactor/core/publisher/Flux;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast reactor.core.publisher.Flux
13: 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 14 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 14 1 inputStream Lorg/reactivestreams/Publisher<*>;
0 14 2 bufferFactory Lorg/springframework/core/io/buffer/DataBufferFactory;
0 14 3 elementType Lorg/springframework/core/ResolvableType;
0 14 4 mimeType Lorg/springframework/util/MimeType;
0 14 5 hints Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 14 6 encoding Lcom/fasterxml/jackson/core/JsonEncoding;
Signature: (Lorg/reactivestreams/Publisher<*>;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Lorg/springframework/util/MimeType;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lreactor/core/publisher/Flux<Lorg/springframework/core/io/buffer/DataBuffer;>;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.springframework.lang.Nullable()
4:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
inputStream
bufferFactory
elementType
mimeType
hints
private org.springframework.core.io.buffer.DataBuffer encodeValue(, org.springframework.util.MimeType, org.springframework.core.io.buffer.DataBufferFactory, org.springframework.core.ResolvableType, java.util.Map<java.lang.String, java.lang.Object>, com.fasterxml.jackson.core.JsonEncoding);
descriptor: (Ljava/lang/Object;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;)Lorg/springframework/core/io/buffer/DataBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=15, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 5
invokestatic org.springframework.core.codec.Hints.isLoggingSuppressed:(Ljava/util/Map;)Z
ifne 2
1: aload 0
getfield org.springframework.http.codec.json.AbstractJackson2Encoder.logger:Lorg/apache/commons/logging/Log;
aload 1
aload 5
invokedynamic apply(Ljava/lang/Object;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/json/AbstractJackson2Encoder.lambda$6(Ljava/lang/Object;Ljava/util/Map;Ljava/lang/Boolean;)Ljava/lang/String; (6)
(Ljava/lang/Boolean;)Ljava/lang/String;
invokestatic org.springframework.core.log.LogFormatUtils.traceDebug:(Lorg/apache/commons/logging/Log;Ljava/util/function/Function;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.springframework.core.ResolvableType.getType:()Ljava/lang/reflect/Type;
aconst_null
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.getJavaType:(Ljava/lang/reflect/Type;Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/JavaType;
astore 7
start local 7 3: aload 5
ifnull 4
aload 5
getstatic org.springframework.http.codec.json.Jackson2CodecSupport.JSON_VIEW_HINT:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
goto 5
StackMap locals: com.fasterxml.jackson.databind.JavaType
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.lang.Class
5: astore 8
start local 8 6: aload 8
ifnull 8
7: aload 0
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.getObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
aload 8
invokevirtual com.fasterxml.jackson.databind.ObjectMapper.writerWithView:(Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/ObjectWriter;
goto 9
StackMap locals: java.lang.Class
StackMap stack:
8: aload 0
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.getObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
invokevirtual com.fasterxml.jackson.databind.ObjectMapper.writer:()Lcom/fasterxml/jackson/databind/ObjectWriter;
9: StackMap locals:
StackMap stack: com.fasterxml.jackson.databind.ObjectWriter
astore 9
start local 9 10: aload 7
invokevirtual com.fasterxml.jackson.databind.JavaType.isContainerType:()Z
ifeq 12
11: aload 9
aload 7
invokevirtual com.fasterxml.jackson.databind.ObjectWriter.forType:(Lcom/fasterxml/jackson/databind/JavaType;)Lcom/fasterxml/jackson/databind/ObjectWriter;
astore 9
12: StackMap locals: com.fasterxml.jackson.databind.ObjectWriter
StackMap stack:
aload 0
aload 9
aload 2
aload 4
aload 5
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.customizeWriter:(Lcom/fasterxml/jackson/databind/ObjectWriter;Lorg/springframework/util/MimeType;Lorg/springframework/core/ResolvableType;Ljava/util/Map;)Lcom/fasterxml/jackson/databind/ObjectWriter;
astore 9
13: aload 3
invokeinterface org.springframework.core.io.buffer.DataBufferFactory.allocateBuffer:()Lorg/springframework/core/io/buffer/DataBuffer;
astore 10
start local 10 14: iconst_1
istore 11
start local 11 15: aload 10
invokeinterface org.springframework.core.io.buffer.DataBuffer.asOutputStream:()Ljava/io/OutputStream;
astore 12
start local 12 16: aload 0
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.getObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
invokevirtual com.fasterxml.jackson.databind.ObjectMapper.getFactory:()Lcom/fasterxml/jackson/core/JsonFactory;
aload 12
aload 6
invokevirtual com.fasterxml.jackson.core.JsonFactory.createGenerator:(Ljava/io/OutputStream;Lcom/fasterxml/jackson/core/JsonEncoding;)Lcom/fasterxml/jackson/core/JsonGenerator;
17: astore 13
start local 13 18: aload 9
aload 13
aload 1
invokevirtual com.fasterxml.jackson.databind.ObjectWriter.writeValue:(Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Object;)V
19: iconst_0
istore 11
end local 13 20: goto 33
21: StackMap locals: org.springframework.http.codec.json.AbstractJackson2Encoder java.lang.Object org.springframework.util.MimeType org.springframework.core.io.buffer.DataBufferFactory org.springframework.core.ResolvableType java.util.Map com.fasterxml.jackson.core.JsonEncoding com.fasterxml.jackson.databind.JavaType java.lang.Class com.fasterxml.jackson.databind.ObjectWriter org.springframework.core.io.buffer.DataBuffer int java.io.OutputStream
StackMap stack: com.fasterxml.jackson.databind.exc.InvalidDefinitionException
astore 13
start local 13 22: new org.springframework.core.codec.CodecException
dup
new java.lang.StringBuilder
dup
ldc "Type definition error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual com.fasterxml.jackson.databind.exc.InvalidDefinitionException.getType:()Lcom/fasterxml/jackson/databind/JavaType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 13
invokespecial org.springframework.core.codec.CodecException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 13 23: StackMap locals:
StackMap stack: com.fasterxml.jackson.core.JsonProcessingException
astore 13
start local 13 24: new org.springframework.core.codec.EncodingException
dup
new java.lang.StringBuilder
dup
ldc "JSON encoding error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual com.fasterxml.jackson.core.JsonProcessingException.getOriginalMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 13
invokespecial org.springframework.core.codec.EncodingException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 13 25: StackMap locals:
StackMap stack: java.io.IOException
astore 13
start local 13 26: new java.lang.IllegalStateException
dup
ldc "Unexpected I/O error while writing to data buffer"
27: aload 13
28: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 13 29: StackMap locals:
StackMap stack: java.lang.Throwable
astore 14
30: iload 11
ifeq 32
31: aload 10
invokestatic org.springframework.core.io.buffer.DataBufferUtils.release:(Lorg/springframework/core/io/buffer/DataBuffer;)Z
pop
32: StackMap locals: org.springframework.http.codec.json.AbstractJackson2Encoder java.lang.Object org.springframework.util.MimeType org.springframework.core.io.buffer.DataBufferFactory org.springframework.core.ResolvableType java.util.Map com.fasterxml.jackson.core.JsonEncoding com.fasterxml.jackson.databind.JavaType java.lang.Class com.fasterxml.jackson.databind.ObjectWriter org.springframework.core.io.buffer.DataBuffer int java.io.OutputStream top java.lang.Throwable
StackMap stack:
aload 14
athrow
33: StackMap locals: org.springframework.http.codec.json.AbstractJackson2Encoder java.lang.Object org.springframework.util.MimeType org.springframework.core.io.buffer.DataBufferFactory org.springframework.core.ResolvableType java.util.Map com.fasterxml.jackson.core.JsonEncoding com.fasterxml.jackson.databind.JavaType java.lang.Class com.fasterxml.jackson.databind.ObjectWriter org.springframework.core.io.buffer.DataBuffer int java.io.OutputStream
StackMap stack:
iload 11
ifeq 35
34: aload 10
invokestatic org.springframework.core.io.buffer.DataBufferUtils.release:(Lorg/springframework/core/io/buffer/DataBuffer;)Z
pop
35: StackMap locals:
StackMap stack:
aload 10
areturn
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 36 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 36 1 value Ljava/lang/Object;
0 36 2 mimeType Lorg/springframework/util/MimeType;
0 36 3 bufferFactory Lorg/springframework/core/io/buffer/DataBufferFactory;
0 36 4 elementType Lorg/springframework/core/ResolvableType;
0 36 5 hints Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
0 36 6 encoding Lcom/fasterxml/jackson/core/JsonEncoding;
3 36 7 javaType Lcom/fasterxml/jackson/databind/JavaType;
6 36 8 jsonView Ljava/lang/Class<*>;
10 36 9 writer Lcom/fasterxml/jackson/databind/ObjectWriter;
14 36 10 buffer Lorg/springframework/core/io/buffer/DataBuffer;
15 36 11 release Z
16 36 12 outputStream Ljava/io/OutputStream;
18 20 13 generator Lcom/fasterxml/jackson/core/JsonGenerator;
22 23 13 ex Lcom/fasterxml/jackson/databind/exc/InvalidDefinitionException;
24 25 13 ex Lcom/fasterxml/jackson/core/JsonProcessingException;
26 29 13 ex Ljava/io/IOException;
Exception table:
from to target type
16 20 21 Class com.fasterxml.jackson.databind.exc.InvalidDefinitionException
16 20 23 Class com.fasterxml.jackson.core.JsonProcessingException
16 20 25 Class java.io.IOException
16 29 29 any
Signature: (Ljava/lang/Object;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;Lcom/fasterxml/jackson/core/JsonEncoding;)Lorg/springframework/core/io/buffer/DataBuffer;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
3:
4:
org.springframework.lang.Nullable()
5:
MethodParameters:
Name Flags
value
mimeType
bufferFactory
elementType
hints
encoding
protected com.fasterxml.jackson.databind.ObjectWriter customizeWriter(com.fasterxml.jackson.databind.ObjectWriter, org.springframework.util.MimeType, org.springframework.core.ResolvableType, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lcom/fasterxml/jackson/databind/ObjectWriter;Lorg/springframework/util/MimeType;Lorg/springframework/core/ResolvableType;Ljava/util/Map;)Lcom/fasterxml/jackson/databind/ObjectWriter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
areturn
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/json/AbstractJackson2Encoder;
0 1 1 writer Lcom/fasterxml/jackson/databind/ObjectWriter;
0 1 2 mimeType Lorg/springframework/util/MimeType;
0 1 3 elementType Lorg/springframework/core/ResolvableType;
0 1 4 hints Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lcom/fasterxml/jackson/databind/ObjectWriter;Lorg/springframework/util/MimeType;Lorg/springframework/core/ResolvableType;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lcom/fasterxml/jackson/databind/ObjectWriter;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
3:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
writer
mimeType
elementType
hints
protected com.fasterxml.jackson.core.JsonEncoding getJsonEncoding(org.springframework.util.MimeType);
descriptor: (Lorg/springframework/util/MimeType;)Lcom/fasterxml/jackson/core/JsonEncoding;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 8
aload 1
invokevirtual org.springframework.util.MimeType.getCharset:()Ljava/nio/charset/Charset;
ifnull 8
1: aload 1
invokevirtual org.springframework.util.MimeType.getCharset:()Ljava/nio/charset/Charset;
astore 2
start local 2 2: invokestatic com.fasterxml.jackson.core.JsonEncoding.values:()[Lcom/fasterxml/jackson/core/JsonEncoding;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: org.springframework.http.codec.json.AbstractJackson2Encoder org.springframework.util.MimeType java.nio.charset.Charset top int int com.fasterxml.jackson.core.JsonEncoding[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 2
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
aload 3
invokevirtual com.fasterxml.jackson.core.JsonEncoding.getJavaName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 3
areturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
end local 2 8: StackMap locals: org.springframework.http.codec.json.AbstractJackson2Encoder org.springframework.util.MimeType
StackMap stack:
getstatic com.fasterxml.jackson.core.JsonEncoding.UTF8:Lcom/fasterxml/jackson/core/JsonEncoding;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 9 1 mimeType Lorg/springframework/util/MimeType;
2 8 2 charset Ljava/nio/charset/Charset;
4 6 3 encoding Lcom/fasterxml/jackson/core/JsonEncoding;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
mimeType
public java.util.List<org.springframework.util.MimeType> getEncodableMimeTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.getMimeTypes:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
Signature: ()Ljava/util/List<Lorg/springframework/util/MimeType;>;
public java.util.List<org.springframework.http.MediaType> getStreamingMediaTypes();
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.json.AbstractJackson2Encoder.streamingMediaTypes: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/json/AbstractJackson2Encoder;
Signature: ()Ljava/util/List<Lorg/springframework/http/MediaType;>;
public java.util.Map<java.lang.String, java.lang.Object> getEncodeHints(org.springframework.core.ResolvableType, org.springframework.core.ResolvableType, org.springframework.http.MediaType, org.springframework.http.server.reactive.ServerHttpRequest, org.springframework.http.server.reactive.ServerHttpResponse);
descriptor: (Lorg/springframework/core/ResolvableType;Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;Lorg/springframework/http/server/reactive/ServerHttpRequest;Lorg/springframework/http/server/reactive/ServerHttpResponse;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
ifnull 1
aload 0
aload 1
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.getHints:(Lorg/springframework/core/ResolvableType;)Ljava/util/Map;
goto 2
StackMap locals:
StackMap stack:
1: invokestatic org.springframework.core.codec.Hints.none:()Ljava/util/Map;
StackMap locals:
StackMap stack: java.util.Map
2: 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 3 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 3 1 actualType Lorg/springframework/core/ResolvableType;
0 3 2 elementType Lorg/springframework/core/ResolvableType;
0 3 3 mediaType Lorg/springframework/http/MediaType;
0 3 4 request Lorg/springframework/http/server/reactive/ServerHttpRequest;
0 3 5 response Lorg/springframework/http/server/reactive/ServerHttpResponse;
Signature: (Lorg/springframework/core/ResolvableType;Lorg/springframework/core/ResolvableType;Lorg/springframework/http/MediaType;Lorg/springframework/http/server/reactive/ServerHttpRequest;Lorg/springframework/http/server/reactive/ServerHttpResponse;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
2:
org.springframework.lang.Nullable()
3:
4:
MethodParameters:
Name Flags
actualType
elementType
mediaType
request
response
protected <A extends java.lang.annotation.Annotation> A getAnnotation(org.springframework.core.MethodParameter, java.lang.Class<A>);
descriptor: (Lorg/springframework/core/MethodParameter;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual org.springframework.core.MethodParameter.getMethodAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 1 1 parameter Lorg/springframework/core/MethodParameter;
0 1 2 annotType Ljava/lang/Class<TA;>;
Signature: <A::Ljava/lang/annotation/Annotation;>(Lorg/springframework/core/MethodParameter;Ljava/lang/Class<TA;>;)TA;
MethodParameters:
Name Flags
parameter
annotType
private org.springframework.core.io.buffer.DataBuffer lambda$0(org.springframework.util.MimeType, org.springframework.core.io.buffer.DataBufferFactory, org.springframework.core.ResolvableType, java.util.Map, com.fasterxml.jackson.core.JsonEncoding, java.lang.Object);
descriptor: (Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Ljava/lang/Object;)Lorg/springframework/core/io/buffer/DataBuffer;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 6 0: aload 0
aload 6
aload 1
aload 2
aload 3
aload 4
aload 5
invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.encodeValue:(Ljava/lang/Object;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;)Lorg/springframework/core/io/buffer/DataBuffer;
areturn
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 1 6 value Ljava/lang/Object;
private static boolean lambda$1(org.springframework.util.MimeType, org.springframework.http.MediaType);
descriptor: (Lorg/springframework/util/MimeType;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/util/MimeType;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 mediaType Lorg/springframework/http/MediaType;
private reactor.core.publisher.Flux lambda$2(org.springframework.util.MimeType, org.springframework.core.io.buffer.DataBufferFactory, org.springframework.core.ResolvableType, java.util.Map, com.fasterxml.jackson.core.JsonEncoding, org.reactivestreams.Publisher, org.springframework.http.MediaType);
descriptor: (Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Lorg/reactivestreams/Publisher;Lorg/springframework/http/MediaType;)Lreactor/core/publisher/Flux;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=9, args_size=8
start local 0 start local 7 0: getstatic org.springframework.http.codec.json.AbstractJackson2Encoder.STREAM_SEPARATORS:Ljava/util/Map;
aload 7
getstatic org.springframework.http.codec.json.AbstractJackson2Encoder.NEWLINE_SEPARATOR:[B
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast byte[]
1: astore 8
start local 8 2: aload 6
invokestatic reactor.core.publisher.Flux.from:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux;
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 8
invokedynamic apply(Lorg/springframework/http/codec/json/AbstractJackson2Encoder;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;[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/json/AbstractJackson2Encoder.lambda$3(Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;[BLjava/lang/Object;)Lorg/springframework/core/io/buffer/DataBuffer; (7)
(Ljava/lang/Object;)Lorg/springframework/core/io/buffer/DataBuffer;
invokevirtual reactor.core.publisher.Flux.map:(Ljava/util/function/Function;)Lreactor/core/publisher/Flux;
areturn
end local 8 end local 7 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 3 7 mediaType Lorg/springframework/http/MediaType;
2 3 8 separator [B
private reactor.core.publisher.Flux lambda$4(org.springframework.util.MimeType, org.springframework.core.io.buffer.DataBufferFactory, java.util.Map, com.fasterxml.jackson.core.JsonEncoding, org.springframework.core.ResolvableType, org.reactivestreams.Publisher);
descriptor: (Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Lorg/springframework/core/ResolvableType;Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=8, args_size=7
start local 0 0: ldc Ljava/util/List;
iconst_1
anewarray org.springframework.core.ResolvableType
dup
iconst_0
aload 5
aastore
invokestatic org.springframework.core.ResolvableType.forClassWithGenerics:(Ljava/lang/Class;[Lorg/springframework/core/ResolvableType;)Lorg/springframework/core/ResolvableType;
1: astore 7
start local 7 2: aload 6
invokestatic reactor.core.publisher.Flux.from:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux;
invokevirtual reactor.core.publisher.Flux.collectList:()Lreactor/core/publisher/Mono;
aload 0
aload 1
aload 2
aload 7
aload 3
aload 4
invokedynamic apply(Lorg/springframework/http/codec/json/AbstractJackson2Encoder;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;)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/json/AbstractJackson2Encoder.lambda$5(Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Ljava/util/List;)Lorg/springframework/core/io/buffer/DataBuffer; (7)
(Ljava/util/List;)Lorg/springframework/core/io/buffer/DataBuffer;
invokevirtual reactor.core.publisher.Mono.map:(Ljava/util/function/Function;)Lreactor/core/publisher/Mono;
3: invokevirtual reactor.core.publisher.Mono.flux:()Lreactor/core/publisher/Flux;
4: areturn
end local 7 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
2 5 7 listType Lorg/springframework/core/ResolvableType;
private static java.lang.String lambda$6(java.lang.Object, java.util.Map, java.lang.Boolean);
descriptor: (Ljava/lang/Object;Ljava/util/Map;Ljava/lang/Boolean;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 2 0: aload 0
aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.Object
1: iconst_1
StackMap locals: java.lang.Object java.util.Map java.lang.Boolean
StackMap stack: java.lang.Object int
2: invokestatic org.springframework.core.log.LogFormatUtils.formatValue:(Ljava/lang/Object;Z)Ljava/lang/String;
astore 3
start local 3 3: 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;
aload 3
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;
areturn
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 traceOn Ljava/lang/Boolean;
3 4 3 formatted Ljava/lang/String;
private org.springframework.core.io.buffer.DataBuffer lambda$3(org.springframework.util.MimeType, org.springframework.core.io.buffer.DataBufferFactory, org.springframework.core.ResolvableType, java.util.Map, com.fasterxml.jackson.core.JsonEncoding, byte[], java.lang.Object);
descriptor: (Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;[BLjava/lang/Object;)Lorg/springframework/core/io/buffer/DataBuffer;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=9, args_size=8
start local 0 start local 7 0: aload 0
aload 7
aload 1
aload 2
aload 3
aload 4
1: aload 5
2: invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.encodeValue:(Ljava/lang/Object;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;)Lorg/springframework/core/io/buffer/DataBuffer;
3: astore 8
start local 8 4: aload 6
ifnull 6
5: aload 8
aload 6
invokeinterface org.springframework.core.io.buffer.DataBuffer.write:([B)Lorg/springframework/core/io/buffer/DataBuffer;
pop
6: StackMap locals: org.springframework.core.io.buffer.DataBuffer
StackMap stack:
aload 8
areturn
end local 8 end local 7 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 7 7 value Ljava/lang/Object;
4 7 8 buffer Lorg/springframework/core/io/buffer/DataBuffer;
private org.springframework.core.io.buffer.DataBuffer lambda$5(org.springframework.util.MimeType, org.springframework.core.io.buffer.DataBufferFactory, org.springframework.core.ResolvableType, java.util.Map, com.fasterxml.jackson.core.JsonEncoding, java.util.List);
descriptor: (Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;Ljava/util/List;)Lorg/springframework/core/io/buffer/DataBuffer;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 6 0: aload 0
aload 6
aload 1
aload 2
aload 3
aload 4
1: aload 5
2: invokevirtual org.springframework.http.codec.json.AbstractJackson2Encoder.encodeValue:(Ljava/lang/Object;Lorg/springframework/util/MimeType;Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/core/ResolvableType;Ljava/util/Map;Lcom/fasterxml/jackson/core/JsonEncoding;)Lorg/springframework/core/io/buffer/DataBuffer;
3: areturn
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/codec/json/AbstractJackson2Encoder;
0 4 6 list Ljava/util/List<Ljava/lang/Object;>;
}
Signature: Lorg/springframework/http/codec/json/Jackson2CodecSupport;Lorg/springframework/http/codec/HttpMessageEncoder<Ljava/lang/Object;>;
SourceFile: "AbstractJackson2Encoder.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles