Class PollingWaitCallback

java.lang.Object
org.forgerock.openam.authentication.callbacks.PollingWaitCallback
All Implemented Interfaces:
Callback

@Supported public final class PollingWaitCallback extends Object implements Callback
Class representative of a PollingWaitCallback Callback Object which instructs a client to wait for the given period and then resubmit their request.
  • Method Details

    • getWaitTime

      @Supported public String getWaitTime()
      Gets the wait time associated with this callback.
      Returns:
      the wait time in milliseconds to use as a String.
    • getMessage

      @Supported public String getMessage()
      Gets the message associated with this callback.
      Returns:
      the message to display.
    • builder

      Gets a new PollingWaitCallbackBuilder to use for construction of a PollingWaitCallback.
      Returns:
      a new PollingWaitCallbackBuilder.