Class AtmosServerErrorRetryHandler

  • All Implemented Interfaces:
    org.jclouds.http.HttpRetryHandler

    public class AtmosServerErrorRetryHandler
    extends Object
    implements org.jclouds.http.HttpRetryHandler
    Handles Retryable responses with error codes in the 5xx range
    See Also:
    codes section at
    • Field Detail

      • logger

        protected org.jclouds.logging.Logger logger
    • Constructor Detail

      • AtmosServerErrorRetryHandler

        @Inject
        public AtmosServerErrorRetryHandler​(org.jclouds.http.handlers.BackoffLimitedRetryHandler backoffHandler,
                                            AtmosUtils utils)
    • Method Detail

      • shouldRetryRequest

        public boolean shouldRetryRequest​(org.jclouds.http.HttpCommand command,
                                          org.jclouds.http.HttpResponse response)
        Specified by:
        shouldRetryRequest in interface org.jclouds.http.HttpRetryHandler