Package | Description |
---|---|
play.jobs | |
play.libs | |
play.libs.ws | |
play.mvc |
Modifier and Type | Method and Description |
---|---|
F.Promise<V> |
Job.afterRequest()
If is called in a 'HttpRequest' invocation context, waits until request
is served and schedules job then.
|
F.Promise<V> |
Job.in(int seconds)
Start this job in several seconds
|
F.Promise<V> |
Job.in(String delay)
Start this job in several seconds
|
F.Promise<V> |
Job.now()
Start this job now (well ASAP)
|
Modifier and Type | Class and Description |
---|---|
static class |
F.Timeout |
Modifier and Type | Field and Description |
---|---|
protected List<F.Action<F.Promise<V>>> |
F.Promise.callbacks |
Modifier and Type | Method and Description |
---|---|
F.Promise<WS.HttpResponse> |
WS.WSRequest.deleteAsync()
Execute a DELETE request asynchronously.
|
F.Promise<WS.HttpResponse> |
WS.WSRequest.getAsync()
Execute a GET request asynchronously.
|
F.Promise<WS.HttpResponse> |
WS.WSRequest.headAsync()
Execute a HEAD request asynchronously.
|
F.Promise<T> |
F.EventStream.nextEvent() |
F.Promise<T> |
F.BlockingEventStream.nextEvent() |
F.Promise<List<F.IndexedEvent<T>>> |
F.ArchivedEventStream.nextEvents(long lastEventSeen) |
F.Promise<WS.HttpResponse> |
WS.WSRequest.optionsAsync()
Execute a OPTIONS request asynchronously.
|
F.Promise<WS.HttpResponse> |
WS.WSRequest.patchAsync()
Execute a PATCH request asynchronously.
|
F.Promise<WS.HttpResponse> |
WS.WSRequest.postAsync()
Execute a POST request asynchronously.
|
F.Promise<WS.HttpResponse> |
WS.WSRequest.putAsync()
Execute a PUT request asynchronously.
|
F.Promise<WS.HttpResponse> |
WS.WSRequest.traceAsync()
Execute a TRACE request asynchronously.
|
static <A,B> F.Promise<F.Tuple<A,B>> |
F.Promise.wait2(F.Promise<A> tA,
F.Promise<B> tB) |
static <A,B,C> F.Promise<F.T3<A,B,C>> |
F.Promise.wait3(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC) |
static <A,B,C,D> F.Promise<F.T4<A,B,C,D>> |
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D,E> |
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <T> F.Promise<List<T>> |
F.Promise.waitAll(Collection<F.Promise<T>> promises) |
static <T> F.Promise<List<T>> |
F.Promise.waitAll(F.Promise<T>... promises) |
static <T> F.Promise<T> |
F.Promise.waitAny(F.Promise<T>... futures) |
static <A,B> F.Promise<F.Either<A,B>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB) |
static <A,B,C> F.Promise<F.E3<A,B,C>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC) |
static <A,B,C,D> F.Promise<F.E4<A,B,C,D>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D,E> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
Modifier and Type | Method and Description |
---|---|
static <A,B> F.Promise<F.Tuple<A,B>> |
F.Promise.wait2(F.Promise<A> tA,
F.Promise<B> tB) |
static <A,B> F.Promise<F.Tuple<A,B>> |
F.Promise.wait2(F.Promise<A> tA,
F.Promise<B> tB) |
static <A,B,C> F.Promise<F.T3<A,B,C>> |
F.Promise.wait3(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC) |
static <A,B,C> F.Promise<F.T3<A,B,C>> |
F.Promise.wait3(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC) |
static <A,B,C> F.Promise<F.T3<A,B,C>> |
F.Promise.wait3(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC) |
static <A,B,C,D> F.Promise<F.T4<A,B,C,D>> |
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D> F.Promise<F.T4<A,B,C,D>> |
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D> F.Promise<F.T4<A,B,C,D>> |
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D> F.Promise<F.T4<A,B,C,D>> |
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D,E> |
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <A,B,C,D,E> |
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <A,B,C,D,E> |
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <A,B,C,D,E> |
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <A,B,C,D,E> |
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <T> F.Promise<List<T>> |
F.Promise.waitAll(F.Promise<T>... promises) |
static <T> F.Promise<T> |
F.Promise.waitAny(F.Promise<T>... futures) |
static <A,B> F.Promise<F.Either<A,B>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB) |
static <A,B> F.Promise<F.Either<A,B>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB) |
static <A,B,C> F.Promise<F.E3<A,B,C>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC) |
static <A,B,C> F.Promise<F.E3<A,B,C>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC) |
static <A,B,C> F.Promise<F.E3<A,B,C>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC) |
static <A,B,C,D> F.Promise<F.E4<A,B,C,D>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D> F.Promise<F.E4<A,B,C,D>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D> F.Promise<F.E4<A,B,C,D>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D> F.Promise<F.E4<A,B,C,D>> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD) |
static <A,B,C,D,E> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <A,B,C,D,E> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <A,B,C,D,E> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <A,B,C,D,E> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
static <A,B,C,D,E> |
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE) |
Modifier and Type | Method and Description |
---|---|
void |
F.Promise.onRedeem(F.Action<F.Promise<V>> callback) |
static <T> F.Promise<List<T>> |
F.Promise.waitAll(Collection<F.Promise<T>> promises) |
Modifier and Type | Method and Description |
---|---|
F.Promise<WS.HttpResponse> |
WSAsync.WSAsyncRequest.deleteAsync()
Execute a DELETE request asynchronously.
|
F.Promise<WS.HttpResponse> |
WSAsync.WSAsyncRequest.getAsync()
Execute a GET request asynchronously.
|
F.Promise<WS.HttpResponse> |
WSAsync.WSAsyncRequest.headAsync()
Execute a HEAD request asynchronously.
|
F.Promise<WS.HttpResponse> |
WSAsync.WSAsyncRequest.optionsAsync()
Execute a OPTIONS request asynchronously.
|
F.Promise<WS.HttpResponse> |
WSAsync.WSAsyncRequest.patchAsync()
Execute a PATCH request asynchronously.
|
F.Promise<WS.HttpResponse> |
WSAsync.WSAsyncRequest.postAsync()
Execute a POST request asynchronously.
|
F.Promise<WS.HttpResponse> |
WSAsync.WSAsyncRequest.putAsync()
Execute a PUT request asynchronously.
|
F.Promise<WS.HttpResponse> |
WSAsync.WSAsyncRequest.traceAsync()
Execute a TRACE request asynchronously.
|
Modifier and Type | Method and Description |
---|---|
F.Promise<Http.WebSocketEvent> |
Http.Inbound.nextEvent() |
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly