class org.springframework.http.client.OkHttp3ClientHttpRequest extends org.springframework.http.client.AbstractBufferingClientHttpRequest
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.http.client.OkHttp3ClientHttpRequest
super_class: org.springframework.http.client.AbstractBufferingClientHttpRequest
{
private final okhttp3.OkHttpClient client;
descriptor: Lokhttp3/OkHttpClient;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.http.HttpMethod method;
descriptor: Lorg/springframework/http/HttpMethod;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(okhttp3.OkHttpClient, java.net.URI, org.springframework.http.HttpMethod);
descriptor: (Lokhttp3/OkHttpClient;Ljava/net/URI;Lorg/springframework/http/HttpMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.springframework.http.client.AbstractBufferingClientHttpRequest.<init>:()V
1: aload 0
aload 1
putfield org.springframework.http.client.OkHttp3ClientHttpRequest.client:Lokhttp3/OkHttpClient;
2: aload 0
aload 2
putfield org.springframework.http.client.OkHttp3ClientHttpRequest.uri:Ljava/net/URI;
3: aload 0
aload 3
putfield org.springframework.http.client.OkHttp3ClientHttpRequest.method:Lorg/springframework/http/HttpMethod;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/client/OkHttp3ClientHttpRequest;
0 5 1 client Lokhttp3/OkHttpClient;
0 5 2 uri Ljava/net/URI;
0 5 3 method Lorg/springframework/http/HttpMethod;
MethodParameters:
Name Flags
client
uri
method
public org.springframework.http.HttpMethod getMethod();
descriptor: ()Lorg/springframework/http/HttpMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.OkHttp3ClientHttpRequest.method:Lorg/springframework/http/HttpMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/OkHttp3ClientHttpRequest;
public java.lang.String getMethodValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.OkHttp3ClientHttpRequest.method:Lorg/springframework/http/HttpMethod;
invokevirtual org.springframework.http.HttpMethod.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/OkHttp3ClientHttpRequest;
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.OkHttp3ClientHttpRequest.uri:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/OkHttp3ClientHttpRequest;
protected org.springframework.http.client.ClientHttpResponse (org.springframework.http.HttpHeaders, byte[]);
descriptor: (Lorg/springframework/http/HttpHeaders;[B)Lorg/springframework/http/client/ClientHttpResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
aload 0
getfield org.springframework.http.client.OkHttp3ClientHttpRequest.uri:Ljava/net/URI;
aload 0
getfield org.springframework.http.client.OkHttp3ClientHttpRequest.method:Lorg/springframework/http/HttpMethod;
invokestatic org.springframework.http.client.OkHttp3ClientHttpRequestFactory.buildRequest:(Lorg/springframework/http/HttpHeaders;[BLjava/net/URI;Lorg/springframework/http/HttpMethod;)Lokhttp3/Request;
astore 3
start local 3 1: new org.springframework.http.client.OkHttp3ClientHttpResponse
dup
aload 0
getfield org.springframework.http.client.OkHttp3ClientHttpRequest.client:Lokhttp3/OkHttpClient;
aload 3
invokevirtual okhttp3.OkHttpClient.newCall:(Lokhttp3/Request;)Lokhttp3/Call;
invokeinterface okhttp3.Call.execute:()Lokhttp3/Response;
invokespecial org.springframework.http.client.OkHttp3ClientHttpResponse.<init>:(Lokhttp3/Response;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/client/OkHttp3ClientHttpRequest;
0 2 1 headers Lorg/springframework/http/HttpHeaders;
0 2 2 content [B
1 2 3 request Lokhttp3/Request;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
content
}
SourceFile: "OkHttp3ClientHttpRequest.java"