class org.glassfish.jersey.client.JerseyInvocation$3 implements org.glassfish.jersey.client.ResponseCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.jersey.client.JerseyInvocation$3
super_class: java.lang.Object
{
final org.glassfish.jersey.client.JerseyInvocation this$0;
descriptor: Lorg/glassfish/jersey/client/JerseyInvocation;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.concurrent.CompletableFuture val$responseFuture;
descriptor: Ljava/util/concurrent/CompletableFuture;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final javax.ws.rs.core.GenericType val$responseType;
descriptor: Ljavax/ws/rs/core/GenericType;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.glassfish.jersey.client.JerseyInvocation, java.util.concurrent.CompletableFuture, javax.ws.rs.core.GenericType);
descriptor: (Lorg/glassfish/jersey/client/JerseyInvocation;Ljava/util/concurrent/CompletableFuture;Ljavax/ws/rs/core/GenericType;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.glassfish.jersey.client.JerseyInvocation$3.this$0:Lorg/glassfish/jersey/client/JerseyInvocation;
aload 0
aload 2
putfield org.glassfish.jersey.client.JerseyInvocation$3.val$responseFuture:Ljava/util/concurrent/CompletableFuture;
aload 0
aload 3
putfield org.glassfish.jersey.client.JerseyInvocation$3.val$responseType:Ljavax/ws/rs/core/GenericType;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/client/JerseyInvocation$3;
MethodParameters:
Name Flags
this$0 final
val$responseFuture final
val$responseType final
public void completed(org.glassfish.jersey.client.ClientResponse, org.glassfish.jersey.process.internal.RequestScope);
descriptor: (Lorg/glassfish/jersey/client/ClientResponse;Lorg/glassfish/jersey/process/internal/RequestScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.jersey.client.JerseyInvocation$3.val$responseFuture:Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.isCancelled:()Z
ifeq 3
1: aload 1
invokevirtual org.glassfish.jersey.client.ClientResponse.close:()V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.client.JerseyInvocation$3.val$responseFuture:Ljava/util/concurrent/CompletableFuture;
aload 0
getfield org.glassfish.jersey.client.JerseyInvocation$3.this$0:Lorg/glassfish/jersey/client/JerseyInvocation;
aload 1
aload 2
aload 0
getfield org.glassfish.jersey.client.JerseyInvocation$3.val$responseType:Ljavax/ws/rs/core/GenericType;
invokevirtual org.glassfish.jersey.client.JerseyInvocation.translate:(Lorg/glassfish/jersey/client/ClientResponse;Lorg/glassfish/jersey/process/internal/RequestScope;Ljavax/ws/rs/core/GenericType;)Ljava/lang/Object;
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
4: goto 7
StackMap locals:
StackMap stack: javax.ws.rs.ProcessingException
5: astore 3
start local 3 6: aload 0
aload 3
invokevirtual org.glassfish.jersey.client.JerseyInvocation$3.failed:(Ljavax/ws/rs/ProcessingException;)V
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/jersey/client/JerseyInvocation$3;
0 8 1 response Lorg/glassfish/jersey/client/ClientResponse;
0 8 2 scope Lorg/glassfish/jersey/process/internal/RequestScope;
6 7 3 ex Ljavax/ws/rs/ProcessingException;
Exception table:
from to target type
3 4 5 Class javax.ws.rs.ProcessingException
MethodParameters:
Name Flags
response final
scope final
public void failed(javax.ws.rs.ProcessingException);
descriptor: (Ljavax/ws/rs/ProcessingException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.jersey.client.JerseyInvocation$3.val$responseFuture:Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.isCancelled:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.ws.rs.ProcessingException.getCause:()Ljava/lang/Throwable;
instanceof javax.ws.rs.WebApplicationException
ifeq 5
3: aload 0
getfield org.glassfish.jersey.client.JerseyInvocation$3.val$responseFuture:Ljava/util/concurrent/CompletableFuture;
aload 1
invokevirtual javax.ws.rs.ProcessingException.getCause:()Ljava/lang/Throwable;
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.client.JerseyInvocation$3.val$responseFuture:Ljava/util/concurrent/CompletableFuture;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/jersey/client/JerseyInvocation$3;
0 7 1 error Ljavax/ws/rs/ProcessingException;
MethodParameters:
Name Flags
error final
}
SourceFile: "JerseyInvocation.java"
EnclosingMethod: org.glassfish.jersey.client.JerseyInvocation.submit:(Ljavax/ws/rs/core/GenericType;)Ljava/util/concurrent/Future;
NestHost: org.glassfish.jersey.client.JerseyInvocation
InnerClasses:
org.glassfish.jersey.client.JerseyInvocation$3