Package org.citrusframework.http.client
Class HttpResponseErrorHandler
java.lang.Object
org.springframework.web.client.DefaultResponseErrorHandler
org.citrusframework.http.client.HttpResponseErrorHandler
- All Implemented Interfaces:
org.springframework.web.client.ResponseErrorHandler
public class HttpResponseErrorHandler
extends org.springframework.web.client.DefaultResponseErrorHandler
- Since:
- 2.7
-
Constructor Summary
ConstructorsConstructorDescriptionHttpResponseErrorHandler(ErrorHandlingStrategy errorHandlingStrategy) Default constructor using error handling strategy. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleError(org.springframework.http.client.ClientHttpResponse response, org.springframework.http.HttpStatusCode statusCode, URI url, org.springframework.http.HttpMethod method) Methods inherited from class org.springframework.web.client.DefaultResponseErrorHandler
getCharset, getResponseBody, handleError, handleError, hasError, hasError, hasError, initBodyConvertFunction
-
Constructor Details
-
HttpResponseErrorHandler
Default constructor using error handling strategy.
-
-
Method Details
-
handleError
protected void handleError(org.springframework.http.client.ClientHttpResponse response, org.springframework.http.HttpStatusCode statusCode, @Nullable URI url, @Nullable org.springframework.http.HttpMethod method) throws IOException - Overrides:
handleErrorin classorg.springframework.web.client.DefaultResponseErrorHandler- Throws:
IOException
-