public abstract class org.springframework.http.client.reactive.AbstractClientHttpRequest implements org.springframework.http.client.reactive.ClientHttpRequest
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.http.client.reactive.AbstractClientHttpRequest
super_class: java.lang.Object
{
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.HttpCookie> cookies;
descriptor: Lorg/springframework/util/MultiValueMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/HttpCookie;>;
private final java.util.concurrent.atomic.AtomicReference<org.springframework.http.client.reactive.AbstractClientHttpRequest$State> state;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/springframework/http/client/reactive/AbstractClientHttpRequest$State;>;
private final java.util.List<java.util.function.Supplier<? extends org.reactivestreams.Publisher<java.lang.Void>>> commitActions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/function/Supplier<+Lorg/reactivestreams/Publisher<Ljava/lang/Void;>;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new org.springframework.http.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
invokespecial org.springframework.http.client.reactive.AbstractClientHttpRequest.<init>:(Lorg/springframework/http/HttpHeaders;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/client/reactive/AbstractClientHttpRequest;
public void (org.springframework.http.HttpHeaders);
descriptor: (Lorg/springframework/http/HttpHeaders;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic org.springframework.http.client.reactive.AbstractClientHttpRequest$State.NEW:Lorg/springframework/http/client/reactive/AbstractClientHttpRequest$State;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield org.springframework.http.client.reactive.AbstractClientHttpRequest.state:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.springframework.http.client.reactive.AbstractClientHttpRequest.commitActions:Ljava/util/List;
3: aload 1
ldc "HttpHeaders must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 0
aload 1
putfield org.springframework.http.client.reactive.AbstractClientHttpRequest.headers:Lorg/springframework/http/HttpHeaders;
5: aload 0
new org.springframework.util.LinkedMultiValueMap
dup
invokespecial org.springframework.util.LinkedMultiValueMap.<init>:()V
putfield org.springframework.http.client.reactive.AbstractClientHttpRequest.cookies:Lorg/springframework/util/MultiValueMap;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/client/reactive/AbstractClientHttpRequest;
0 7 1 headers Lorg/springframework/http/HttpHeaders;
MethodParameters:
Name Flags
headers
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: getstatic org.springframework.http.client.reactive.AbstractClientHttpRequest$State.COMMITTED:Lorg/springframework/http/client/reactive/AbstractClientHttpRequest$State;
aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
invokevirtual org.springframework.http.client.reactive.AbstractClientHttpRequest$State.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.headers:Lorg/springframework/http/HttpHeaders;
invokestatic org.springframework.http.HttpHeaders.readOnlyHttpHeaders:(Lorg/springframework/http/HttpHeaders;)Lorg/springframework/http/HttpHeaders;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.headers:Lorg/springframework/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/reactive/AbstractClientHttpRequest;
public org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.HttpCookie> getCookies();
descriptor: ()Lorg/springframework/util/MultiValueMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.springframework.http.client.reactive.AbstractClientHttpRequest$State.COMMITTED:Lorg/springframework/http/client/reactive/AbstractClientHttpRequest$State;
aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
invokevirtual org.springframework.http.client.reactive.AbstractClientHttpRequest$State.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.cookies:Lorg/springframework/util/MultiValueMap;
invokestatic org.springframework.util.CollectionUtils.unmodifiableMultiValueMap:(Lorg/springframework/util/MultiValueMap;)Lorg/springframework/util/MultiValueMap;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.cookies:Lorg/springframework/util/MultiValueMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/reactive/AbstractClientHttpRequest;
Signature: ()Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/http/HttpCookie;>;
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 1
ldc "Action must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.commitActions:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/reactive/AbstractClientHttpRequest;
0 3 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.client.reactive.AbstractClientHttpRequest.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.springframework.http.client.reactive.AbstractClientHttpRequest$State.NEW:Lorg/springframework/http/client/reactive/AbstractClientHttpRequest$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/client/reactive/AbstractClientHttpRequest;
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.client.reactive.AbstractClientHttpRequest.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/client/reactive/AbstractClientHttpRequest;
Signature: ()Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
protected reactor.core.publisher.Mono<java.lang.Void> doCommit(java.util.function.Supplier<? extends org.reactivestreams.Publisher<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.client.reactive.AbstractClientHttpRequest.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.springframework.http.client.reactive.AbstractClientHttpRequest$State.NEW:Lorg/springframework/http/client/reactive/AbstractClientHttpRequest$State;
getstatic org.springframework.http.client.reactive.AbstractClientHttpRequest$State.COMMITTING:Lorg/springframework/http/client/reactive/AbstractClientHttpRequest$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.client.reactive.AbstractClientHttpRequest.commitActions:Ljava/util/List;
aload 0
invokedynamic get(Lorg/springframework/http/client/reactive/AbstractClientHttpRequest;)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/client/reactive/AbstractClientHttpRequest.lambda$0()Lorg/reactivestreams/Publisher; (7)
()Lorg/reactivestreams/Publisher;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
ifnull 5
4: aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.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.client.reactive.AbstractClientHttpRequest.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;)Lorg/reactivestreams/Publisher;
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/client/reactive/AbstractClientHttpRequest;
0 9 1 writeAction Ljava/util/function/Supplier<+Lorg/reactivestreams/Publisher<Ljava/lang/Void;>;>;
8 9 2 actions Ljava/util/List<+Lorg/reactivestreams/Publisher<Ljava/lang/Void;>;>;
Signature: (Ljava/util/function/Supplier<+Lorg/reactivestreams/Publisher<Ljava/lang/Void;>;>;)Lreactor/core/publisher/Mono<Ljava/lang/Void;>;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
writeAction
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();
descriptor: ()Lorg/reactivestreams/Publisher;
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/client/reactive/AbstractClientHttpRequest;)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/client/reactive/AbstractClientHttpRequest.lambda$1()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/client/reactive/AbstractClientHttpRequest;
private void lambda$1();
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.client.reactive.AbstractClientHttpRequest.applyHeaders:()V
1: aload 0
invokevirtual org.springframework.http.client.reactive.AbstractClientHttpRequest.applyCookies:()V
2: aload 0
getfield org.springframework.http.client.reactive.AbstractClientHttpRequest.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.springframework.http.client.reactive.AbstractClientHttpRequest$State.COMMITTED:Lorg/springframework/http/client/reactive/AbstractClientHttpRequest$State;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/client/reactive/AbstractClientHttpRequest;
}
SourceFile: "AbstractClientHttpRequest.java"
NestMembers:
org.springframework.http.client.reactive.AbstractClientHttpRequest$State
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final State = org.springframework.http.client.reactive.AbstractClientHttpRequest$State of org.springframework.http.client.reactive.AbstractClientHttpRequest