T - polling and result typepublic abstract class SimplePollHandler<T> extends AbstractPollHandler<T,T>
A simple poll handler using same type for polling and result.
FutureResultpollClass, resultClass| Constructor and Description |
|---|
SimplePollHandler(String pollingUri,
Class pollAndResultClass)
Creates a new instance of polling handler
|
| Modifier and Type | Method and Description |
|---|---|
void |
handlePollResult(T pollResult)
Handle result of single polling request.
|
getPollingUri, setPollingUrigetPollClass, getResult, getResultClass, isDone, isFinished, onFinish, setResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlePollExceptionpublic void handlePollResult(T pollResult)
PollHandlerpollResult - result of polling requestCopyright © 2017. All Rights Reserved.