Package 

Class RequestExecutionContext


  • 
    public final class RequestExecutionContext
    
                        

    Provides information about the request execution context such as the number of attempts made to execute the request in case of a retry or the response code of the previous request failure code.

    • Constructor Detail

      • RequestExecutionContext

        RequestExecutionContext(Integer attemptNumber, Integer previousResponseCode)
        Parameters:
        attemptNumber - the number of this attempt for a specific batch.
        previousResponseCode - the response code of the previous request failure code in case of a retry.