P - polling typeR - result typepublic abstract class AbstractPollHandler<P,R> extends AbstractPollHandlerBase<P,R>
Implementing classes should override AbstractPollHandlerBase.isFinished(ClientHttpResponse) method and
may override AbstractPollHandlerBase.onFinish() and PollHandler.handlePollResult(Object) methods.
FutureResultpollClass, resultClass| Constructor and Description |
|---|
AbstractPollHandler(String pollingUri,
Class<P> pollClass,
Class<R> resultClass)
Creates a new instance of polling handler
|
| Modifier and Type | Method and Description |
|---|---|
URI |
getPolling()
Get URI used for polling.
|
String |
getPollingUri()
Get URI used for polling.
|
protected void |
setPollingUri(String pollingUri) |
getPollClass, getResult, getResultClass, isDone, isFinished, onFinish, setResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlePollException, handlePollResultpublic final String getPollingUri()
PollHandlerpublic final URI getPolling()
PollHandlerprotected void setPollingUri(String pollingUri)
Copyright © 2019. All rights reserved.