abstract class org.springframework.http.client.AbstractBufferingAsyncClientHttpRequest extends org.springframework.http.client.AbstractAsyncClientHttpRequest
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.http.client.AbstractBufferingAsyncClientHttpRequest
super_class: org.springframework.http.client.AbstractAsyncClientHttpRequest
{
private java.io.ByteArrayOutputStream bufferedOutput;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.http.client.AbstractAsyncClientHttpRequest.<init>:()V
1: aload 0
new java.io.ByteArrayOutputStream
dup
sipush 1024
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
putfield org.springframework.http.client.AbstractBufferingAsyncClientHttpRequest.bufferedOutput:Ljava/io/ByteArrayOutputStream;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/AbstractBufferingAsyncClientHttpRequest;
protected java.io.OutputStream getBodyInternal(org.springframework.http.HttpHeaders);
descriptor: (Lorg/springframework/http/HttpHeaders;)Ljava/io/OutputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.client.AbstractBufferingAsyncClientHttpRequest.bufferedOutput:Ljava/io/ByteArrayOutputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/AbstractBufferingAsyncClientHttpRequest;
0 1 1 headers Lorg/springframework/http/HttpHeaders;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
protected org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> executeInternal(org.springframework.http.HttpHeaders);
descriptor: (Lorg/springframework/http/HttpHeaders;)Lorg/springframework/util/concurrent/ListenableFuture;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.client.AbstractBufferingAsyncClientHttpRequest.bufferedOutput:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 2
start local 2 1: aload 1
invokevirtual org.springframework.http.HttpHeaders.getContentLength:()J
lconst_0
lcmp
ifge 3
2: aload 1
aload 2
arraylength
i2l
invokevirtual org.springframework.http.HttpHeaders.setContentLength:(J)V
3: StackMap locals: byte[]
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.springframework.http.client.AbstractBufferingAsyncClientHttpRequest.executeInternal:(Lorg/springframework/http/HttpHeaders;[B)Lorg/springframework/util/concurrent/ListenableFuture;
astore 3
start local 3 4: aload 0
new java.io.ByteArrayOutputStream
dup
iconst_0
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
putfield org.springframework.http.client.AbstractBufferingAsyncClientHttpRequest.bufferedOutput:Ljava/io/ByteArrayOutputStream;
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/client/AbstractBufferingAsyncClientHttpRequest;
0 6 1 headers Lorg/springframework/http/HttpHeaders;
1 6 2 bytes [B
4 6 3 result Lorg/springframework/util/concurrent/ListenableFuture<Lorg/springframework/http/client/ClientHttpResponse;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/springframework/http/HttpHeaders;)Lorg/springframework/util/concurrent/ListenableFuture<Lorg/springframework/http/client/ClientHttpResponse;>;
MethodParameters:
Name Flags
headers
protected abstract org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> executeInternal(org.springframework.http.HttpHeaders, byte[]);
descriptor: (Lorg/springframework/http/HttpHeaders;[B)Lorg/springframework/util/concurrent/ListenableFuture;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (Lorg/springframework/http/HttpHeaders;[B)Lorg/springframework/util/concurrent/ListenableFuture<Lorg/springframework/http/client/ClientHttpResponse;>;
MethodParameters:
Name Flags
headers
bufferedOutput
}
SourceFile: "AbstractBufferingAsyncClientHttpRequest.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()