public class ClientHttpResponseStatusCodeException extends RetryableStatusCodeException
RetryableStatusCodeException that captures a ClientHttpResponse| Constructor and Description |
|---|
ClientHttpResponseStatusCodeException(String serviceId,
org.springframework.http.client.ClientHttpResponse response,
byte[] body)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.client.ClientHttpResponse |
getResponse() |
getUriaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ClientHttpResponseStatusCodeException(String serviceId, org.springframework.http.client.ClientHttpResponse response, byte[] body) throws IOException
serviceId - The service idresponse - The response objectIOException - Thrown if the ClientHttpResponse response code cant be retrievedpublic org.springframework.http.client.ClientHttpResponse getResponse()
getResponse in class RetryableStatusCodeExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.