org.codegist.crest.handler
Interface RetryHandler
- All Known Implementing Classes:
- MaxAttemptRetryHandler, RefreshAuthentificationRetryHandler
public interface RetryHandler
Retry handlers are used to control whether a method execution that has failed during the HTTP call should be re-executed or not
If implementor declares a constructor with a Map argument, it will be called with the user custom properties.
- Author:
- Laurent Gilles (laurent.gilles@codegist.org)
- See Also:
InterfaceContext.getProperties()
retry
boolean retry(ResponseContext response,
Exception exception,
int retryNumber)
Copyright © 2011. All Rights Reserved.