Package io.javalin.http.util
Object AsyncUtil
-
- All Implemented Interfaces:
public class AsyncUtil
-
-
Method Summary
Modifier and Type Method Description final AsyncListener
newAsyncListener(Function1<AsyncEvent, Unit> onStartAsync, Function1<AsyncEvent, Unit> onError, Function1<AsyncEvent, Unit> onTimeout, Function1<AsyncEvent, Unit> onComplete)
final AsyncListener
newAsyncListener(Function1<AsyncEvent, Unit> onStartAsync, Function1<AsyncEvent, Unit> onError, Function1<AsyncEvent, Unit> onTimeout)
final AsyncListener
newAsyncListener(Function1<AsyncEvent, Unit> onStartAsync, Function1<AsyncEvent, Unit> onError)
final AsyncListener
newAsyncListener(Function1<AsyncEvent, Unit> onStartAsync)
final AsyncListener
newAsyncListener()
-
-
Method Detail
-
newAsyncListener
@JvmOverloads() final AsyncListener newAsyncListener(Function1<AsyncEvent, Unit> onStartAsync, Function1<AsyncEvent, Unit> onError, Function1<AsyncEvent, Unit> onTimeout, Function1<AsyncEvent, Unit> onComplete)
-
newAsyncListener
@JvmOverloads() final AsyncListener newAsyncListener(Function1<AsyncEvent, Unit> onStartAsync, Function1<AsyncEvent, Unit> onError, Function1<AsyncEvent, Unit> onTimeout)
-
newAsyncListener
@JvmOverloads() final AsyncListener newAsyncListener(Function1<AsyncEvent, Unit> onStartAsync, Function1<AsyncEvent, Unit> onError)
-
newAsyncListener
@JvmOverloads() final AsyncListener newAsyncListener(Function1<AsyncEvent, Unit> onStartAsync)
-
newAsyncListener
@JvmOverloads() final AsyncListener newAsyncListener()
-
-
-
-