Class AbstractPollHandler<P,​R>

    • Constructor Detail

      • AbstractPollHandler

        public AbstractPollHandler​(java.lang.String pollingUri,
                                   java.lang.Class<P> pollClass,
                                   java.lang.Class<R> resultClass)
        Creates a new instance of polling handler
        Parameters:
        pollingUri - URI for polling
        pollClass - class of the polling object (or Void)
        resultClass - class of the result (or Void)
    • Method Detail

      • getPollingUri

        public final java.lang.String getPollingUri()
        Description copied from interface: PollHandler
        Get URI used for polling.
        Returns:
        URI string
      • getPolling

        public final java.net.URI getPolling()
        Description copied from interface: PollHandler
        Get URI used for polling.
        Returns:
        URI string
      • setPollingUri

        protected void setPollingUri​(java.lang.String pollingUri)