public static interface JaxRsClient.ErrorHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
JaxRsClient.ErrorHandler.Disposition |
| Modifier and Type | Method and Description |
|---|---|
JaxRsClient.ErrorHandler.Disposition |
handleError(JaxRsClient client,
URI ref,
javax.ws.rs.WebApplicationException e,
int failureCount)
Returns an indication of whether a request made to the specified URI which failed with
the specified exception should be retried or failed.
|
JaxRsClient.ErrorHandler.Disposition handleError(JaxRsClient client, URI ref, javax.ws.rs.WebApplicationException e, int failureCount)
client - the client on which the failing request was maderef - the URI used in the failing requeste - the exception raised when the request was madefailureCount - the number of times the request has failed (always >= 1)Copyright © 2019 VMware. All rights reserved.