private static class ServerRuntime.AsyncResponderHolder extends java.lang.Object implements Value<AsyncContext>
| Modifier and Type | Field and Description |
|---|---|
private ServerRuntime.AsyncResponder |
asyncResponder |
private ExternalRequestContext<?> |
externalContext |
private ExternalRequestScope |
externalScope |
private ServerRuntime.Responder |
responder |
private RequestScope.Instance |
scopeInstance |
| Modifier | Constructor and Description |
|---|---|
private |
AsyncResponderHolder(ServerRuntime.Responder responder,
ExternalRequestScope externalRequestScope,
RequestScope.Instance scopeInstance,
ExternalRequestContext<?> externalContext) |
| Modifier and Type | Method and Description |
|---|---|
AsyncContext |
get()
Get the stored value.
|
boolean |
isAsync() |
void |
release() |
private final ServerRuntime.Responder responder
private final ExternalRequestScope externalScope
private final RequestScope.Instance scopeInstance
private final ExternalRequestContext<?> externalContext
private volatile ServerRuntime.AsyncResponder asyncResponder
private AsyncResponderHolder(ServerRuntime.Responder responder, ExternalRequestScope externalRequestScope, RequestScope.Instance scopeInstance, ExternalRequestContext<?> externalContext)
public AsyncContext get()
Valueget in interface Value<AsyncContext>public boolean isAsync()
public void release()