@ApplicationScoped public class WeldRequestScope extends Object implements ExternalRequestScope<Map<String,Object>>
| Constructor and Description |
|---|
WeldRequestScope() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Finish the actual request.
|
ExternalRequestContext<Map<String,Object>> |
open()
Invoked when a new request gets started.
|
void |
resume(ExternalRequestContext<Map<String,Object>> ctx)
Resume request associated with provided context.
|
void |
suspend(ExternalRequestContext<Map<String,Object>> ctx)
Suspend request associated with provided context.
|
public ExternalRequestContext<Map<String,Object>> open()
ExternalRequestScopeopen in interface ExternalRequestScope<Map<String,Object>>public void resume(ExternalRequestContext<Map<String,Object>> ctx)
ExternalRequestScoperesume in interface ExternalRequestScope<Map<String,Object>>ctx - external request contextpublic void suspend(ExternalRequestContext<Map<String,Object>> ctx)
ExternalRequestScopesuspend in interface ExternalRequestScope<Map<String,Object>>ctx - external request contextpublic void close()
ExternalRequestScopeclose in interface AutoCloseableclose in interface ExternalRequestScope<Map<String,Object>>Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.