public class org.jboss.resteasy.core.SynchronousExecutionContext extends org.jboss.resteasy.core.AbstractExecutionContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.core.SynchronousExecutionContext
super_class: org.jboss.resteasy.core.AbstractExecutionContext
{
protected final java.util.concurrent.CountDownLatch syncLatch;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected long timeout;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected java.util.concurrent.TimeUnit timeoutUnit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0004) ACC_PROTECTED
protected boolean wasSuspended;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected volatile boolean done;
descriptor: Z
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected java.lang.Object responseLock;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.ResteasyAsynchronousResponse asynchronousResponse;
descriptor: Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
flags: (0x0004) ACC_PROTECTED
public void <init>(org.jboss.resteasy.core.SynchronousDispatcher, org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse);
descriptor: (Lorg/jboss/resteasy/core/SynchronousDispatcher;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jboss.resteasy.core.AbstractExecutionContext.<init>:(Lorg/jboss/resteasy/core/SynchronousDispatcher;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;)V
1: aload 0
new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield org.jboss.resteasy.core.SynchronousExecutionContext.syncLatch:Ljava/util/concurrent/CountDownLatch;
2: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
putfield org.jboss.resteasy.core.SynchronousExecutionContext.timeoutUnit:Ljava/util/concurrent/TimeUnit;
3: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.jboss.resteasy.core.SynchronousExecutionContext.responseLock:Ljava/lang/Object;
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/jboss/resteasy/core/SynchronousExecutionContext;
0 5 1 dispatcher Lorg/jboss/resteasy/core/SynchronousDispatcher;
0 5 2 request Lorg/jboss/resteasy/spi/HttpRequest;
0 5 3 response Lorg/jboss/resteasy/spi/HttpResponse;
MethodParameters:
Name Flags
dispatcher
request
response
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend();
descriptor: ()Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc -1
invokevirtual org.jboss.resteasy.core.SynchronousExecutionContext.suspend:(J)Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/SynchronousExecutionContext;
Exceptions:
throws java.lang.IllegalStateException
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend(long);
descriptor: (J)Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.jboss.resteasy.core.SynchronousExecutionContext.suspend:(JLjava/util/concurrent/TimeUnit;)Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/SynchronousExecutionContext;
0 1 1 millis J
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
millis
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
iconst_1
putfield org.jboss.resteasy.core.SynchronousExecutionContext.wasSuspended:Z
1: aload 0
new org.jboss.resteasy.core.SynchronousExecutionContext$SynchronousAsynchronousResponse
dup
aload 0
aload 0
getfield org.jboss.resteasy.core.SynchronousExecutionContext.dispatcher:Lorg/jboss/resteasy/core/SynchronousDispatcher;
aload 0
getfield org.jboss.resteasy.core.SynchronousExecutionContext.request:Lorg/jboss/resteasy/spi/HttpRequest;
aload 0
getfield org.jboss.resteasy.core.SynchronousExecutionContext.response:Lorg/jboss/resteasy/spi/HttpResponse;
invokespecial org.jboss.resteasy.core.SynchronousExecutionContext$SynchronousAsynchronousResponse.<init>:(Lorg/jboss/resteasy/core/SynchronousExecutionContext;Lorg/jboss/resteasy/core/SynchronousDispatcher;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;)V
putfield org.jboss.resteasy.core.SynchronousExecutionContext.asynchronousResponse:Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
2: aload 0
getfield org.jboss.resteasy.core.SynchronousExecutionContext.asynchronousResponse:Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
lload 1
aload 3
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousResponse.setTimeout:(JLjava/util/concurrent/TimeUnit;)Z
pop
3: aload 0
getfield org.jboss.resteasy.core.SynchronousExecutionContext.asynchronousResponse:Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/SynchronousExecutionContext;
0 4 1 time J
0 4 3 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
time
unit
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse getAsyncResponse();
descriptor: ()Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.SynchronousExecutionContext.asynchronousResponse:Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/SynchronousExecutionContext;
public boolean isSuspended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.SynchronousExecutionContext.wasSuspended:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/SynchronousExecutionContext;
}
SourceFile: "SynchronousExecutionContext.java"
NestMembers:
org.jboss.resteasy.core.SynchronousExecutionContext$SynchronousAsynchronousResponse
InnerClasses:
protected SynchronousAsynchronousResponse = org.jboss.resteasy.core.SynchronousExecutionContext$SynchronousAsynchronousResponse of org.jboss.resteasy.core.SynchronousExecutionContext