Class RetriableCallResponse
java.lang.Object
com.amilesend.client.connection.retry.RetriableCallResponse
The response from the invocation of a
RetryStrategy.-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
isSuccess
public boolean isSuccess()Indicates if the response is successful or not.- Returns:
trueif successful; else,false
-
builder
-
getAttempts
public int getAttempts()The number of attempts that were made. -
getExceptions
-
getResponse
public okhttp3.Response getResponse()The response for the last successful invocation. -
equals
-
hashCode
-
toString
-