|
||||||||||
上一个 下一个 | 框架 无框架 |
使用 F.Promise 的软件包 | |
---|---|
play.jobs | |
play.libs | |
play.libs.ws | |
play.mvc |
play.jobs 中 F.Promise 的使用 |
---|
返回 F.Promise 的 play.jobs 中的方法 | |
---|---|
F.Promise<V> |
Job.in(int seconds)
Start this job in several seconds |
F.Promise<V> |
Job.in(java.lang.String delay)
Start this job in several seconds |
F.Promise<V> |
Job.now()
Start this job now (well ASAP) |
play.libs 中 F.Promise 的使用 |
---|
play.libs 中 F.Promise 的子类 | |
---|---|
static class |
F.Timeout
|
返回 F.Promise 的 play.libs 中的方法 | ||
---|---|---|
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<java.util.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.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
|
F.Promise.wait2(F.Promise<A> tA,
F.Promise<B> tB)
|
|
static
|
F.Promise.wait3(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC)
|
|
static
|
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.waitAll(java.util.Collection<F.Promise<T>> promises)
|
|
static
|
F.Promise.waitAll(F.Promise<T>... promises)
|
|
static
|
F.Promise.waitAny(F.Promise<T>... futures)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
参数类型为 F.Promise 的 play.libs 中的方法 | ||
---|---|---|
static
|
F.Promise.wait2(F.Promise<A> tA,
F.Promise<B> tB)
|
|
static
|
F.Promise.wait2(F.Promise<A> tA,
F.Promise<B> tB)
|
|
static
|
F.Promise.wait3(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC)
|
|
static
|
F.Promise.wait3(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC)
|
|
static
|
F.Promise.wait3(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC)
|
|
static
|
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.wait4(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.wait5(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.waitAll(F.Promise<T>... promises)
|
|
static
|
F.Promise.waitAny(F.Promise<T>... futures)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
|
static
|
F.Promise.waitEither(F.Promise<A> tA,
F.Promise<B> tB,
F.Promise<C> tC,
F.Promise<D> tD,
F.Promise<E> tE)
|
类型变量类型为 F.Promise 的 play.libs 中的方法参数 | ||
---|---|---|
void |
F.Promise.onRedeem(F.Action<F.Promise<V>> callback)
|
|
static
|
F.Promise.waitAll(java.util.Collection<F.Promise<T>> promises)
|
play.libs.ws 中 F.Promise 的使用 |
---|
返回 F.Promise 的 play.libs.ws 中的方法 | |
---|---|
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.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. |
play.mvc 中 F.Promise 的使用 |
---|
返回 F.Promise 的 play.mvc 中的方法 | |
---|---|
F.Promise<Http.WebSocketEvent> |
Http.Inbound.nextEvent()
|
|
||||||||||
上一个 下一个 | 框架 无框架 |