public abstract class org.springframework.http.server.reactive.AbstractServerHttpResponse implements org.springframework.http.server.reactive.ServerHttpResponse
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.http.server.reactive.AbstractServerHttpResponse
super_class: java.lang.Object
{
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory;
descriptor: Lorg/springframework/core/io/buffer/DataBufferFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Integer statusCode;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final org.springframework.http.HttpHeaders ;
descriptor: Lorg/springframework/http/HttpHeaders;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.ResponseCookie> cookies;
descriptor: Lorg/springframework/util/MultiValueMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/ResponseCookie;>;
private final java.util.concurrent.atomic.AtomicReference<org.springframework.http.server.reactive.AbstractServerHttpResponse$State> state;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;>;
private final java.util.List<java.util.function.Supplier<? extends reactor.core.publisher.Mono<java.lang.Void>>> commitActions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/function/Supplier<+Lreactor/core/publisher/Mono<Ljava/lang/Void;>;>;>;
public void <init>(org.springframework.core.io.buffer.DataBufferFactory);
descriptor: (Lorg/springframework/core/io/buffer/DataBufferFactory;)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.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
invokespecial org.springframework.http.server.reactive.AbstractServerHttpResponse.<init>:(Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/http/HttpHeaders;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 2 1 dataBufferFactory Lorg/springframework/core/io/buffer/DataBufferFactory;
MethodParameters:
Name Flags
dataBufferFactory
public void (org.springframework.core.io.buffer.DataBufferFactory, org.springframework.http.HttpHeaders);
descriptor: (Lorg/springframework/core/io/buffer/DataBufferFactory;Lorg/springframework/http/HttpHeaders;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.springframework.http.HttpLogging.forLogName:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.http.server.reactive.AbstractServerHttpResponse.logger:Lorg/apache/commons/logging/Log;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.NEW:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield org.springframework.http.server.reactive.AbstractServerHttpResponse.state:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.springframework.http.server.reactive.AbstractServerHttpResponse.commitActions:Ljava/util/List;
4: aload 1
ldc "DataBufferFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
5: aload 2
ldc "HttpHeaders must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
6: aload 0
aload 1
putfield org.springframework.http.server.reactive.AbstractServerHttpResponse.dataBufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
7: aload 0
aload 2
putfield org.springframework.http.server.reactive.AbstractServerHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
8: aload 0
new org.springframework.util.LinkedMultiValueMap
dup
invokespecial org.springframework.util.LinkedMultiValueMap.<init>:()V
putfield org.springframework.http.server.reactive.AbstractServerHttpResponse.cookies:Lorg/springframework/util/MultiValueMap;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 10 1 dataBufferFactory Lorg/springframework/core/io/buffer/DataBufferFactory;
0 10 2 headers Lorg/springframework/http/HttpHeaders;
MethodParameters:
Name Flags
dataBufferFactory
headers
public final org.springframework.core.io.buffer.DataBufferFactory bufferFactory();
descriptor: ()Lorg/springframework/core/io/buffer/DataBufferFactory;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.dataBufferFactory:Lorg/springframework/core/io/buffer/DataBufferFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
public boolean setStatusCode(org.springframework.http.HttpStatus);
descriptor: (Lorg/springframework/http/HttpStatus;)Z
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.server.reactive.AbstractServerHttpResponse.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.COMMITTED:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
ifnull 3
aload 1
invokevirtual org.springframework.http.HttpStatus.value:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
goto 4
StackMap locals:
StackMap stack: org.springframework.http.server.reactive.AbstractServerHttpResponse
3: aconst_null
StackMap locals: org.springframework.http.server.reactive.AbstractServerHttpResponse org.springframework.http.HttpStatus
StackMap stack: org.springframework.http.server.reactive.AbstractServerHttpResponse java.lang.Integer
4: putfield org.springframework.http.server.reactive.AbstractServerHttpResponse.statusCode:Ljava/lang/Integer;
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 6 1 status Lorg/springframework/http/HttpStatus;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
status
public org.springframework.http.HttpStatus getStatusCode();
descriptor: ()Lorg/springframework/http/HttpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.statusCode:Ljava/lang/Integer;
ifnull 1
aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.statusCode:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokestatic org.springframework.http.HttpStatus.resolve:(I)Lorg/springframework/http/HttpStatus;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.springframework.http.HttpStatus
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setStatusCodeValue(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.http.server.reactive.AbstractServerHttpResponse.statusCode:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 2 1 statusCode Ljava/lang/Integer;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
statusCode
public java.lang.Integer getStatusCodeValue();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.statusCode:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public org.springframework.http.HttpHeaders ();
descriptor: ()Lorg/springframework/http/HttpHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.COMMITTED:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
if_acmpne 2
1: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
invokestatic org.springframework.http.HttpHeaders.readOnlyHttpHeaders:(Lorg/springframework/http/HttpHeaders;)Lorg/springframework/http/HttpHeaders;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
3: StackMap locals:
StackMap stack: org.springframework.http.HttpHeaders
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
public org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.ResponseCookie> getCookies();
descriptor: ()Lorg/springframework/util/MultiValueMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.COMMITTED:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
if_acmpne 2
1: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.cookies:Lorg/springframework/util/MultiValueMap;
invokestatic org.springframework.util.CollectionUtils.unmodifiableMultiValueMap:(Lorg/springframework/util/MultiValueMap;)Lorg/springframework/util/MultiValueMap;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.cookies:Lorg/springframework/util/MultiValueMap;
3: StackMap locals:
StackMap stack: org.springframework.util.MultiValueMap
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
Signature: ()Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/ResponseCookie;>;
public void addCookie(org.springframework.http.ResponseCookie);
descriptor: (Lorg/springframework/http/ResponseCookie;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "ResponseCookie must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.COMMITTED:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
if_acmpne 5
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Can't add the cookie "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc "because the HTTP response has already been committed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.getCookies:()Lorg/springframework/util/MultiValueMap;
aload 1
invokevirtual org.springframework.http.ResponseCookie.getName:()Ljava/lang/String;
aload 1
invokeinterface org.springframework.util.MultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 7 1 cookie Lorg/springframework/http/ResponseCookie;
MethodParameters:
Name Flags
cookie
public abstract <T> T getNativeResponse();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>()TT;
public void beforeCommit(java.util.function.Supplier<? extends reactor.core.publisher.Mono<java.lang.Void>>);
descriptor: (Ljava/util/function/Supplier;)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.server.reactive.AbstractServerHttpResponse.commitActions:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 2 1 action Ljava/util/function/Supplier<+Lreactor/core/publisher/Mono<Ljava/lang/Void;>;>;
Signature: (Ljava/util/function/Supplier<+Lreactor/core/publisher/Mono<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
action
public boolean isCommitted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.NEW:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
if_acmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
public final reactor.core.publisher.Mono<java.lang.Void> writeWith(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>);
descriptor: (Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.http.server.reactive.ChannelSendOperator
dup
aload 1
1: aload 0
invokedynamic apply(Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;)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/server/reactive/AbstractServerHttpResponse.lambda$0(Lorg/reactivestreams/Publisher;)Lorg/reactivestreams/Publisher; (7)
(Lorg/reactivestreams/Publisher;)Lorg/reactivestreams/Publisher;
2: invokespecial org.springframework.http.server.reactive.ChannelSendOperator.<init>:(Lorg/reactivestreams/Publisher;Ljava/util/function/Function;)V
3: aload 0
invokedynamic accept(Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;)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/server/reactive/AbstractServerHttpResponse.lambda$2(Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokevirtual org.springframework.http.server.reactive.ChannelSendOperator.doOnError:(Ljava/util/function/Consumer;)Lreactor/core/publisher/Mono;
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 5 1 body Lorg/reactivestreams/Publisher<+Lorg/springframework/core/io/buffer/DataBuffer;>;
Signature: (Lorg/reactivestreams/Publisher<+Lorg/springframework/core/io/buffer/DataBuffer;>;)Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
MethodParameters:
Name Flags
body
public final reactor.core.publisher.Mono<java.lang.Void> writeAndFlushWith(org.reactivestreams.Publisher<? extends org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>>);
descriptor: (Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.http.server.reactive.ChannelSendOperator
dup
aload 1
1: aload 0
invokedynamic apply(Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;)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/server/reactive/AbstractServerHttpResponse.lambda$3(Lorg/reactivestreams/Publisher;)Lorg/reactivestreams/Publisher; (7)
(Lorg/reactivestreams/Publisher;)Lorg/reactivestreams/Publisher;
2: invokespecial org.springframework.http.server.reactive.ChannelSendOperator.<init>:(Lorg/reactivestreams/Publisher;Ljava/util/function/Function;)V
3: aload 0
invokedynamic accept(Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;)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/server/reactive/AbstractServerHttpResponse.lambda$5(Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokevirtual org.springframework.http.server.reactive.ChannelSendOperator.doOnError:(Ljava/util/function/Consumer;)Lreactor/core/publisher/Mono;
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 5 1 body Lorg/reactivestreams/Publisher<+Lorg/reactivestreams/Publisher<+Lorg/springframework/core/io/buffer/DataBuffer;>;>;
Signature: (Lorg/reactivestreams/Publisher<+Lorg/reactivestreams/Publisher<+Lorg/springframework/core/io/buffer/DataBuffer;>;>;)Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
MethodParameters:
Name Flags
body
private void removeContentLength();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.isCommitted:()Z
ifne 2
1: aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.getHeaders:()Lorg/springframework/http/HttpHeaders;
ldc "Content-Length"
invokevirtual org.springframework.http.HttpHeaders.remove:(Ljava/lang/Object;)Ljava/util/List;
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
public reactor.core.publisher.Mono<java.lang.Void> setComplete();
descriptor: ()Lreactor/core/publisher/Mono;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.isCommitted:()Z
ifne 1
aload 0
aconst_null
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.doCommit:(Ljava/util/function/Supplier;)Lreactor/core/publisher/Mono;
goto 2
StackMap locals:
StackMap stack:
1: invokestatic reactor.core.publisher.Mono.empty:()Lreactor/core/publisher/Mono;
StackMap locals:
StackMap stack: reactor.core.publisher.Mono
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
Signature: ()Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
protected reactor.core.publisher.Mono<java.lang.Void> doCommit();
descriptor: ()Lreactor/core/publisher/Mono;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.doCommit:(Ljava/util/function/Supplier;)Lreactor/core/publisher/Mono;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
Signature: ()Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
protected reactor.core.publisher.Mono<java.lang.Void> doCommit(java.util.function.Supplier<? extends reactor.core.publisher.Mono<java.lang.Void>>);
descriptor: (Ljava/util/function/Supplier;)Lreactor/core/publisher/Mono;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.NEW:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.COMMITTING:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 2
1: invokestatic reactor.core.publisher.Mono.empty:()Lreactor/core/publisher/Mono;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.commitActions:Ljava/util/List;
aload 0
invokedynamic get(Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;)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/server/reactive/AbstractServerHttpResponse.lambda$6()Lreactor/core/publisher/Mono; (7)
()Lreactor/core/publisher/Mono;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
ifnull 5
4: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.commitActions:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.commitActions:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
6: 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/function/Supplier.get()Ljava/lang/Object; (9 itf)
(Ljava/util/function/Supplier;)Lreactor/core/publisher/Mono;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
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.util.List
7: astore 2
start local 2 8: aload 2
invokestatic reactor.core.publisher.Flux.concat:(Ljava/lang/Iterable;)Lreactor/core/publisher/Flux;
invokevirtual reactor.core.publisher.Flux.then:()Lreactor/core/publisher/Mono;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 9 1 writeAction Ljava/util/function/Supplier<+Lreactor/core/publisher/Mono<Ljava/lang/Void;>;>;
8 9 2 actions Ljava/util/List<+Lreactor/core/publisher/Mono<Ljava/lang/Void;>;>;
Signature: (Ljava/util/function/Supplier<+Lreactor/core/publisher/Mono<Ljava/lang/Void;>;>;)Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
writeAction
protected abstract reactor.core.publisher.Mono<java.lang.Void> writeWithInternal(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>);
descriptor: (Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/reactivestreams/Publisher<+Lorg/springframework/core/io/buffer/DataBuffer;>;)Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
MethodParameters:
Name Flags
body
protected abstract reactor.core.publisher.Mono<java.lang.Void> writeAndFlushWithInternal(org.reactivestreams.Publisher<? extends org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>>);
descriptor: (Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/reactivestreams/Publisher<+Lorg/reactivestreams/Publisher<+Lorg/springframework/core/io/buffer/DataBuffer;>;>;)Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
MethodParameters:
Name Flags
body
protected abstract void applyStatusCode();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void ();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void applyCookies();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
private org.reactivestreams.Publisher lambda$0(org.reactivestreams.Publisher);
descriptor: (Lorg/reactivestreams/Publisher;)Lorg/reactivestreams/Publisher;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokedynamic get(Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;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/server/reactive/AbstractServerHttpResponse.lambda$1(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono; (7)
()Lreactor/core/publisher/Mono;
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.doCommit:(Ljava/util/function/Supplier;)Lreactor/core/publisher/Mono;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 1 1 writePublisher Lorg/reactivestreams/Publisher<Lorg/springframework/core/io/buffer/DataBuffer;>;
private void lambda$2(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.removeContentLength:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 1 1 t Ljava/lang/Throwable;
private org.reactivestreams.Publisher lambda$3(org.reactivestreams.Publisher);
descriptor: (Lorg/reactivestreams/Publisher;)Lorg/reactivestreams/Publisher;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokedynamic get(Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;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/server/reactive/AbstractServerHttpResponse.lambda$4(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono; (7)
()Lreactor/core/publisher/Mono;
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.doCommit:(Ljava/util/function/Supplier;)Lreactor/core/publisher/Mono;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 1 1 writePublisher Lorg/reactivestreams/Publisher<Lorg/reactivestreams/Publisher<TT;>;>;
private void lambda$5(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.removeContentLength:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
0 1 1 t Ljava/lang/Throwable;
private reactor.core.publisher.Mono lambda$6();
descriptor: ()Lreactor/core/publisher/Mono;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic run(Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;)Ljava/lang/Runnable;
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:
()V
org/springframework/http/server/reactive/AbstractServerHttpResponse.lambda$7()V (7)
()V
invokestatic reactor.core.publisher.Mono.fromRunnable:(Ljava/lang/Runnable;)Lreactor/core/publisher/Mono;
1: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
private reactor.core.publisher.Mono lambda$1(org.reactivestreams.Publisher);
descriptor: (Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.writeWithInternal:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
private reactor.core.publisher.Mono lambda$4(org.reactivestreams.Publisher);
descriptor: (Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.writeAndFlushWithInternal:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
private void lambda$7();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.applyStatusCode:()V
1: aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.applyHeaders:()V
2: aload 0
invokevirtual org.springframework.http.server.reactive.AbstractServerHttpResponse.applyCookies:()V
3: aload 0
getfield org.springframework.http.server.reactive.AbstractServerHttpResponse.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.springframework.http.server.reactive.AbstractServerHttpResponse$State.COMMITTED:Lorg/springframework/http/server/reactive/AbstractServerHttpResponse$State;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/server/reactive/AbstractServerHttpResponse;
}
SourceFile: "AbstractServerHttpResponse.java"
NestMembers:
org.springframework.http.server.reactive.AbstractServerHttpResponse$State
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final State = org.springframework.http.server.reactive.AbstractServerHttpResponse$State of org.springframework.http.server.reactive.AbstractServerHttpResponse