public class RetryContext extends Object
RetryContext contains data set to be used for next retry.| Constructor and Description |
|---|
RetryContext() |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getLastException() |
HttpProvider.HttpResponse |
getLastRetryResponse() |
int |
getRetryCount() |
void |
incrementRetryCount()
Increments the retryCount by 1.
|
void |
setLastException(Exception lastException) |
void |
setLastRetryResponse(HttpProvider.HttpResponse lastRetryResponse) |
public int getRetryCount()
public void incrementRetryCount()
public HttpProvider.HttpResponse getLastRetryResponse()
public void setLastRetryResponse(HttpProvider.HttpResponse lastRetryResponse)
public Exception getLastException()
public void setLastException(Exception lastException)
Copyright © 2020 HERE Europe B.V. All Rights Reserved.