Class GetServerErrorRetryStrategy

    • Constructor Detail

      • GetServerErrorRetryStrategy

        public GetServerErrorRetryStrategy()
    • Method Detail

      • retryAllowed

        public boolean retryAllowed​(String method,
                                    int statusCode,
                                    URI uri)
        Description copied from interface: RetryStrategy
        Method says if retry is allowed for given parameter combination.
        Specified by:
        retryAllowed in interface RetryStrategy
        Parameters:
        method - HTTP method
        statusCode - HTTP response code
        uri - requested URL
        Returns:
        true it retry is allowed