abstract class org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer extends org.jboss.resteasy.core.AsyncResponseConsumer implements org.reactivestreams.Subscriber<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer
super_class: org.jboss.resteasy.core.AsyncResponseConsumer
{
protected org.reactivestreams.Subscription subscription;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0004) ACC_PROTECTED
private org.jboss.resteasy.spi.AsyncStreamProvider<?> asyncStreamProvider;
descriptor: Lorg/jboss/resteasy/spi/AsyncStreamProvider;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/jboss/resteasy/spi/AsyncStreamProvider<*>;
void <init>(org.jboss.resteasy.core.ResourceMethodInvoker, org.jboss.resteasy.spi.AsyncStreamProvider<?>);
descriptor: (Lorg/jboss/resteasy/core/ResourceMethodInvoker;Lorg/jboss/resteasy/spi/AsyncStreamProvider;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.jboss.resteasy.core.AsyncResponseConsumer.<init>:(Lorg/jboss/resteasy/core/ResourceMethodInvoker;)V
1: aload 0
aload 2
putfield org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.asyncStreamProvider:Lorg/jboss/resteasy/spi/AsyncStreamProvider;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
0 3 1 method Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 3 2 asyncStreamProvider Lorg/jboss/resteasy/spi/AsyncStreamProvider<*>;
Signature: (Lorg/jboss/resteasy/core/ResourceMethodInvoker;Lorg/jboss/resteasy/spi/AsyncStreamProvider<*>;)V
MethodParameters:
Name Flags
method final
asyncStreamProvider final
protected void doComplete();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.subscription:Lorg/reactivestreams/Subscription;
ifnull 2
1: aload 0
getfield org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.subscription:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
2: StackMap locals:
StackMap stack:
aload 0
invokespecial org.jboss.resteasy.core.AsyncResponseConsumer.doComplete:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.complete:(Ljava/lang/Throwable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
aload 1
invokedynamic accept(Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;Ljava/lang/Throwable;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer.lambda$0(Ljava/lang/Throwable;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.internalResume:(Ljava/lang/Throwable;Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
0 2 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
protected void addNextElement(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokedynamic accept(Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer.lambda$1(Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.internalResume:(Ljava/lang/Object;Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
0 2 1 element Ljava/lang/Object;
MethodParameters:
Name Flags
element
public void onNext(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.addNextElement:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
0 2 1 v Ljava/lang/Object;
MethodParameters:
Name Flags
v
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.subscription:Lorg/reactivestreams/Subscription;
1: aload 1
lconst_1
invokeinterface org.reactivestreams.Subscription.request:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
0 3 1 subscription Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
subscription
public void subscribe(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.asyncStreamProvider:Lorg/jboss/resteasy/spi/AsyncStreamProvider;
aload 1
invokeinterface org.jboss.resteasy.spi.AsyncStreamProvider.toAsyncStream:(Ljava/lang/Object;)Lorg/reactivestreams/Publisher;
astore 2
start local 2 1: aload 2
aload 0
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
0 3 1 rtn Ljava/lang/Object;
1 3 2 publisher Lorg/reactivestreams/Publisher<*>;
MethodParameters:
Name Flags
rtn
private void lambda$0(java.lang.Throwable, java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.complete:(Ljava/lang/Throwable;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
0 1 2 x Ljava/lang/Throwable;
private void lambda$1(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
aload 1
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer.complete:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/core/AsyncResponseConsumer$AsyncStreamResponseConsumer;
0 3 1 t Ljava/lang/Throwable;
}
Signature: Lorg/jboss/resteasy/core/AsyncResponseConsumer;Lorg/reactivestreams/Subscriber<Ljava/lang/Object;>;
SourceFile: "AsyncResponseConsumer.java"
NestHost: org.jboss.resteasy.core.AsyncResponseConsumer
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private abstract AsyncStreamResponseConsumer = org.jboss.resteasy.core.AsyncResponseConsumer$AsyncStreamResponseConsumer of org.jboss.resteasy.core.AsyncResponseConsumer