Class Action<T extends Action>

    • Constructor Detail

      • Action

        public Action()
    • Method Detail

      • withDelay

        public T withDelay​(Delay delay)
        The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
        Parameters:
        delay - a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
      • withDelay

        public T withDelay​(TimeUnit timeUnit,
                           long value)
        The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
        Parameters:
        timeUnit - a the time unit, for example TimeUnit.SECONDS
        value - a the number of time units to delay the response
      • getDelay

        public Delay getDelay()