Package ubic.gemma.web.util.dwr
Class MockDwrResultHandlers
- java.lang.Object
-
- ubic.gemma.web.util.dwr.MockDwrResultHandlers
-
public class MockDwrResultHandlers extends Object
Handles DWR results.- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description MockDwrResultHandlers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DwrBatchHandlers
getBatch(int batchId)
static <T> DwrCallbackHandler<T>
getCallback(int callId, Consumer<T> doWithReply)
static <T> DwrCallbackHandler<T>
getCallback(Consumer<T> doWithReply)
static DwrExceptionHandler
getException(int callId, Consumer<DwrException> doWithException)
static DwrExceptionHandler
getException(Consumer<DwrException> doWithException)
-
-
-
Method Detail
-
getBatch
public static DwrBatchHandlers getBatch(int batchId)
-
getCallback
public static <T> DwrCallbackHandler<T> getCallback(int callId, Consumer<T> doWithReply)
-
getCallback
public static <T> DwrCallbackHandler<T> getCallback(Consumer<T> doWithReply)
-
getException
public static DwrExceptionHandler getException(int callId, Consumer<DwrException> doWithException)
-
getException
public static DwrExceptionHandler getException(Consumer<DwrException> doWithException)
-
-