public abstract class org.springframework.http.client.AbstractClientHttpRequest implements org.springframework.http.client.ClientHttpRequest
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.http.client.AbstractClientHttpRequest
super_class: java.lang.Object
{
private final org.springframework.http.HttpHeaders ;
descriptor: Lorg/springframework/http/HttpHeaders;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean executed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.springframework.http.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
putfield org.springframework.http.client.AbstractClientHttpRequest.headers:Lorg/springframework/http/HttpHeaders;
2: aload 0
iconst_0
putfield org.springframework.http.client.AbstractClientHttpRequest.executed:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/client/AbstractClientHttpRequest;
public final org.springframework.http.HttpHeaders ();
descriptor: ()Lorg/springframework/http/HttpHeaders;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.AbstractClientHttpRequest.executed:Z
ifeq 1
aload 0
getfield org.springframework.http.client.AbstractClientHttpRequest.headers:Lorg/springframework/http/HttpHeaders;
invokestatic org.springframework.http.HttpHeaders.readOnlyHttpHeaders:(Lorg/springframework/http/HttpHeaders;)Lorg/springframework/http/HttpHeaders;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.springframework.http.client.AbstractClientHttpRequest.headers:Lorg/springframework/http/HttpHeaders;
StackMap locals:
StackMap stack: org.springframework.http.HttpHeaders
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/AbstractClientHttpRequest;
public final java.io.OutputStream getBody();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.client.AbstractClientHttpRequest.assertNotExecuted:()V
1: aload 0
aload 0
getfield org.springframework.http.client.AbstractClientHttpRequest.headers:Lorg/springframework/http/HttpHeaders;
invokevirtual org.springframework.http.client.AbstractClientHttpRequest.getBodyInternal:(Lorg/springframework/http/HttpHeaders;)Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/client/AbstractClientHttpRequest;
Exceptions:
throws java.io.IOException
public final org.springframework.http.client.ClientHttpResponse execute();
descriptor: ()Lorg/springframework/http/client/ClientHttpResponse;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.client.AbstractClientHttpRequest.assertNotExecuted:()V
1: aload 0
aload 0
getfield org.springframework.http.client.AbstractClientHttpRequest.headers:Lorg/springframework/http/HttpHeaders;
invokevirtual org.springframework.http.client.AbstractClientHttpRequest.executeInternal:(Lorg/springframework/http/HttpHeaders;)Lorg/springframework/http/client/ClientHttpResponse;
astore 1
start local 1 2: aload 0
iconst_1
putfield org.springframework.http.client.AbstractClientHttpRequest.executed:Z
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/client/AbstractClientHttpRequest;
2 4 1 result Lorg/springframework/http/client/ClientHttpResponse;
Exceptions:
throws java.io.IOException
protected void assertNotExecuted();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.AbstractClientHttpRequest.executed:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ldc "ClientHttpRequest already executed"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/client/AbstractClientHttpRequest;
protected abstract java.io.OutputStream getBodyInternal(org.springframework.http.HttpHeaders);
descriptor: (Lorg/springframework/http/HttpHeaders;)Ljava/io/OutputStream;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
protected abstract org.springframework.http.client.ClientHttpResponse (org.springframework.http.HttpHeaders);
descriptor: (Lorg/springframework/http/HttpHeaders;)Lorg/springframework/http/client/ClientHttpResponse;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
}
SourceFile: "AbstractClientHttpRequest.java"