Package com.consol.citrus.http.client
Class HttpResponseErrorHandler
- java.lang.Object
-
- org.springframework.web.client.DefaultResponseErrorHandler
-
- com.consol.citrus.http.client.HttpResponseErrorHandler
-
- All Implemented Interfaces:
org.springframework.web.client.ResponseErrorHandler
public class HttpResponseErrorHandler extends org.springframework.web.client.DefaultResponseErrorHandler- Since:
- 2.7
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description HttpResponseErrorHandler(com.consol.citrus.message.ErrorHandlingStrategy errorHandlingStrategy)Default constructor using error handling strategy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(org.springframework.http.client.ClientHttpResponse response)-
Methods inherited from class org.springframework.web.client.DefaultResponseErrorHandler
getCharset, getHttpStatusCode, getResponseBody, handleError, hasError, hasError, hasError
-
-
-
-
Method Detail
-
handleError
public void handleError(org.springframework.http.client.ClientHttpResponse response) throws IOException- Specified by:
handleErrorin interfaceorg.springframework.web.client.ResponseErrorHandler- Overrides:
handleErrorin classorg.springframework.web.client.DefaultResponseErrorHandler- Throws:
IOException
-
-