@Component @Beta public class RestTemplateResponseErrorHandler extends Object implements org.springframework.web.client.ResponseErrorHandler
Constructor and Description |
---|
RestTemplateResponseErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleError(org.springframework.http.client.ClientHttpResponse httpResponse) |
boolean |
hasError(org.springframework.http.client.ClientHttpResponse httpResponse) |
public boolean hasError(@Nonnull org.springframework.http.client.ClientHttpResponse httpResponse) throws IOException
hasError
in interface org.springframework.web.client.ResponseErrorHandler
httpResponse
- ClientHttpResponseIOException
- IOExceptionpublic void handleError(@Nonnull org.springframework.http.client.ClientHttpResponse httpResponse) throws IOException
handleError
in interface org.springframework.web.client.ResponseErrorHandler
httpResponse
- ClientHttpResponseIOException
- IOExceptionCopyright © 2021 SAP SE. All rights reserved.