public class HttpExecution
extends java.lang.Object
HttpExecutionContext
.Constructor and Description |
---|
HttpExecution() |
Modifier and Type | Method and Description |
---|---|
static scala.concurrent.ExecutionContextExecutor |
defaultContext()
Deprecated.
Since 2.6.0, use
HttpExecutionContext.current()
from an action, or use fromThread(ExecutionContext)
with a dependency injected ExecutionContext or ActorSystem directly. |
static scala.concurrent.ExecutionContextExecutor |
fromThread(scala.concurrent.ExecutionContext delegate)
An ExecutionContext that executes work on the given ExecutionContext.
|
static scala.concurrent.ExecutionContextExecutor |
fromThread(java.util.concurrent.Executor delegate)
An ExecutionContext that executes work on the given ExecutionContext.
|
public static scala.concurrent.ExecutionContextExecutor fromThread(scala.concurrent.ExecutionContext delegate)
delegate
- the delegate execution context.HttpExecutionContext
.public static scala.concurrent.ExecutionContextExecutor fromThread(java.util.concurrent.Executor delegate)
delegate
- the delegate execution context.HttpExecutionContext
.@Deprecated public static scala.concurrent.ExecutionContextExecutor defaultContext()
HttpExecutionContext.current()
from an action, or use fromThread(ExecutionContext)
with a dependency injected ExecutionContext or ActorSystem directly.