Class PollingWaitCallback
java.lang.Object
org.forgerock.openam.authentication.callbacks.PollingWaitCallback
- All Implemented Interfaces:
Callback
Class representative of a PollingWaitCallback Callback Object which instructs a client to wait for the given period
and then resubmit their request.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder object for the PollingWaitCallback. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Gets a new PollingWaitCallbackBuilder to use for construction of a PollingWaitCallback.Gets the message associated with this callback.Gets the wait time associated with this callback.
-
Method Details
-
getWaitTime
Gets the wait time associated with this callback.- Returns:
- the wait time in milliseconds to use as a 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.
-