abstract class org.springframework.http.client.AbstractBufferingClientHttpRequest extends org.springframework.http.client.AbstractClientHttpRequest
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.http.client.AbstractBufferingClientHttpRequest
super_class: org.springframework.http.client.AbstractClientHttpRequest
{
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 // org.springframework.http.client.AbstractBufferingClientHttpRequest this
0: .line 32
aload 0 /* this */
invokespecial org.springframework.http.client.AbstractClientHttpRequest.<init>:()V
1: .line 34
aload 0 /* this */
new java.io.ByteArrayOutputStream
dup
sipush 1024
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
putfield org.springframework.http.client.AbstractBufferingClientHttpRequest.bufferedOutput:Ljava/io/ByteArrayOutputStream;
2: .line 32
return
end local 0 // org.springframework.http.client.AbstractBufferingClientHttpRequest this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/AbstractBufferingClientHttpRequest;
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 // org.springframework.http.client.AbstractBufferingClientHttpRequest this
start local 1 // org.springframework.http.HttpHeaders headers
0: .line 39
aload 0 /* this */
getfield org.springframework.http.client.AbstractBufferingClientHttpRequest.bufferedOutput:Ljava/io/ByteArrayOutputStream;
areturn
end local 1 // org.springframework.http.HttpHeaders headers
end local 0 // org.springframework.http.client.AbstractBufferingClientHttpRequest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/AbstractBufferingClientHttpRequest;
0 1 1 headers Lorg/springframework/http/HttpHeaders;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
protected org.springframework.http.client.ClientHttpResponse executeInternal(org.springframework.http.HttpHeaders);
descriptor: (Lorg/springframework/http/HttpHeaders;)Lorg/springframework/http/client/ClientHttpResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 // org.springframework.http.client.AbstractBufferingClientHttpRequest this
start local 1 // org.springframework.http.HttpHeaders headers
0: .line 44
aload 0 /* this */
getfield org.springframework.http.client.AbstractBufferingClientHttpRequest.bufferedOutput:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 2 /* bytes */
start local 2 // byte[] bytes
1: .line 45
aload 1 /* headers */
invokevirtual org.springframework.http.HttpHeaders.getContentLength:()J
lconst_0
lcmp
ifge 3
2: .line 46
aload 1 /* headers */
aload 2 /* bytes */
arraylength
i2l
invokevirtual org.springframework.http.HttpHeaders.setContentLength:(J)V
3: .line 48
StackMap locals: byte[]
StackMap stack:
aload 0 /* this */
aload 1 /* headers */
aload 2 /* bytes */
invokevirtual org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal:(Lorg/springframework/http/HttpHeaders;[B)Lorg/springframework/http/client/ClientHttpResponse;
astore 3 /* result */
start local 3 // org.springframework.http.client.ClientHttpResponse result
4: .line 49
aload 0 /* this */
new java.io.ByteArrayOutputStream
dup
iconst_0
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
putfield org.springframework.http.client.AbstractBufferingClientHttpRequest.bufferedOutput:Ljava/io/ByteArrayOutputStream;
5: .line 50
aload 3 /* result */
areturn
end local 3 // org.springframework.http.client.ClientHttpResponse result
end local 2 // byte[] bytes
end local 1 // org.springframework.http.HttpHeaders headers
end local 0 // org.springframework.http.client.AbstractBufferingClientHttpRequest this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/client/AbstractBufferingClientHttpRequest;
0 6 1 headers Lorg/springframework/http/HttpHeaders;
1 6 2 bytes [B
4 6 3 result Lorg/springframework/http/client/ClientHttpResponse;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
protected abstract org.springframework.http.client.ClientHttpResponse executeInternal(org.springframework.http.HttpHeaders, byte[]);
descriptor: (Lorg/springframework/http/HttpHeaders;[B)Lorg/springframework/http/client/ClientHttpResponse;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
bufferedOutput
}
SourceFile: "AbstractBufferingClientHttpRequest.java"