public abstract class GatewayChallengeHandler extends BaseChallengeHandler<WLResponse> implements WLResponseListener
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TIMEOUT_IN_MILLISECONDS |
| Constructor and Description |
|---|
GatewayChallengeHandler(java.lang.String gatewayName)
Constructs an GatewayChallengeHandler with a specific 'gatewayName'.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canHandleResponse(WLResponse response)
This method must be overridden by extending the
GatewayChallengeHandler class. |
cancel, clearChallengeRequests, clearWaitingList, getHandlerName, handleChallenge, releaseWaitingList, startHandleChallengeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonFailure, onSuccesspublic GatewayChallengeHandler(java.lang.String gatewayName)
public abstract boolean canHandleResponse(WLResponse response)
GatewayChallengeHandler class. In most cases,
you call this method to test whether there is a gateway challenge to be handled in the response.
If the method returns true, the IBM MobileFirst Platform calls the BaseChallengeHandler.handleChallenge(Object) method.response - The response to be tested.